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>
404 ObjectTypeVar tmpref = x.
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