TaskFunc template class. More...
#include <PeriodicTaskBase.h>
Public Member Functions | |
virtual int | operator() () |
Functor. More... | |
TaskFunc (T *obj, F func) | |
Constructor. More... | |
virtual | ~TaskFunc () |
Destructor. More... | |
Public Member Functions inherited from coil::TaskFuncBase | |
virtual | ~TaskFuncBase () |
Destructor. More... | |
Public Attributes | |
F | m_func |
function More... | |
T * | m_obj |
object More... | |
TaskFunc template class.
Definition at line 94 of file PeriodicTaskBase.h.
|
inline |
Constructor.
Constructor
obj | Object. |
func | Function. |
Definition at line 119 of file PeriodicTaskBase.h.
|
inlinevirtual |
|
inlinevirtual |
Functor.
Execute a function of the object.
Implements coil::TaskFuncBase.
Definition at line 156 of file PeriodicTaskBase.h.
F coil::TaskFunc< T, F >::m_func |
function
Definition at line 177 of file PeriodicTaskBase.h.
T* coil::TaskFunc< T, F >::m_obj |
object
Definition at line 168 of file PeriodicTaskBase.h.