Pyrogenesis  trunk
Classes | Macros | Typedefs
fsm.h File Reference
#include <vector>
#include <set>
#include <map>
Include dependency graph for fsm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CallbackFunction
 
class  CFsmEvent
 Represents a signal in the state machine that a change has occurred. More...
 
class  CFsmTransition
 An association of event, condition, action and next state. More...
 
class  CFsm
 Manages states, events, actions and transitions between states. More...
 

Macros

#define FSM_INVALID_STATE   ( unsigned int )( ~0 )
 

Typedefs

typedef bool(* CONDITION) (void *pContext)
 
typedef bool(* ACTION) (void *pContext, const CFsmEvent *pEvent)
 
typedef std::set< unsigned int > StateSet
 
typedef std::map< unsigned int, CFsmEvent * > EventMap
 
typedef std::vector< CFsmTransition * > TransitionList
 
typedef std::vector< CallbackFunctionCallbackList
 

Macro Definition Documentation

#define FSM_INVALID_STATE   ( unsigned int )( ~0 )

Typedef Documentation

typedef bool( * ACTION) (void *pContext, const CFsmEvent *pEvent)
typedef std::vector< CallbackFunction > CallbackList
typedef bool( * CONDITION) (void *pContext)
typedef std::map< unsigned int, CFsmEvent* > EventMap
typedef std::set< unsigned int > StateSet
typedef std::vector< CFsmTransition* > TransitionList