Public Member Functions | Protected Attributes

State Class Reference

#include <State.h>

Inherited by ManagedState, and RunnableState.

List of all members.

Public Member Functions

 State ()
 ~State ()
virtual void OnEnter (const FSM *caller, bool loadResources)
virtual void OnLeave (const FSM *caller, bool unloadResources)
virtual void FSMAddRef (const FSM *caller)
virtual void FSMRemoveRef (const FSM *caller)
unsigned FSMRefCount (void) const

Protected Attributes

unsigned fsmRefCount

Detailed Description

Definition at line 9 of file State.h.


Constructor & Destructor Documentation

State::State (  ) 

Definition at line 6 of file State.cpp.

State::~State (  ) 

Definition at line 10 of file State.cpp.


Member Function Documentation

void State::FSMAddRef ( const FSM caller  )  [virtual]

Definition at line 22 of file State.cpp.

unsigned State::FSMRefCount ( void   )  const

Definition at line 31 of file State.cpp.

void State::FSMRemoveRef ( const FSM caller  )  [virtual]

Reimplemented in ManagedState.

Definition at line 26 of file State.cpp.

void State::OnEnter ( const FSM caller,
bool  loadResources 
) [virtual]

Definition at line 14 of file State.cpp.

void State::OnLeave ( const FSM caller,
bool  unloadResources 
) [virtual]

Definition at line 18 of file State.cpp.


Member Data Documentation

unsigned State::fsmRefCount [protected]

Definition at line 27 of file State.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines