virtual void setActivity(ActivityInterface *task)
Set the task this interface is run in.
A class for running a certain piece of code in a thread.
virtual bool isActive() const =0
Query if the activity is started.
virtual ~ActivityInterface()
virtual bool run(RunnableInterface *r)
Run exclusively this RunnableInterface.
RunnableInterface * runner
Base classes of RTT classes.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
virtual RunnableInterface * getRunner() const
Returns a pointer to the RunnableInterface instance.