20 #ifndef RTC_CORBACONSUMER_H 21 #define RTC_CORBACONSUMER_H 29 #pragma warning( disable : 4267 ) 30 #pragma warning( disable : 4290 ) 31 #pragma warning( disable : 4311 ) 32 #pragma warning( disable : 4312 ) 34 #include <omniORB4/CORBA.h> 36 #pragma warning( default : 4267 ) 37 #pragma warning( default : 4290 ) 38 #pragma warning( default : 4311 ) 39 #pragma warning( default : 4312 ) 46 #include <orbitcpp/orb-cpp/orbitcpp.h> 52 #include <tao/corba.h> 173 CORBA::Object_var tmpref = x.
m_objref;
223 if (CORBA::is_nil(obj))
227 m_objref = CORBA::Object::_duplicate(obj);
335 template <
class ObjectType,
336 typename ObjectTypePtr =
typename ObjectType::_ptr_type,
337 typename ObjectTypeVar =
typename ObjectType::_var_type>
371 : m_var(ObjectType::_duplicate(x.m_var))
404 ObjectTypeVar tmpref = x.
m_var;
405 x.
m_var = this->m_var;
406 this->m_var = tmpref;
462 ObjectTypeVar var = ObjectType::_narrow(
m_objref);
464 if (CORBA::is_nil(var))
500 return m_var.inout();
529 return m_var.inout();
552 m_var = ObjectType::_nil();
566 #endif // RTC_CORBACONSUMER_H ObjectTypeVar m_var
設定された CORBA オブジェクト
Definition: CorbaConsumer.h:563
virtual void releaseObject()
CORBAオブジェクトの設定をクリアする
Definition: CorbaConsumer.h:549
CorbaConsumerBase & operator=(const CorbaConsumerBase &x)
代入演算子
Definition: CorbaConsumer.h:149
virtual bool setObject(CORBA::Object_ptr obj)
CORBAオブジェクトをセットする
Definition: CorbaConsumer.h:221
オブジェクトリファレンスを保持するプレースホルダ基底クラス
Definition: CorbaConsumer.h:94
virtual void releaseObject()
CORBAオブジェクトの設定をクリアする
Definition: CorbaConsumer.h:276
オブジェクトリファレンスを保持するプレースホルダテンプレートクラス
Definition: CorbaConsumer.h:338
CorbaConsumer & operator=(const CorbaConsumer &x)
代入演算子
Definition: CorbaConsumer.h:394
CORBA::Object_var m_objref
設定された CORBA オブジェクト
Definition: CorbaConsumer.h:289
void swap(CorbaConsumer &x)
Definition: CorbaConsumer.h:401
CorbaConsumerBase(const CorbaConsumerBase &x)
コピーコンストラクタ
Definition: CorbaConsumer.h:125
virtual bool setObject(CORBA::Object_ptr obj)
オブジェクトをセットする
Definition: CorbaConsumer.h:454
virtual ~CorbaConsumerBase(void)
仮想デストラクタ
Definition: CorbaConsumer.h:189
ObjectTypePtr _ptr()
ObjectType 型のオブジェクトのリファレンスを取得
Definition: CorbaConsumer.h:498
ObjectTypePtr operator->()
ObjectType 型のオブジェクトのリファレンスを取得
Definition: CorbaConsumer.h:527
CorbaConsumerBase()
コンストラクタ
Definition: CorbaConsumer.h:108
CorbaConsumer()
コンストラクタ
Definition: CorbaConsumer.h:353
virtual ~CorbaConsumer(void)
仮想デストラクタ
Definition: CorbaConsumer.h:421
CorbaConsumer(const CorbaConsumer &x)
コピーコンストラクタ
Definition: CorbaConsumer.h:370
void swap(CorbaConsumerBase &x)
swap関数
Definition: CorbaConsumer.h:171
virtual CORBA::Object_ptr getObject()
CORBAオブジェクトを取得する
Definition: CorbaConsumer.h:254