OpenHRPExecutionContext.cpp
Go to the documentation of this file.
1 // -*- C++ -*-
2 
4 #include <rtm/ECFactory.h>
5 
6 namespace RTC
7 {
17  {
18  }
19 
28  {
29  }
30 
39  throw (CORBA::SystemException)
40  {
41  std::for_each(m_comps.begin(), m_comps.end(), invoke_worker());
42  return;
43  }
44 
53  {
54  return 0;
55  }
56 };
57 
58 
59 extern "C"
60 {
69  {
70  manager->registerECFactory("SynchExtTriggerEC",
71  RTC::ECCreate<RTC::OpenHRPExecutionContext>,
72  RTC::ECDelete<RTC::OpenHRPExecutionContext>);
73 
74  }
75 };
RT-Component.
std::vector< Comp > m_comps
List of the participating component.
Manager class.
Definition: Manager.h:80
virtual ~OpenHRPExecutionContext(void)
Destructor.
void OpenHRPExecutionContextInit(RTC::Manager *manager)
Initialization function to register to ECFactory.
Execution context for OpenHRP3.
bool registerECFactory(const char *name, ECNewFunc new_func, ECDeleteFunc delete_func)
Register ExecutionContext Factory.
Definition: Manager.cpp:474
ExecutionContext Factory class.
virtual void tick(void)
Proceed with tick of ExecutionContext.
virtual int svc(void)
The thread running flag of ExecutionContext.
Functor for_each(CorbaSequence &seq, Functor f)
Apply the functor to all CORBA sequence elements.
Definition: CORBA_SeqUtil.h:98


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:53