FSMSADF::FSMtransition Class Reference
#include <fsm.h>
Public Member Functions | |
FSMtransition (GraphComponent c) | |
~FSMtransition () | |
FSMtransition * | create (GraphComponent c) const |
FSMtransition * | createCopy (GraphComponent c) const |
FSMtransition * | clone (GraphComponent c) const |
FSMstate * | getSrcState () const |
FSMstate * | getDstState () const |
void | connect (FSMstate *src, FSMstate *dst) |
ostream & | print (ostream &out) |
Private Attributes | |
FSMstate * | srcState |
FSMstate * | dstState |
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
FSMtransition * FSMSADF::FSMtransition::clone | ( | GraphComponent | c | ) | const |
clone () Create a cloned copy of this object.
References ASSERT, FSMSADF::FSMstate::clone(), connect(), createCopy(), getDstState(), FSMSADF::FSMstate::getFSM(), FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), FSMSADF::GraphComponent::getParent(), FSMSADF::FSM::getStates(), and FSMSADF::GraphComponent::GraphComponent().
Referenced by FSMSADF::FSMstate::clone().
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().
FSMtransition * FSMSADF::FSMtransition::create | ( | GraphComponent | c | ) | const |
create () Create a new FSMtransition object.
References FSMtransition().
Referenced by createCopy().
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().
FSMstate* FSMSADF::FSMtransition::getDstState | ( | ) | const [inline] |
References dstState.
Referenced by clone(), FSMSADF::FSMConverter::convertFSMToEdgeLabeled(), FSMSADF::OutputHTML::convertFSMToPNG(), and FSMSADF::FSM::convertToXML().
ostream & FSMSADF::FSMtransition::print | ( | ostream & | out | ) |
print() Print the FSM transition to the supplied output stream.
References dstState, FSMSADF::GraphComponent::getName(), and srcState.
Friends And Related Function Documentation
ostream& operator<< | ( | ostream & | out, | |
FSMtransition & | t | |||
) | [friend] |
Member Data Documentation
FSMstate* FSMSADF::FSMtransition::dstState [private] |
Referenced by connect(), getDstState(), and print().
FSMstate* FSMSADF::FSMtransition::srcState [private] |
Referenced by connect(), getSrcState(), and print().
The documentation for this class was generated from the following files: