Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs
fsm.h File Reference
#include <vector>
#include <set>
#include <map>

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
< CallbackFunction
CallbackList
 

Macro Definition Documentation

#define FSM_INVALID_STATE   ( unsigned int )( ~0 )

Definition at line 27 of file fsm.h.

Typedef Documentation

typedef bool( * ACTION)(void *pContext, const CFsmEvent *pEvent)

Definition at line 34 of file fsm.h.

typedef std::vector< CallbackFunction > CallbackList

Definition at line 46 of file fsm.h.

typedef bool( * CONDITION)(void *pContext)

Definition at line 33 of file fsm.h.

typedef std::map< unsigned int, CFsmEvent* > EventMap

Definition at line 44 of file fsm.h.

typedef std::set< unsigned int > StateSet

Definition at line 43 of file fsm.h.

typedef std::vector< CFsmTransition* > TransitionList

Definition at line 45 of file fsm.h.