IDLコンパイラがヘッダファイルにインプリメンテーションおよびインタフェースのリポジトリIDを出力します。
例
// IDL module mod1 { interface intf1 { ... }; }; // *.h #define _IMPL_mod1_intf1 "IDL:mod1/intf1:1.0" #define _INTF_mod1_intf1 "IDL:mod1/intf1:1.0"
(1) インプリメンテーションの登録/活性化
OD_impl_instコマンドにより、上記インプリメンテーションリポジトリIDで登録します。
OD_impl_inst -a -r IDL:mod1/intf1:1.0 ...
サーバプログラムで上記インプリメンテーションリポジトリIDの活性化を行います。
impl = FJ_ImplementationRep_lookup_id( impl_rep, _IMPL_mod1_intf1, &env ); CORBA_BOA_impl_is_ready(boa, impl, &env );