25 #include <linux/art_task.h> 33 m_priority(ART_PRIO_MAX-1)
52 if (art_enter(
m_priority, ART_TASK_PERIODIC, usec) == -1)
54 std::cerr <<
"fatal error: art_enter" << std::endl;
61 std::cerr <<
"fatal error: art_wait " << std::endl;
67 std::cerr <<
"fatal error: art_exit" << std::endl;
79 RTC::ECCreate<RTC::ArtExecutionContext>,
80 RTC::ECDelete<RTC::ArtExecutionContext>);
std::vector< Comp > m_comps
List of the participating component.
void ArtExecutionContextInit(RTC::Manager *manager)
void setName(const char *name)
Set suffix of date/time string of header.
Functor to invoke worker.
static Manager & instance()
Get instance of the manager.
void getProperty(coil::Properties &prop, const char *key, T &value)
virtual ~ArtExecutionContext()
#define RTC_DEBUG(fmt)
Debug level log output macro.
ArtExecutionContext class.
bool registerECFactory(const char *name, ECNewFunc new_func, ECDeleteFunc delete_func)
Register ExecutionContext Factory.
prop
Organization::get_organization_property ();.
Class represents a set of properties.
Logger rtclog
Logger stream.
ExecutionContext Factory class.
long int sec() const
Get value of second time scale.
long int usec() const
Get value of micro second time scale.
virtual int svc(void)
Thread execution function for ExecutionContext.
bool m_running
The running state of ExecutionContext true: running, false: stopped.
coil::TimeValue m_period
Execution cycle of ExecutionContext.
Functor for_each(CorbaSequence &seq, Functor f)
Apply the functor to all CORBA sequence elements.