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

#include <state.hh>

Signals

void entered ()
void exited ()

Public Member Functions

 State ()
void addTransition (SignalTransition *transition)
void addTransition (MouseEventTransition *transition)
void addTransition (KeyEventTransition *transition)
void addTransition (AutomaticTransition *transition)
bool isActive ()
void setActive ()
bool checkEvent (QKeyEvent *event)
bool checkEvent (QMouseEvent *event)
bool checkAutomaticTransitions ()
virtual void onEntry ()
virtual void onExit ()

Protected Attributes

QList< MouseEventTransition * > mouse_event_transitions_
QList< KeyEventTransition * > key_event_transitions_
QList< AutomaticTransition * > automatic_transitions_

Detailed Description

Definition at line 19 of file state.hh.


Constructor & Destructor Documentation

State ( )

Member Function Documentation

void addTransition ( SignalTransition transition)
void addTransition ( MouseEventTransition transition)
void addTransition ( KeyEventTransition transition)
void addTransition ( AutomaticTransition transition)
bool checkAutomaticTransitions ( )
bool checkEvent ( QKeyEvent *  event)
bool checkEvent ( QMouseEvent *  event)
void entered ( )
signal
void exited ( )
signal
bool isActive ( )
virtual void onEntry ( )
virtual
virtual void onExit ( )
virtual
void setActive ( )

Field Documentation

QList<AutomaticTransition*> automatic_transitions_
protected

Definition at line 40 of file state.hh.

QList<KeyEventTransition*> key_event_transitions_
protected

Definition at line 39 of file state.hh.

QList<MouseEventTransition*> mouse_event_transitions_
protected

Definition at line 38 of file state.hh.


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