Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CallMeth_t< T, EVENT > Class Template Reference

A subclass of a CallBack that contains an object and one if its methods to call. More...

#include <fsa.H>

Inheritance diagram for CallMeth_t< T, EVENT >:

Inheritance graph
[legend]
Collaboration diagram for CallMeth_t< T, EVENT >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef int(T::* _method )(const EVENT &, State_t< EVENT > *&)

Public Member Functions

 CallMeth_t (T *obj, _method meth)
 CallMeth_t (T *obj, _method meth, State_t< EVENT > *n)
int exec (const EVENT &e, State_t< EVENT > *&s, State_t< EVENT > *start)
int equals (_method meth)
_method get_method ()
const State_t< EVENT > * next () const

Protected Attributes

T * _obj
_method _meth
State_t< EVENT > * _next

Detailed Description

template<class T, class EVENT>
class CallMeth_t< T, EVENT >

A subclass of a CallBack that contains an object and one if its methods to call.

Definition at line 158 of file fsa.H.


Member Typedef Documentation

template<class T, class EVENT>
typedef int(T::* CallMeth_t< T, EVENT >::_method)(const EVENT &, State_t< EVENT > *&)
 

Definition at line 162 of file fsa.H.


Constructor & Destructor Documentation

template<class T, class EVENT>
CallMeth_t< T, EVENT >::CallMeth_t T *  obj,
_method  meth
[inline]
 

Definition at line 164 of file fsa.H.

template<class T, class EVENT>
CallMeth_t< T, EVENT >::CallMeth_t T *  obj,
_method  meth,
State_t< EVENT > *  n
[inline]
 

Definition at line 165 of file fsa.H.


Member Function Documentation

template<class T, class EVENT>
int CallMeth_t< T, EVENT >::equals _method  meth  )  [inline]
 

Definition at line 177 of file fsa.H.

References CallMeth_t< T, EVENT >::_meth.

template<class T, class EVENT>
int CallMeth_t< T, EVENT >::exec const EVENT &  e,
State_t< EVENT > *&  s,
State_t< EVENT > *  start
[inline, virtual]
 

Implements CallBack_t< EVENT >.

Definition at line 168 of file fsa.H.

References CallMeth_t< T, EVENT >::_meth, CallBack_t< EVENT >::_next, and CallMeth_t< T, EVENT >::_obj.

template<class T, class EVENT>
_method CallMeth_t< T, EVENT >::get_method  )  [inline]
 

Definition at line 178 of file fsa.H.

References CallMeth_t< T, EVENT >::_meth.

template<class EVENT>
const State_t<EVENT>* CallBack_t< EVENT >::next  )  const [inline, inherited]
 

Definition at line 116 of file fsa.H.

References CallBack_t< EVENT >::_next.


Member Data Documentation

template<class T, class EVENT>
_method CallMeth_t< T, EVENT >::_meth [protected]
 

Definition at line 183 of file fsa.H.

Referenced by CallMeth_t< T, EVENT >::equals(), CallMeth_t< T, EVENT >::exec(), and CallMeth_t< T, EVENT >::get_method().

template<class EVENT>
State_t<EVENT>* CallBack_t< EVENT >::_next [protected, inherited]
 

Definition at line 120 of file fsa.H.

Referenced by CallMeth_t< T, EVENT >::exec(), CallFunc_t< EVENT >::exec(), and CallBack_t< EVENT >::next().

template<class T, class EVENT>
T* CallMeth_t< T, EVENT >::_obj [protected]
 

Definition at line 182 of file fsa.H.

Referenced by CallMeth_t< T, EVENT >::exec().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:44:42 2006 for jot by  doxygen 1.4.4