Public Member Functions | Private Attributes
ListenerObject< ListenerClass, CallbackFunc > Class Template Reference

ListenerObject class. More...

#include <Listener.h>

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

List of all members.

Public Member Functions

virtual void invoke ()
 Callback.
 ListenerObject (ListenerClass *obj, CallbackFunc cbf)
 Constructor.
virtual ~ListenerObject ()
 Destructor.

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

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

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 Sat Jun 8 2019 18:49:10