27.18.2 PolicyFactoryのメソッド
-
virtual CORBA::Policy_ptr create_policy(
CORBA::ULong _type, const CORBA::Any& _value) = 0;
登録済みPolicyFactoryのPolicyTypeにCORBA::ORB::create_policy()が呼び出されると,ORBは,登録済みPolicyFactoryインスタンスのcreate_policy()を呼び出します。create_policy()メソッドは,次に,指定したCORBA::Anyに対応する値を持つCORBA::Policyから派生したインタフェースのインスタンスを返します。失敗した場合は,CORBA::ORB::create_policy()で示す例外が発生します。
-
_type
作成するポリシーの型を指定しているCORBA::PolicyType
-
_value
CORBA::Policyを構成するためのデータを格納しているCORBA::Any
-