00001 // -*- C++ -*- 00020 #ifndef CorbaObjectManager_h 00021 #define CorbaObjectManager_h 00022 00023 #include <rtm/RTC.h> 00024 #include <rtm/RTObject.h> 00025 00040 namespace RTC 00041 { 00064 class CorbaObjectManager 00065 { 00066 public: 00084 CorbaObjectManager(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa); 00085 00097 virtual ~CorbaObjectManager() {}; 00098 00118 void activate(RTObject_impl* comp); 00119 00137 void deactivate(RTObject_impl* comp); 00138 00139 private: 00140 CORBA::ORB_var m_pORB; 00141 PortableServer::POA_var m_pPOA; 00142 }; 00143 }; // namespace RTC 00144 00145 #endif // CoabrObjectManager