TaskFunc template class. More...
#include <PeriodicTaskBase.h>
Public Member Functions | |
virtual int | operator() () |
Functor. | |
TaskFunc (T *obj, F func) | |
Constructor. | |
virtual | ~TaskFunc () |
Destructor. | |
Public Attributes | |
F | m_func |
function | |
T * | m_obj |
object |
TaskFunc template class.
Definition at line 94 of file PeriodicTaskBase.h.
coil::TaskFunc< T, F >::TaskFunc | ( | T * | obj, |
F | func | ||
) | [inline] |
Constructor.
Constructor
obj | Object. |
func | Function. |
Definition at line 119 of file PeriodicTaskBase.h.
virtual coil::TaskFunc< T, F >::~TaskFunc | ( | ) | [inline, virtual] |
virtual int coil::TaskFunc< T, F >::operator() | ( | ) | [inline, virtual] |
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.