Pyrogenesis
13997
|
An association of event, condition, action and next state. More...
#include <fsm.h>
Public Member Functions | |
CFsmTransition (unsigned int state) | |
~CFsmTransition (void) | |
void | RegisterAction (void *pAction, void *pContext) |
void | RegisterCondition (void *pCondition, void *pContext) |
void | SetEvent (CFsmEvent *pEvent) |
CFsmEvent * | GetEvent (void) const |
void | SetNextState (unsigned int nextState) |
unsigned int | GetNextState (void) const |
unsigned int | GetCurrState (void) const |
const CallbackList & | GetActions (void) const |
const CallbackList & | GetConditions (void) const |
bool | ApplyConditions (void) const |
bool | RunActions (void) const |
Private Member Functions | |
NONCOPYABLE (CFsmTransition) | |
Private Attributes | |
unsigned int | m_CurrState |
unsigned int | m_NextState |
CFsmEvent * | m_Event |
CallbackList | m_Actions |
CallbackList | m_Conditions |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
void CFsmTransition::RegisterAction | ( | void * | pAction, |
void * | pContext | ||
) |
void CFsmTransition::RegisterCondition | ( | void * | pCondition, |
void * | pContext | ||
) |
|
private |
|
private |