#include <llstatemachine.h>
Collaboration diagram for LLStateMachine:

| Public Member Functions | |
| LLStateMachine () | |
| virtual | ~LLStateMachine () | 
| void | setStateDiagram (LLStateDiagram *diagram) | 
| void | processTransition (LLFSMTransition &transition, void *user_data) | 
| LLFSMState * | getCurrentState () const | 
| void | runCurrentState (void *data) | 
| BOOL | setCurrentState (LLFSMState *initial_state, void *user_data, BOOL skip_entry=TRUE) | 
| BOOL | setCurrentState (U32 state_id, void *user_data, BOOL skip_entry=TRUE) | 
| Protected Attributes | |
| LLFSMState * | mCurrentState | 
| LLFSMState * | mLastState | 
| LLFSMTransition * | mLastTransition | 
| LLStateDiagram * | mStateDiagram | 
Definition at line 122 of file llstatemachine.h.
| LLStateMachine::LLStateMachine | ( | ) | 
Definition at line 302 of file llstatemachine.cpp.
References mCurrentState, mLastState, mStateDiagram, and NULL.
| LLStateMachine::~LLStateMachine | ( | ) |  [virtual] | 
Definition at line 310 of file llstatemachine.cpp.
| LLFSMState * LLStateMachine::getCurrentState | ( | ) | const | 
| void LLStateMachine::processTransition | ( | LLFSMTransition & | transition, | |
| void * | user_data | |||
| ) | 
Definition at line 364 of file llstatemachine.cpp.
References LLFSMTransition::getName(), LLFSMState::getName(), llassert, llendl, llinfos, llwarns, mCurrentState, mLastState, mLastTransition, mStateDiagram, NULL, LLFSMState::onEntry(), LLFSMState::onExit(), and LLStateDiagram::processTransition().
Definition at line 322 of file llstatemachine.cpp.
References LLFSMState::execute(), and mCurrentState.
Definition at line 345 of file llstatemachine.cpp.
References FALSE, LLStateDiagram::getState(), llassert, mCurrentState, mLastState, mStateDiagram, LLFSMState::onEntry(), and TRUE.
| BOOL LLStateMachine::setCurrentState | ( | LLFSMState * | initial_state, | |
| void * | user_data, | |||
| BOOL | skip_entry = TRUE | |||
| ) | 
Definition at line 328 of file llstatemachine.cpp.
References FALSE, llassert, mCurrentState, mLastState, mStateDiagram, LLFSMState::onEntry(), LLStateDiagram::stateIsValid(), and TRUE.
| void LLStateMachine::setStateDiagram | ( | LLStateDiagram * | diagram | ) | 
| LLFSMState* LLStateMachine::mCurrentState  [protected] | 
Definition at line 125 of file llstatemachine.h.
Referenced by getCurrentState(), LLStateMachine(), processTransition(), runCurrentState(), and setCurrentState().
| LLFSMState* LLStateMachine::mLastState  [protected] | 
Definition at line 126 of file llstatemachine.h.
Referenced by LLStateMachine(), processTransition(), and setCurrentState().
| LLFSMTransition* LLStateMachine::mLastTransition  [protected] | 
| LLStateDiagram* LLStateMachine::mStateDiagram  [protected] | 
Definition at line 128 of file llstatemachine.h.
Referenced by LLStateMachine(), processTransition(), setCurrentState(), and setStateDiagram().
 1.4.7
 1.4.7