OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes
StateMachine Class Reference

#include <state_machine.hh>

Inherits QObject.

Public Member Functions

 StateMachine (QObject *parent)
 
void addState (State *state)
 
void setInitialState (State *state)
 
void start ()
 
bool isActive (State *state)
 
void setActive (State *state)
 
bool eventFilter (QObject *watched, QEvent *event)
 

Protected Attributes

Stateactive_state_
 

Detailed Description

Definition at line 33 of file state_machine.hh.

Constructor & Destructor Documentation

StateMachine ( QObject *  parent)

Member Function Documentation

void addState ( State state)
bool eventFilter ( QObject *  watched,
QEvent *  event 
)
bool isActive ( State state)
void setActive ( State state)
void setInitialState ( State state)
void start ( )

Field Documentation

State* active_state_
protected

Definition at line 44 of file state_machine.hh.


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