#include <Switch.hxx>


Public Member Functions | |
| void | getHumanReprOfIncompleteCases (std::ostream &stream) const |
Public Member Functions inherited from YACS::ENGINE::OutPort | |
| virtual | ~OutPort () |
| std::vector< DataPort * > | calculateHistoryOfLinkWith (InPort *end) |
| virtual std::string | typeName () |
Public Member Functions inherited from YACS::ENGINE::DataPort | |
| TypeCode * | edGetType () const |
| void | edSetType (TypeCode *type) |
| std::string | getName () const |
| void | setName (std::string theName) |
| bool | isDifferentTypeOf (const DataPort *other) const |
| virtual std::string | getAsString () |
| returns port value as a string that can be used in a GUI for example More... | |
Public Member Functions inherited from YACS::ENGINE::Port | |
| virtual | ~Port () |
| Node * | getNode () const |
| int | getNumId () const |
| void | modified () |
Private Member Functions | |
| int | edGetNumberOfOutLinks () const |
| std::set< InPort * > | edSetInPort () const |
| bool | isAlreadyLinkedWith (InPort *withp) const |
| std::string | getNameOfTypeOfCurrentInstance () const |
| void | edRemoveAllLinksLinkedWithMe () throw (Exception) |
| TypeOfChannel | getTypeOfChannel () const |
| returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM. More... | |
| void | getAllRepresented (std::set< OutPort * > &represented) const |
| bool | addInPort (InPort *inPort) throw (Exception) |
| int | removeInPort (InPort *inPort, bool forward) throw (Exception) |
| bool | removePotentialProducerForMaster () |
| void | checkConsistency (LinkInfo &info) const |
| CollectorSwOutPort (Switch *master, InPort *port) | |
| CollectorSwOutPort (const CollectorSwOutPort &other, Switch *master) | |
| void | addPotentialProducerForMaster (OutPort *port) |
| bool | checkManagementOfPort (OutPort *port) throw (Exception) |
Private Attributes | |
| InPort * | _consumer |
| std::string | _className |
| OutPort * | _currentProducer |
| std::map< int, OutPort * > | _potentialProducers |
Friends | |
| class | Switch |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::ENGINE::DataPort | |
| static DataPort * | isCrossingType (const std::vector< DataPort * > &historyOfLink) |
Static Public Attributes inherited from YACS::ENGINE::DataPort | |
| static const char | NAME [] ="DataPort" |
Protected Member Functions inherited from YACS::ENGINE::OutPort | |
| OutPort (const OutPort &other, Node *newHelder) | |
| OutPort (const std::string &name, Node *node, TypeCode *type) | |
Protected Attributes inherited from YACS::ENGINE::DataPort | |
| TypeCode * | _type |
| std::string | _name |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
| static int | _total = 0 |
| static const char | NAME [] ="Port" |
Definition at line 37 of file Switch.hxx.
Definition at line 111 of file Switch.cxx.
References _consumer, YACS::ENGINE::DataPort::_name, YACS::ENGINE::ComposedNode::getInPortName(), YACS::ENGINE::ComposedNode::getName(), and YACS::ENGINE::ComposedNode::getRootNode().
|
private |
Definition at line 119 of file Switch.cxx.
References YACS::ENGINE::DataPort::_name, YACS::ENGINE::Port::_node, _potentialProducers, YACS::ENGINE::Switch::getOutPort(), and YACS::ENGINE::ComposedNode::getOutPortName().
Implements YACS::ENGINE::OutPort.
Definition at line 83 of file Switch.cxx.
References PMMLBasicsTestLauncher::ret.
|
private |
Definition at line 133 of file Switch.cxx.
References _className, _consumer, _currentProducer, YACS::ENGINE::Port::_node, _potentialProducers, YACS::ENGINE::DataPort::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::DataPort::getNameOfTypeOfCurrentInstance(), YACS::ENGINE::Port::getNode(), YACS::ENGINE::Switch::getRepresentationOfCase(), and CORBAEngineTest::i.
|
privatevirtual |
Called by Switch::checkCFLinks.
Reimplemented from YACS::ENGINE::OutPort.
Definition at line 197 of file Switch.cxx.
References YACS::ENGINE::Port::_node, _potentialProducers, and YACS::ENGINE::LinkInfo::pushErrSwitch().
Definition at line 183 of file Switch.cxx.
|
privatevirtual |
Reimplemented from YACS::ENGINE::OutPort.
Definition at line 38 of file Switch.cxx.
|
privatevirtual |
|
privatevirtual |
Implements YACS::ENGINE::OutPort.
Definition at line 43 of file Switch.cxx.
References PMMLBasicsTestLauncher::ret.
|
privatevirtual |
| void CollectorSwOutPort::getHumanReprOfIncompleteCases | ( | std::ostream & | stream | ) | const |
Called by LinkInfo::getErrRepr to have a comprehensible message on throw. When called, typically checkCompletenessOfCases has detected that some potential producers were laking...
Definition at line 209 of file Switch.cxx.
References _consumer, YACS::ENGINE::Port::_node, _potentialProducers, YACS::ENGINE::DataPort::getName(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Port::getNode(), and YACS::ENGINE::Switch::getRepresentationOfCase().
|
privatevirtual |
Reimplemented from YACS::ENGINE::DataPort.
Definition at line 58 of file Switch.cxx.
|
privatevirtual |
returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM.
Implements YACS::ENGINE::DataPort.
Definition at line 71 of file Switch.cxx.
|
privatevirtual |
Implements YACS::ENGINE::OutPort.
Definition at line 51 of file Switch.cxx.
References YACS::ENGINE::InPort::getAllRepresentants().
|
privatevirtual |
|
private |
Definition at line 157 of file Switch.cxx.
References _currentProducer, _potentialProducers, and CORBAEngineTest::i.
Referenced by YACS::ENGINE::Switch::releaseDelegateOf().
|
friend |
Definition at line 39 of file Switch.hxx.
|
private |
Definition at line 61 of file Switch.hxx.
Referenced by addPotentialProducerForMaster().
|
private |
Definition at line 60 of file Switch.hxx.
Referenced by addPotentialProducerForMaster(), CollectorSwOutPort(), and getHumanReprOfIncompleteCases().
|
private |
Definition at line 62 of file Switch.hxx.
Referenced by addPotentialProducerForMaster(), and removePotentialProducerForMaster().
|
private |
Definition at line 63 of file Switch.hxx.
Referenced by addPotentialProducerForMaster(), checkConsistency(), CollectorSwOutPort(), getHumanReprOfIncompleteCases(), and removePotentialProducerForMaster().