ScummVM API documentation
MediaStation::StateMachine< StateType, EventType > Class Template Referenceabstract

Public Member Functions

void queueEvent (EventType event)
 
void runIfNotNested ()
 
void executeForever ()
 

Protected Member Functions

virtual void executeNextState (EventType eventType)=0
 
void warnOnInvalidTransition (EventType eventType)
 

Protected Attributes

StateType _currentState = StateType()
 
Common::Queue< EventType > _events
 
bool _handlingEvents = false
 

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