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 );