#include <OutGate.hxx>
Public Member Functions | |
OutGate (Node *node) | |
std::string | getNameOfTypeOfCurrentInstance () const |
void | exReset () |
void | exNotifyDone () |
Notify this port that its node is finished. More... | |
void | exNotifyFailed () |
Notify this port that its node has failed. More... | |
void | exNotifyDisabled () |
Notify this port that its node has been disabled. More... | |
void | edDisconnectAllLinksFromMe () |
bool | edAddInGate (InGate *inGate) |
std::list< std::pair< InGate *, bool > > & | edMapInGate () |
std::list< InGate * > | edSetInGate () const |
void | edRemoveInGate (InGate *inGate, bool coherenceWithInGate=true) throw (Exception) |
int | getNbOfInGatesConnected () const |
bool | isAlreadyInSet (InGate *inGate) const |
virtual std::string | typeName () |
Public Member Functions inherited from YACS::ENGINE::Port | |
virtual | ~Port () |
Node * | getNode () const |
int | getNumId () const |
void | modified () |
Static Public Attributes | |
static const char | NAME [] ="OutGate" |
Protected Member Functions | |
void | edRemoveInGateOneWay (InGate *inGate) |
Protected Member Functions inherited from YACS::ENGINE::Port | |
Port (Node *node) | |
Port (const Port &other, Node *newHelder) | |
Protected Attributes | |
std::list< std::pair< InGate *, bool > > | _setOfInGate |
Protected Attributes inherited from YACS::ENGINE::Port | |
Node * | _node |
int | _id |
Friends | |
class | ElementaryNode |
Additional Inherited Members | |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
static int | _total = 0 |
static const char | NAME [] ="Port" |
Definition at line 36 of file OutGate.hxx.
OutGate::OutGate | ( | Node * | node | ) |
Definition at line 33 of file OutGate.cxx.
bool OutGate::edAddInGate | ( | InGate * | inGate | ) |
Definition at line 98 of file OutGate.cxx.
References _setOfInGate, YACS::ENGINE::InGate::edAppendPrecursor(), isAlreadyInSet(), and YACS::ENGINE::Port::modified().
void OutGate::edDisconnectAllLinksFromMe | ( | ) |
Definition at line 82 of file OutGate.cxx.
References _setOfInGate.
Referenced by YACS::ENGINE::Node::edDisconnectAllLinksWithMe().
|
inline |
Definition at line 52 of file OutGate.hxx.
Referenced by YACS::ENGINE::CFDirectionVisTraits< true >::getNexts().
Definition at line 120 of file OutGate.cxx.
|
protected |
Definition at line 136 of file OutGate.cxx.
References _setOfInGate, YACS::ENGINE::InGate::edRemovePrecursor(), and YACS::ENGINE::Port::modified().
std::list< InGate * > OutGate::edSetInGate | ( | ) | const |
Definition at line 112 of file OutGate.cxx.
References _setOfInGate, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::HMI::SceneBlocItem::getNodesInfo(), YACS::ENGINE::Node::getOutNodes(), YACS::ENGINE::AbstractPoint::isLast(), YACS::ENGINE::AbstractPoint::IsNoLinksAfter(), YACS::ENGINE::AbstractPoint::IsScatterAfterExt(), YACS::ENGINE::AbstractPoint::IsSimplyLinkedAfterExt(), YACS::HMI::SubjectComposedNode::loadLinks(), YACS::ENGINE::Bloc::performCFComputationsOnlyOneLevel(), and YACS::HMI::SubjectNode::saveLinks().
void OutGate::exNotifyDisabled | ( | ) |
Notify this port that its node has been disabled.
Definition at line 76 of file OutGate.cxx.
References _setOfInGate.
Referenced by YACS::ENGINE::Node::exDisabledState().
void OutGate::exNotifyDone | ( | ) |
Notify this port that its node is finished.
Calls (notify) all the connected ingates : InGate::exNotifyFromPrecursor
Called by Bloc::updateStateOnFinishedEventFrom
Definition at line 55 of file OutGate.cxx.
References _setOfInGate, and DEBTRACE.
Referenced by YACS::ENGINE::Node::exForwardFinished().
void OutGate::exNotifyFailed | ( | ) |
Notify this port that its node has failed.
Definition at line 66 of file OutGate.cxx.
References _setOfInGate.
Referenced by YACS::ENGINE::Node::exFailedState(), and YACS::ENGINE::Node::exForwardFailed().
void OutGate::exReset | ( | ) |
Definition at line 42 of file OutGate.cxx.
References _setOfInGate.
Referenced by YACS::ENGINE::Node::init().
|
virtual |
int OutGate::getNbOfInGatesConnected | ( | ) | const |
Definition at line 155 of file OutGate.cxx.
References _setOfInGate.
bool OutGate::isAlreadyInSet | ( | InGate * | inGate | ) | const |
Definition at line 150 of file OutGate.cxx.
References _setOfInGate.
Referenced by edAddInGate(), YACS::HMI::CommandAddLink::localExecute(), YACS::HMI::SubjectNode::restoreLinks(), and YACS::HMI::SubjectNode::saveLinks().
|
inlinevirtual |
Reimplemented from YACS::ENGINE::Port.
Definition at line 57 of file OutGate.hxx.
|
friend |
Definition at line 38 of file OutGate.hxx.
|
protected |
Definition at line 40 of file OutGate.hxx.
Referenced by edAddInGate(), edDisconnectAllLinksFromMe(), edRemoveInGateOneWay(), edSetInGate(), exNotifyDisabled(), exNotifyDone(), exNotifyFailed(), exReset(), getNbOfInGatesConnected(), and isAlreadyInSet().
|
static |
Definition at line 42 of file OutGate.hxx.
Referenced by getNameOfTypeOfCurrentInstance().