PeriodicTaskBase class. More...
#include <PeriodicTaskBase.h>
Public Member Functions | |
virtual void | activate ()=0 |
Starting the task. | |
virtual void | executionMeasure (bool value)=0 |
Validate a Task execute time measurement. | |
virtual void | executionMeasureCount (int n)=0 |
Task execute time measurement period. | |
virtual void | finalize ()=0 |
Finalizing the task. | |
virtual coil::TimeMeasure::Statistics | getExecStat ()=0 |
Get a result in task execute time measurement. | |
virtual coil::TimeMeasure::Statistics | getPeriodStat ()=0 |
Get a result in task period time measurement. | |
virtual void | periodicMeasure (bool value)=0 |
Validate a Task period time measurement. | |
virtual void | periodicMeasureCount (int n)=0 |
Task period time measurement count. | |
virtual int | resume (void)=0 |
Resuming the suspended task. | |
virtual void | setPeriod (double period)=0 |
Setting task execution period. | |
virtual void | setPeriod (coil::TimeValue &period)=0 |
Setting task execution period. | |
virtual bool | setTask (TaskFuncBase *func, bool delete_in_dtor=true)=0 |
Setting task execution function. | |
template<class O , class F > | |
bool | setTask (O *obj, F fun) |
Setting task execution function. | |
virtual void | signal ()=0 |
Executing the suspended task one tick. | |
virtual int | suspend (void)=0 |
Suspending the task. | |
virtual | ~PeriodicTaskBase () |
Destructor. |
PeriodicTaskBase class.
Definition at line 193 of file PeriodicTaskBase.h.
virtual coil::PeriodicTaskBase::~PeriodicTaskBase | ( | ) | [inline, virtual] |
virtual void coil::PeriodicTaskBase::activate | ( | ) | [pure virtual] |
Starting the task.
Pure virtual function for starting the task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::executionMeasure | ( | bool | value | ) | [pure virtual] |
Validate a Task execute time measurement.
Pure virtual function for validate a Task execute time measurement.
value | flag(true: Valid, false: Invalid). |
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::executionMeasureCount | ( | int | n | ) | [pure virtual] |
Task execute time measurement period.
Pure virtual function for task execute time measurement period.
n | Measurement period. |
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::finalize | ( | ) | [pure virtual] |
Finalizing the task.
Pure virtual function for finalizing the task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.
virtual coil::TimeMeasure::Statistics coil::PeriodicTaskBase::getExecStat | ( | ) | [pure virtual] |
Get a result in task execute time measurement.
Pure virtual function for get a result in task execute time measurement.
Implemented in coil::PeriodicTask.
virtual coil::TimeMeasure::Statistics coil::PeriodicTaskBase::getPeriodStat | ( | ) | [pure virtual] |
Get a result in task period time measurement.
Pure virtual function for get a result in task period time measurement.
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::periodicMeasure | ( | bool | value | ) | [pure virtual] |
Validate a Task period time measurement.
Pure virtual function for validate a Task period time measurement.
value | flag(true: Valid, false: Invalid). |
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::periodicMeasureCount | ( | int | n | ) | [pure virtual] |
Task period time measurement count.
Pure virtual function for task period time measurement count.
n | Measurement period. |
Implemented in coil::PeriodicTask.
virtual int coil::PeriodicTaskBase::resume | ( | void | ) | [pure virtual] |
Resuming the suspended task.
Pure virtual function for resuming the suspended task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::setPeriod | ( | double | period | ) | [pure virtual] |
Setting task execution period.
Pure virtual function for setting task execution period.
period | Execution period. |
Implemented in coil::PeriodicTask.
virtual void coil::PeriodicTaskBase::setPeriod | ( | coil::TimeValue & | period | ) | [pure virtual] |
Setting task execution period.
Pure virtual function for setting task execution period.
period | Execution period. |
Implemented in coil::PeriodicTask.
virtual bool coil::PeriodicTaskBase::setTask | ( | TaskFuncBase * | func, |
bool | delete_in_dtor = true |
||
) | [pure virtual] |
Setting task execution function.
Pure virtual function for setting task execution function.
func | Function. |
delete_in_dtor | Delete flag. |
Implemented in coil::PeriodicTask.
bool coil::PeriodicTaskBase::setTask | ( | O * | obj, |
F | fun | ||
) | [inline] |
Setting task execution function.
Pure virtual function for setting task execution function.
obj | Object. |
fun | Function. |
Reimplemented in coil::PeriodicTask.
Definition at line 348 of file PeriodicTaskBase.h.
virtual void coil::PeriodicTaskBase::signal | ( | ) | [pure virtual] |
Executing the suspended task one tick.
Pure virtual function for executing the suspended task one tick.
Implemented in coil::PeriodicTask.
virtual int coil::PeriodicTaskBase::suspend | ( | void | ) | [pure virtual] |
Suspending the task.
Pure virtual function for suspending the task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.