00001
00019 #ifndef ExecutionContextBase_h
00020 #define 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
00088 virtual RTC::ReturnCode_t bindComponent(RTObject_impl* rtc) = 0;
00089 virtual RTC::ExecutionContextService_ptr getObjRef() = 0;
00090 };
00091 };
00092
00093 #ifdef WIN32
00094 #pragma warning( default : 4290 )
00095 #endif
00096
00097 #endif // ExecutionContextBase_h