LLStateMachine Class Reference

#include <llstatemachine.h>

Collaboration diagram for LLStateMachine:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLStateMachine ()
virtual ~LLStateMachine ()
void setStateDiagram (LLStateDiagram *diagram)
void processTransition (LLFSMTransition &transition, void *user_data)
LLFSMStategetCurrentState () 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

LLFSMStatemCurrentState
LLFSMStatemLastState
LLFSMTransitionmLastTransition
LLStateDiagrammStateDiagram


Detailed Description

Definition at line 121 of file llstatemachine.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void LLStateMachine::setStateDiagram ( LLStateDiagram diagram  ) 

Definition at line 398 of file llstatemachine.cpp.

References mStateDiagram.

void LLStateMachine::processTransition ( LLFSMTransition transition,
void *  user_data 
)

LLFSMState * LLStateMachine::getCurrentState (  )  const

Definition at line 316 of file llstatemachine.cpp.

References mCurrentState.

void LLStateMachine::runCurrentState ( void *  data  ) 

Definition at line 322 of file llstatemachine.cpp.

References LLFSMState::execute(), and mCurrentState.

Here is the call graph for this function:

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.

Here is the call graph for this function:

BOOL LLStateMachine::setCurrentState ( U32  state_id,
void *  user_data,
BOOL  skip_entry = TRUE 
)

Definition at line 345 of file llstatemachine.cpp.

References FALSE, LLStateDiagram::getState(), llassert, mCurrentState, mLastState, mStateDiagram, LLFSMState::onEntry(), and TRUE.

Here is the call graph for this function:


Member Data Documentation

Definition at line 125 of file llstatemachine.h.

Referenced by LLStateMachine(), processTransition(), and setCurrentState().

Definition at line 126 of file llstatemachine.h.

Referenced by processTransition().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:07:26 2008 for SecondLife by  doxygen 1.5.5