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

TransitionInfo Class Reference

Base class for all kind of transition conditions. More...

#include <TransitionInfo.h>

Inheritance diagram for TransitionInfo::

TransitionInfoASCII TransitionInfoBin List of all members.

Public Methods

 TransitionInfo ()
 Constructor.

virtual ~TransitionInfo ()
 Destructor.

virtual TransitionInfo * clone ()=0
 Produces an exact copy of this transition info and returns a pointer to it.

IOInfogetInputInfo ()
 Returns the inputs.

IOInfogetOutputInfo ()
 Returns the outputs.

virtual QString getInputsStr ()=0
 Returns a string representing the inputs.

virtual QString getOutputsStr ()=0
 Returns a string representing the outputs.

virtual QString getInputsStrBin ()
 Returns a binary string representing the inputs.

virtual QString getOutputsStrBin ()
 Returns a binary string representing the outputs.

virtual QString getInputsStrHex ()
 Returns a hexadecimal string representing the inputs.

virtual QString getOutputsStrHex ()
 Returns a hexadecimal string representing the outputs.

virtual QString getInputsStrASCII ()
 Returns an ASCII string representing the inputs.

virtual QString getOutputsStrASCII ()
 Returns an ASCII string representing the outputs.

virtual void setInputs (QString, int numin=-1)=0
 Sets the inputs.

virtual void setOutputs (QString, int numout=-1)=0
 Sets the outputs.

int getType ()
 Returns the type of the transition (Binary, ASCII).

void setType (int t)
 Sets the type of the transition (Binary, ASCII).

virtual void setInputsSize (int bits)=0
 Sets the input size (in bits).

virtual void setOutputsSize (int bits)=0
 Sets the output size (in bits).

virtual bool matches (IOInfo *io)=0
 Returns TRUE if io matches this transition info, otherwise FALSE.

bool intersection (TransitionInfo *)
 Returns TRUE if this transition info has common input values with ti.


Protected Attributes

IOInfoinputs
 Inputs.

IOInfooutputs
 Outputs.

int type
 Type of the transition. 0: Binary / 1: ASCII.


Detailed Description

Base class for all kind of transition conditions.


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