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

CallFunc_t< EVENT > Class Template Reference

A subclass of a CallBack that contains a function to call. More...

#include <fsa.H>

Inheritance diagram for CallFunc_t< EVENT >:

Inheritance graph
[legend]
Collaboration diagram for CallFunc_t< EVENT >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef int(* _functor )(const EVENT &, State_t< EVENT > *&)

Public Member Functions

 CallFunc_t (_functor f)
 CallFunc_t (_functor f, State_t< EVENT > *n)
int exec (const EVENT &e, State_t< EVENT > *&s, State_t< EVENT > *start)
const State_t< EVENT > * next () const

Protected Attributes

_functor _func
State_t< EVENT > * _next

Detailed Description

template<class EVENT>
class CallFunc_t< EVENT >

A subclass of a CallBack that contains a function to call.

Definition at line 129 of file fsa.H.


Member Typedef Documentation

template<class EVENT>
typedef int(* CallFunc_t< EVENT >::_functor)(const EVENT &, State_t< EVENT > *&)
 

Definition at line 133 of file fsa.H.


Constructor & Destructor Documentation

template<class EVENT>
CallFunc_t< EVENT >::CallFunc_t _functor  f  )  [inline]
 

Definition at line 135 of file fsa.H.

template<class EVENT>
CallFunc_t< EVENT >::CallFunc_t _functor  f,
State_t< EVENT > *  n
[inline]
 

Definition at line 137 of file fsa.H.


Member Function Documentation

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

Implements CallBack_t< EVENT >.

Definition at line 140 of file fsa.H.

References CallFunc_t< EVENT >::_func, and CallBack_t< EVENT >::_next.

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 EVENT>
_functor CallFunc_t< EVENT >::_func [protected]
 

Definition at line 147 of file fsa.H.

Referenced by CallFunc_t< EVENT >::exec().

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().


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