Public Member Functions | Public Attributes | List of all members
coil::TaskFunc< T, F > Class Template Reference

TaskFunc template class. More...

#include <PeriodicTaskBase.h>

Inheritance diagram for coil::TaskFunc< T, F >:
Inheritance graph
[legend]

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

m_func
 function More...
 
T * m_obj
 object More...
 

Detailed Description

template<typename T, typename F = int (*)()>
class coil::TaskFunc< T, F >

TaskFunc template class.

Definition at line 94 of file PeriodicTaskBase.h.

Constructor & Destructor Documentation

template<typename T , typename F = int (*)()>
coil::TaskFunc< T, F >::TaskFunc ( T *  obj,
func 
)
inline

Constructor.

Constructor

Parameters
objObject.
funcFunction.

Definition at line 119 of file PeriodicTaskBase.h.

template<typename T , typename F = int (*)()>
virtual coil::TaskFunc< T, F >::~TaskFunc ( )
inlinevirtual

Destructor.

Destructor

Definition at line 139 of file PeriodicTaskBase.h.

Member Function Documentation

template<typename T , typename F = int (*)()>
virtual int coil::TaskFunc< T, F >::operator() ( )
inlinevirtual

Functor.

Execute a function of the object.

Implements coil::TaskFuncBase.

Definition at line 156 of file PeriodicTaskBase.h.

Member Data Documentation

template<typename T , typename F = int (*)()>
F coil::TaskFunc< T, F >::m_func

function

Definition at line 177 of file PeriodicTaskBase.h.

template<typename T , typename F = int (*)()>
T* coil::TaskFunc< T, F >::m_obj

object

Definition at line 168 of file PeriodicTaskBase.h.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:02