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

TaskFunc template class. More...

#include <PeriodicTaskBase.h>

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

List of all members.

Public Member Functions

virtual int operator() ()
 Functor.
 TaskFunc (T *obj, F func)
 Constructor.
virtual ~TaskFunc ()
 Destructor.

Public Attributes

m_func
 function
T * m_obj
 object

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 ( ) [inline, virtual]

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() ( ) [inline, virtual]

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 Sun Mar 26 2017 03:37:18