FSMSADF::FSMtransition Class Reference

#include <fsm.h>

Inheritance diagram for FSMSADF::FSMtransition:
Collaboration diagram for FSMSADF::FSMtransition:

List of all members.

Public Member Functions

 FSMtransition (GraphComponent c)
 ~FSMtransition ()
FSMtransitioncreate (GraphComponent c) const
FSMtransitioncreateCopy (GraphComponent c) const
FSMtransitionclone (GraphComponent c) const
FSMstategetSrcState () const
FSMstategetDstState () const
void connect (FSMstate *src, FSMstate *dst)
ostream & print (ostream &out)

Private Attributes

FSMstatesrcState
FSMstatedstState

Friends

ostream & operator<< (ostream &out, FSMtransition &t)

Detailed Description

FSMtransition State transition in an FSM


Constructor & Destructor Documentation

FSMSADF::FSMtransition::FSMtransition ( GraphComponent  c  ) 

FSMtransition () Constructor.

Referenced by create().

FSMSADF::FSMtransition::~FSMtransition (  ) 

~FSMtransition () Desctructor.


Member Function Documentation

void FSMSADF::FSMtransition::connect ( FSMstate src,
FSMstate dst 
)

connect () Connect the FSM transition to the source state.

References FSMSADF::FSMstate::connectTransition(), dstState, and srcState.

Referenced by clone(), FSMSADF::FSM::constructFromXML(), and FSMSADF::RandomGraph::createFSM().

Here is the call graph for this function:

FSMtransition * FSMSADF::FSMtransition::create ( GraphComponent  c  )  const

create () Create a new FSMtransition object.

References FSMtransition().

Referenced by createCopy().

Here is the call graph for this function:

FSMtransition * FSMSADF::FSMtransition::createCopy ( GraphComponent  c  )  const

createCopy () Create a copy of this FSMtransition component.

References create(), FSMSADF::GraphComponent::getName(), and FSMSADF::GraphComponent::setName().

Referenced by clone().

Here is the call graph for this function:

FSMstate* FSMSADF::FSMtransition::getDstState (  )  const [inline]
FSMstate* FSMSADF::FSMtransition::getSrcState (  )  const [inline]

References srcState.

ostream & FSMSADF::FSMtransition::print ( ostream &  out  ) 

print() Print the FSM transition to the supplied output stream.

References dstState, FSMSADF::GraphComponent::getName(), and srcState.

Here is the call graph for this function:


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
FSMtransition t 
) [friend]

Member Data Documentation


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