25 #include <linux/art_task.h> 33 m_priority(ART_PRIO_MAX-1)
53 if (art_enter(
m_priority, ART_TASK_PERIODIC, usec) == -1)
55 std::cerr <<
"fatal error: art_enter" << std::endl;
63 std::cerr <<
"fatal error: art_wait " << std::endl;
69 std::cerr <<
"fatal error: art_exit" << std::endl;
81 RTC::ECCreate<RTC::ArtExecutionContext>,
82 RTC::ECDelete<RTC::ArtExecutionContext>);
long int sec() const
Get value of second time scale.
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.
virtual int svc(void)
Thread execution function for ExecutionContext.
long int usec() const
Get value of micro second time scale.
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.