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

Interactor< T, EVENT, STATE > Class Template Reference

A convenience class that makes it easy for an object that has CallBack functions to generate the proper CallBack data structure. More...

#include <fsa.H>

Inheritance diagram for Interactor< T, EVENT, STATE >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef CallMeth_t< T, EVENT > _callb
typedef GuardMeth_t< T, EVENT > _guard

Public Member Functions

virtual ~Interactor ()
_callbCb (TYPENAME _callb::_method m)
_callbCb (TYPENAME _callb::_method m, State_t< EVENT > *s)
_guardGd (const EVENT &e, TYPENAME _guard::_method m)
STATE * entry ()
const STATE * entry () const

Protected Attributes

STATE _entry

Detailed Description

template<class T, class EVENT, class STATE>
class Interactor< T, EVENT, STATE >

A convenience class that makes it easy for an object that has CallBack functions to generate the proper CallBack data structure.

Todo:
Try to remove use of TYPENAME macro if possible.

Definition at line 384 of file fsa.H.


Member Typedef Documentation

template<class T, class EVENT, class STATE>
typedef CallMeth_t<T,EVENT> Interactor< T, EVENT, STATE >::_callb
 

Definition at line 388 of file fsa.H.

template<class T, class EVENT, class STATE>
typedef GuardMeth_t<T,EVENT> Interactor< T, EVENT, STATE >::_guard
 

Definition at line 389 of file fsa.H.


Constructor & Destructor Documentation

template<class T, class EVENT, class STATE>
virtual Interactor< T, EVENT, STATE >::~Interactor  )  [inline, virtual]
 

Definition at line 391 of file fsa.H.


Member Function Documentation

template<class T, class EVENT, class STATE>
_callb* Interactor< T, EVENT, STATE >::Cb TYPENAME _callb::_method  m,
State_t< EVENT > *  s
[inline]
 

Definition at line 396 of file fsa.H.

template<class T, class EVENT, class STATE>
_callb* Interactor< T, EVENT, STATE >::Cb TYPENAME _callb::_method  m  )  [inline]
 

Definition at line 393 of file fsa.H.

template<class T, class EVENT, class STATE>
const STATE* Interactor< T, EVENT, STATE >::entry  )  const [inline]
 

Definition at line 403 of file fsa.H.

template<class T, class EVENT, class STATE>
STATE* Interactor< T, EVENT, STATE >::entry  )  [inline]
 

Definition at line 402 of file fsa.H.

Referenced by BaseJOTapp::cam_switch(), and BaseJOTapp::init_cam_manip().

template<class T, class EVENT, class STATE>
_guard* Interactor< T, EVENT, STATE >::Gd const EVENT &  e,
TYPENAME _guard::_method  m
[inline]
 

Definition at line 399 of file fsa.H.


Member Data Documentation

template<class T, class EVENT, class STATE>
STATE Interactor< T, EVENT, STATE >::_entry [protected]
 

Definition at line 407 of file fsa.H.

Referenced by Interactor< KeyMenu, Event, State >::entry().


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