00001
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef CorbaObjectManager_h
00031 #define CorbaObjectManager_h
00032
00033 #include <rtm/RTC.h>
00034 #include <rtm/RTObject.h>
00035
00036 namespace RTC
00037 {
00047 class CorbaObjectManager
00048 {
00049 public:
00057 CorbaObjectManager(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
00058
00059
00067 virtual ~CorbaObjectManager() {};
00068
00069
00077 void activate(RTObject_impl* comp);
00078
00079
00087 void deactivate(RTObject_impl* comp);
00088
00089 private:
00090 CORBA::ORB_var m_pORB;
00091 PortableServer::POA_var m_pPOA;
00092 };
00093 };
00094
00095 #endif // CoabrObjectManager
00096
00097