50 RTT::corba::CConnPolicy corba_policy;
51 corba_policy.type = RTT::corba::CConnectionModel(policy.
type);
52 corba_policy.size = policy.
size;
53 corba_policy.lock_policy = RTT::corba::CLockPolicy(policy.
lock_policy);
54 corba_policy.init = policy.
init;
55 corba_policy.pull = policy.
pull;
56 corba_policy.buffer_policy = RTT::corba::CBufferPolicy(policy.
buffer_policy);
58 corba_policy.mandatory = policy.
mandatory;
59 corba_policy.data_size = policy.
data_size;
60 corba_policy.transport = policy.
transport;
61 corba_policy.name_id = CORBA::string_dup( policy.
name_id.c_str() );
68 policy.
type = corba_policy.type;
69 policy.
size = corba_policy.size;
71 policy.
init = corba_policy.init;
72 policy.
pull = corba_policy.pull;
75 policy.
mandatory = corba_policy.mandatory;
76 policy.
data_size = corba_policy.data_size;
77 policy.
transport = corba_policy.transport;
78 policy.
name_id = corba_policy.name_id;
RTT::ConnPolicy toRTT(RTT::corba::CConnPolicy const &corba_policy)
RTT::corba::CConnPolicy toCORBA(RTT::ConnPolicy const &policy)