2 #if (!defined(OPENRTM_VERSION042) && !defined(OPENRTM_VERSION110)) || defined(OPENRTM_VERSION_TRUNK) 14 OpenRTM::ExtTrigExecutionContextService_var extTrigExecContext =
15 OpenRTM::ExtTrigExecutionContextService::_narrow(this->
getObjRef());
24 #if (defined(OPENRTM_VERSION042) || defined(OPENRTM_VERSION110)) && !defined(OPENRTM_VERSION_TRUNK) 25 if (!
m_running)
return RTC::PRECONDITION_NOT_MET;
27 OpenRTM::ExtTrigExecutionContextService_var extTrigExecContext =
28 OpenRTM::ExtTrigExecutionContextService::_narrow(this->
getObjRef());
29 m_cg->unsubscribe(extTrigExecContext);
35 std::for_each(
m_comps.begin(),
m_comps.end(), invoke_on_shutdown());
38 #ifdef OPENRTM_VERSION_042 48 OpenRTM::ExtTrigExecutionContextService_var extTrigExecContext =
49 OpenRTM::ExtTrigExecutionContextService::_narrow(this->
getObjRef());
50 m_cg->unsubscribe(extTrigExecContext);
65 CORBA::Object_ptr
obj = cn.
resolve(
"ClockGenerator");
68 #if defined(OPENRTM_VERSION042) || defined(OPENRTM_VERSION110) 70 RTC::ECCreate<RTC::SimulationExecutionContext>,
71 RTC::ECDelete<RTC::OpenHRPExecutionContext>);
73 RTC::ExecutionContextFactory::
74 instance().addFactory(
"SimulationEC",
82 std::cerr <<
"SimultationExecutionContext: can not find ClockGenerator"
virtual ExecutionContextService_ptr getObjRef(void)
std::vector< Comp > m_comps
AbstractClass * Creator()
RTC::ReturnCode_t ret(RTC::Local::ReturnCode_t r)
CORBA::Object_ptr resolve(const CosNaming::Name &name)
static OpenHRP::ClockGenerator_var m_cg
virtual ReturnCode_t start()
void SimulationECInit(RTC::Manager *manager)
coil::Properties & getConfig()
CosNaming::NamingContext::NotFound NotFound
virtual ReturnCode_t start(void)
virtual ReturnCode_t stop()
bool registerECFactory(const char *name, ECNewFunc new_func, ECDeleteFunc delete_func)
virtual ReturnCode_t stop(void)
void Destructor(AbstractClass *&obj)
virtual CORBA::Double get_rate(void)