#include <InGate.hxx>


Public Member Functions | |
| InGate (Node *node) | |
| virtual | ~InGate () |
| std::string | getNameOfTypeOfCurrentInstance () const |
| void | exNotifyFromPrecursor (OutGate *fromgate) |
| Notify this port that an upstream node connected by a control flow link is finished. More... | |
| std::list< std::pair< OutGate *, bool > > & | edMapOutGate () |
| void | edAppendPrecursor (OutGate *fromgate) |
| void | edRemovePrecursor (OutGate *fromgate) |
| int | getNumberOfBackLinks () const |
| void | edDisconnectAllLinksToMe () |
| void | exNotifyFailed () |
| Notify this port that an upstream node connected by a control flow link has failed. More... | |
| void | exNotifyDisabled () |
| Notify this port that an upstream node connected by a control flow link has been disabled. More... | |
| void | exReset () |
| bool | exIsReady () const |
| std::list< OutGate * > | getBackLinks () |
| void | setPrecursorDone (OutGate *fromgate) |
| virtual std::string | typeName () |
Public Member Functions inherited from YACS::ENGINE::Port | |
| virtual | ~Port () |
| Node * | getNode () const |
| int | getNumId () const |
| void | modified () |
Static Protected Attributes | |
| static const char | NAME [] ="InGate" |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
| static int | _total = 0 |
| static const char | NAME [] ="Port" |
Private Attributes | |
| std::list< std::pair< OutGate *, bool > > | _backLinks |
Friends | |
| class | Bloc |
| class | Node |
Additional Inherited Members | |
Protected Member Functions inherited from YACS::ENGINE::Port | |
| Port (Node *node) | |
| Port (const Port &other, Node *newHelder) | |
Protected Attributes inherited from YACS::ENGINE::Port | |
| Node * | _node |
| int | _id |
Definition at line 35 of file InGate.hxx.
| InGate::InGate | ( | Node * | node | ) |
Definition at line 33 of file InGate.cxx.
|
virtual |
Definition at line 37 of file InGate.cxx.
| void InGate::edAppendPrecursor | ( | OutGate * | fromgate | ) |
Definition at line 99 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::OutGate::edAddInGate().
| void InGate::edDisconnectAllLinksToMe | ( | ) |
Definition at line 46 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::Node::edDisconnectAllLinksWithMe().
|
inline |
Definition at line 48 of file InGate.hxx.
Referenced by YACS::ENGINE::CFDirectionVisTraits< false >::getNexts().
| void InGate::edRemovePrecursor | ( | OutGate * | fromgate | ) |
Definition at line 108 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::OutGate::edRemoveInGateOneWay().
| bool InGate::exIsReady | ( | ) | const |
Definition at line 126 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::ElementaryNode::connected(), YACS::ENGINE::Node::exIsControlReady(), exNotifyFromPrecursor(), YACS::ENGINE::ForLoop::exUpdateState(), YACS::ENGINE::WhileLoop::exUpdateState(), YACS::ENGINE::Bloc::exUpdateState(), YACS::ENGINE::ElementaryNode::exUpdateState(), YACS::ENGINE::OptimizerLoop::exUpdateState(), YACS::ENGINE::Switch::exUpdateState(), YACS::ENGINE::Node::exUpdateState(), and YACS::ENGINE::ForEachLoop::exUpdateState().
| void InGate::exNotifyDisabled | ( | ) |
Notify this port that an upstream node connected by a control flow link has been disabled.
Definition at line 93 of file InGate.cxx.
References YACS::ENGINE::Port::_node, and YACS::ENGINE::Node::exDisabledState().
| void InGate::exNotifyFailed | ( | ) |
Notify this port that an upstream node connected by a control flow link has failed.
Definition at line 83 of file InGate.cxx.
References YACS::ENGINE::Port::_node, and YACS::ENGINE::Node::exFailedState().
| void InGate::exNotifyFromPrecursor | ( | OutGate * | from | ) |
Notify this port that an upstream node connected by a control flow link is finished.
Calls the node's gate method : Node::exUpdateState
Called by OutGate::exNotifyDone
Definition at line 68 of file InGate.cxx.
References _backLinks, YACS::ENGINE::Port::_node, DEBTRACE, exIsReady(), and YACS::ENGINE::Node::exUpdateState().
Referenced by YACS::ENGINE::ElementaryNode::getReadyTasks().
| void InGate::exReset | ( | ) |
Definition at line 120 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::Node::init(), and YACS::ENGINE::ElementaryNode::initCommonPartWithoutStateManagement().
| std::list< OutGate * > InGate::getBackLinks | ( | ) |
Definition at line 134 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::ElementaryNode::getReadyTasks(), YACS::ENGINE::AbstractPoint::isBegin(), YACS::ENGINE::AbstractPoint::IsGatherB4Ext(), YACS::ENGINE::AbstractPoint::IsNoLinksBefore(), YACS::ENGINE::AbstractPoint::IsSimplyLinkedBeforeExt(), YACS::ENGINE::graphParser::onEnd(), YACS::ENGINE::Node::resetState(), and YACS::HMI::SubjectNode::saveLinks().
|
virtual |
| int InGate::getNumberOfBackLinks | ( | ) | const |
Definition at line 115 of file InGate.cxx.
References _backLinks.
| void InGate::setPrecursorDone | ( | OutGate * | fromgate | ) |
Definition at line 142 of file InGate.cxx.
References _backLinks.
Referenced by YACS::ENGINE::graphParser::onEnd(), and YACS::ENGINE::Node::resetState().
|
inlinevirtual |
Reimplemented from YACS::ENGINE::Port.
Definition at line 59 of file InGate.hxx.
|
friend |
Definition at line 37 of file InGate.hxx.
|
friend |
Definition at line 38 of file InGate.hxx.
|
private |
Definition at line 42 of file InGate.hxx.
Referenced by edAppendPrecursor(), edDisconnectAllLinksToMe(), edRemovePrecursor(), exIsReady(), exNotifyFromPrecursor(), exReset(), getBackLinks(), getNumberOfBackLinks(), and setPrecursorDone().
|
staticprotected |
Definition at line 40 of file InGate.hxx.
Referenced by getNameOfTypeOfCurrentInstance().