40 #include "../ExecutionEngine.hpp" 41 #include "../base/TaskCore.hpp" 42 #include "../Logger.hpp" 47 using namespace extras;
56 :
Activity(scheduler, priority, 0.0, _r, name)
68 #ifndef OROPKG_OS_XENOMAI 75 #include <sys/select.h> 98 if (snprintf(name, 20,
"IRQActivity%d",
m_irq) >= 20)
127 if (rt_intr_wait(&
m_handle, TM_INFINITE) > 0)
157 #endif // OS is xenomai
A class for running a certain piece of code in a thread.
static std::ostream & endl(std::ostream &__os)
base::TaskCore * getParent()
An Activity executes a RunnableInterface object in a (periodic) thread.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.