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

GuardMeth_t< T, EVENT > Class Template Reference

Test EVENTs with a given method on an object. More...

#include <fsa.H>

Inheritance diagram for GuardMeth_t< T, EVENT >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef bool(T::* _method )(const EVENT &)

Public Member Functions

 GuardMeth_t (const EVENT &e, T *o, _method m)
virtual int exec (const EVENT &e)
virtual int none () const
const EVENT & event () const

Private Attributes

T * _obj
_method _meth

Detailed Description

template<class T, class EVENT>
class GuardMeth_t< T, EVENT >

Test EVENTs with a given method on an object.

Definition at line 74 of file fsa.H.


Member Typedef Documentation

template<class T, class EVENT>
typedef bool(T::* GuardMeth_t< T, EVENT >::_method)(const EVENT &)
 

Definition at line 78 of file fsa.H.


Constructor & Destructor Documentation

template<class T, class EVENT>
GuardMeth_t< T, EVENT >::GuardMeth_t const EVENT &  e,
T *  o,
_method  m
[inline]
 

Definition at line 80 of file fsa.H.


Member Function Documentation

template<class EVENT>
const EVENT& Guard_t< EVENT >::event  )  const [inline, inherited]
 

Definition at line 38 of file fsa.H.

template<class T, class EVENT>
virtual int GuardMeth_t< T, EVENT >::exec const EVENT &  e  )  [inline, virtual]
 

Reimplemented from Guard_t< EVENT >.

Definition at line 83 of file fsa.H.

References GuardMeth_t< T, EVENT >::_meth, GuardMeth_t< T, EVENT >::_obj, and Guard_t< EVENT >::exec().

template<class T, class EVENT>
virtual int GuardMeth_t< T, EVENT >::none  )  const [inline, virtual]
 

Reimplemented from Guard_t< EVENT >.

Definition at line 86 of file fsa.H.


Member Data Documentation

template<class T, class EVENT>
_method GuardMeth_t< T, EVENT >::_meth [private]
 

Definition at line 91 of file fsa.H.

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

template<class T, class EVENT>
T* GuardMeth_t< T, EVENT >::_obj [private]
 

Definition at line 90 of file fsa.H.

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


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