Public Member Functions | Private Attributes | List of all members
ListenerObject< ListenerClass, CallbackFunc > Class Template Reference

ListenerObject class. More...

#include <Listener.h>

Inheritance diagram for ListenerObject< ListenerClass, CallbackFunc >:
Inheritance graph
[legend]

Public Member Functions

virtual void invoke ()
 Callback. More...
 
 ListenerObject (ListenerClass *obj, CallbackFunc cbf)
 Constructor. More...
 
virtual ~ListenerObject ()
 Destructor. More...
 
- Public Member Functions inherited from ListenerBase
virtual ~ListenerBase ()
 Destructor. More...
 

Private Attributes

CallbackFunc m_cbf
 
ListenerClass * m_obj
 

Detailed Description

template<class ListenerClass, class CallbackFunc = void (ListenerClass::*)()>
class ListenerObject< ListenerClass, CallbackFunc >

ListenerObject class.

This is a base class for Listener that registers to the timer

Since
0.4.0

Definition at line 98 of file Listener.h.

Constructor & Destructor Documentation

template<class ListenerClass, class CallbackFunc = void (ListenerClass::*)()>
ListenerObject< ListenerClass, CallbackFunc >::ListenerObject ( ListenerClass *  obj,
CallbackFunc  cbf 
)
inline

Constructor.

Constructor

Parameters
objListener Object
cbfCallback Function

Definition at line 121 of file Listener.h.

template<class ListenerClass, class CallbackFunc = void (ListenerClass::*)()>
virtual ListenerObject< ListenerClass, CallbackFunc >::~ListenerObject ( )
inlinevirtual

Destructor.

Destructor

Definition at line 139 of file Listener.h.

Member Function Documentation

template<class ListenerClass, class CallbackFunc = void (ListenerClass::*)()>
virtual void ListenerObject< ListenerClass, CallbackFunc >::invoke ( )
inlinevirtual

Callback.

Callback function

Implements ListenerBase.

Definition at line 156 of file Listener.h.

Member Data Documentation

template<class ListenerClass, class CallbackFunc = void (ListenerClass::*)()>
CallbackFunc ListenerObject< ListenerClass, CallbackFunc >::m_cbf
private

Definition at line 163 of file Listener.h.

template<class ListenerClass, class CallbackFunc = void (ListenerClass::*)()>
ListenerClass* ListenerObject< ListenerClass, CallbackFunc >::m_obj
private

Definition at line 162 of file Listener.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:59