Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

FSM::SOnMoveFunctor< SState, SEvent > Class Template Reference

Predefined strategy for the template which bounds functions to states. Strategy supposes both entry and exit functions calls. More...

#include <fsm.h>

List of all members.

Public Member Functions

void operator() (SState &From, const SEvent &Event, SState &To)
 Calls OnExit(...) function of the From state first and then OnEnter(...) function of the To state.


Detailed Description

template<typename SState, typename SEvent>
class FSM::SOnMoveFunctor< SState, SEvent >

Predefined strategy for the template which bounds functions to states. Strategy supposes both entry and exit functions calls.

Parameters:
SState User defined state type
SEvent User defined event type

Definition at line 247 of file fsm.h.


Member Function Documentation

template<typename SState, typename SEvent>
void FSM::SOnMoveFunctor< SState, SEvent >::operator() SState &  From,
const SEvent &  Event,
SState &  To
[inline]
 

Calls OnExit(...) function of the From state first and then OnEnter(...) function of the To state.

Parameters:
From A state we move from
Event An event which was a transition reason
To A state we move to.

Definition at line 256 of file fsm.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 15 21:35:19 2005 for Finite State Machine C++ Templates by  doxygen 1.4.4