OpenRTM
1.0.0
|
00001 // -*- C++ -*- 00019 #ifndef RTC_EXECUTIONCONTEXTBASE_H 00020 #define RTC_EXECUTIONCONTEXTBASE_H 00021 00022 #include <rtm/idl/RTCSkel.h> 00023 #include <rtm/idl/OpenRTMSkel.h> 00024 #include <rtm/Factory.h> 00025 00026 #ifdef WIN32 00027 #pragma warning( disable : 4290 ) 00028 #endif 00029 00030 namespace RTC 00031 { 00051 class ExecutionContextBase 00052 : public virtual POA_OpenRTM::ExtTrigExecutionContextService, 00053 public virtual PortableServer::RefCountServantBase 00054 { 00055 public: 00069 virtual ~ExecutionContextBase(void){}; 00070 00084 virtual void tick() 00085 throw (CORBA::SystemException) 00086 {}; 00087 00101 virtual RTC::ReturnCode_t bindComponent(RTObject_impl* rtc) = 0; 00102 00116 virtual RTC::ExecutionContextService_ptr getObjRef() = 0; 00117 }; // class ExecutionContextBase 00118 }; // namespace RTC 00119 00120 #ifdef WIN32 00121 #pragma warning( default : 4290 ) 00122 #endif 00123 00124 #endif // RTC_EXECUTIONCONTEXTBASE_H