PeriodicTaskBase class. More...
#include <PeriodicTaskBase.h>
Public Member Functions | |
virtual void | activate ()=0 |
Starting the task. More... | |
virtual void | executionMeasure (bool value)=0 |
Validate a Task execute time measurement. More... | |
virtual void | executionMeasureCount (int n)=0 |
Task execute time measurement period. More... | |
virtual void | finalize ()=0 |
Finalizing the task. More... | |
virtual coil::TimeMeasure::Statistics | getExecStat ()=0 |
Get a result in task execute time measurement. More... | |
virtual coil::TimeMeasure::Statistics | getPeriodStat ()=0 |
Get a result in task period time measurement. More... | |
virtual void | periodicMeasure (bool value)=0 |
Validate a Task period time measurement. More... | |
virtual void | periodicMeasureCount (int n)=0 |
Task period time measurement count. More... | |
virtual int | resume (void)=0 |
Resuming the suspended task. More... | |
virtual void | setPeriod (double period)=0 |
Setting task execution period. More... | |
virtual void | setPeriod (coil::TimeValue &period)=0 |
Setting task execution period. More... | |
virtual bool | setTask (TaskFuncBase *func, bool delete_in_dtor=true)=0 |
Setting task execution function. More... | |
template<class O , class F > | |
bool | setTask (O *obj, F fun) |
Setting task execution function. More... | |
virtual void | signal ()=0 |
Executing the suspended task one tick. More... | |
virtual int | suspend (void)=0 |
Suspending the task. More... | |
virtual | ~PeriodicTaskBase () |
Destructor. More... | |
Public Member Functions inherited from coil::Task | |
virtual int | close (unsigned long flags=0) |
Task close. More... | |
virtual int | close (unsigned long flags=0) |
Task close. More... | |
virtual int | open (void *args=0) |
Task open. More... | |
virtual int | open (void *args=0) |
Task open. More... | |
virtual void | reset () |
Reset of task count. More... | |
virtual void | reset () |
Reset of task count. More... | |
virtual int | svc () |
Execute thread. More... | |
virtual int | svc () |
Execute thread. More... | |
Task () | |
Constructor. More... | |
Task () | |
Constructor. More... | |
virtual int | wait (void) |
Waiting for the thread terminate. More... | |
virtual int | wait (void) |
Waiting for the thread terminate. More... | |
virtual | ~Task () |
Destructor. More... | |
virtual | ~Task () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from coil::Task | |
static void * | svc_run (void *args=0) |
Start thread Execution. More... | |
static unsigned int WINAPI | svc_run (void *args=0) |
Start thread Execution. More... | |
PeriodicTaskBase class.
Definition at line 193 of file PeriodicTaskBase.h.
|
inlinevirtual |
|
pure virtual |
Starting the task.
Pure virtual function for starting the task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.
|
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.
|
pure virtual |
Task execute time measurement period.
Pure virtual function for task execute time measurement period.
n | Measurement period. |
Implemented in coil::PeriodicTask.
|
pure virtual |
Finalizing the task.
Pure virtual function for finalizing the task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.
|
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.
|
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.
|
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.
|
pure virtual |
Task period time measurement count.
Pure virtual function for task period time measurement count.
n | Measurement period. |
Implemented in coil::PeriodicTask.
|
pure virtual |
Resuming the suspended task.
Pure virtual function for resuming the suspended task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.
|
pure virtual |
Setting task execution period.
Pure virtual function for setting task execution period.
period | Execution period. |
Implemented in coil::PeriodicTask.
|
pure virtual |
Setting task execution period.
Pure virtual function for setting task execution period.
period | Execution period. |
Implemented in coil::PeriodicTask.
|
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.
|
inline |
Setting task execution function.
Pure virtual function for setting task execution function.
obj | Object. |
fun | Function. |
Definition at line 348 of file PeriodicTaskBase.h.
|
pure virtual |
Executing the suspended task one tick.
Pure virtual function for executing the suspended task one tick.
Implemented in coil::PeriodicTask.
|
pure virtual |
Suspending the task.
Pure virtual function for suspending the task.
Reimplemented from coil::Task.
Implemented in coil::PeriodicTask.