39 #ifndef ORO_ACTIVITY_HPP 40 #define ORO_ACTIVITY_HPP 124 Activity(
int scheduler,
int priority,
160 Activity(
int scheduler,
int priority,
Seconds period,
unsigned cpu_affinity,
168 virtual bool start();
170 virtual bool execute();
172 virtual bool trigger();
174 virtual bool timeout();
178 virtual bool isRunning()
const;
180 virtual bool isActive()
const;
182 virtual bool isPeriodic()
const;
184 virtual Seconds getPeriod()
const;
186 virtual bool setPeriod(
Seconds period);
188 virtual unsigned getCpuAffinity()
const;
190 virtual bool setCpuAffinity(
unsigned cpu);
192 void setWaitPeriodPolicy(
int p);
199 virtual bool initialize();
216 virtual bool breakLoop();
221 virtual void finalize();
double update_period
The period at which the Activity steps().
double Seconds
Seconds are stored as a double precision float.
A Thread object executes user code in its own thread.
A class for running a certain piece of code in a thread.
An object oriented wrapper around a condition variable.
A thread which is being run.
Interface to start/stop and query a Activity.
An Activity executes a RunnableInterface object in a (periodic) thread.
An object oriented wrapper around a non recursive mutex.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
bool mtimeout
When set to true, a next cycle will be a TimeOut cycle.