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

TransitionManager Class Reference

Control class for transitions. More...

#include <TransitionManager.h>

List of all members.

Public Methods

 TransitionManager (MainWindow *)
 Constructor.

 ~TransitionManager ()
 Destructor.

bool addTransition (GState *, GState *, int, int, double, double, double, double, double, double, double, double)
 Adds a new transition to the current machine. More...

void straightenSelection (QList< GTransition > *)
 Straightens the currently selected transitions. More...

void editTransition (Machine *, GTransition *)
 Edit a transition. More...


Private Attributes

MainWindowmain
 Pointer to the main window.

TransitionPropertiesDlgImpltrans_props
 Transition properties dialog.


Detailed Description

Control class for transitions.


Member Function Documentation

bool TransitionManager::addTransition GState * from,
GState * to,
int numin,
int numout,
double sx,
double sy,
double ex,
double ey,
double c1x,
double c1y,
double c2x,
double c2y
 

Adds a new transition to the current machine.

Parameters:
from   starting state
to   end state
numin   number of input bits
numout   number of output bits
sx   x coordinate of starting point
sy   y coordinate of starting point
ex   x coordinate of end point
ey   y coordinate of end point
c1x   x coordinate of first control point
c1y   y coordinate of first control point
c2x   x coordinate of second control point
c2y   y coordinate of second control point

void TransitionManager::editTransition Machine * m,
GTransition * t
 

Edit a transition.

Parameters:
m   machine containing the transition
t   transition to edit

void TransitionManager::straightenSelection QList< GTransition > * l
 

Straightens the currently selected transitions.

Parameters:
l   list of the selected transitions.


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