Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

StateManager Class Reference

Control class for states. More...

#include <StateManager.h>

Inheritance diagram for StateManager::

List of all members.

Public Methods

 StateManager (MainWindow *)
 Constructor.

bool addState (double, double)
 Adds a state at position x, y.

void setInitialState (Machine *, GState *)
 Sets the state s in machine m as initial state.

void setEndStates (Machine *, const QList< GState > &sl)
 Sets the state s in machine m as end state.

void editState (GState *)
 Edit the properties of state s.

QString getNewName ()
 Generates a name for a new state.

QString getNewBinCode ()
 Generates a binary code for a new state.

int getNewCode ()
 Generates a decimal code for a new state.


Private Attributes

MainWindowmain
 Pointer to the main window.

StatePropertiesDlgImplstate_props
 State properties dialog.


Detailed Description

Control class for states.


The documentation for this class was generated from the following files:
Generated at Fri Apr 11 22:37:17 2003 for Qfsm by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001