4 using namespace YACS::ENGINE;
6 const char InGate::NAME[]="InGate";
8 InGate::InGate(Node *node):Port(node),_nbPrecursor(0),_nbPrecursorDone(0),_colour(YACS::White)
12 std::string InGate::getNameOfTypeOfCurrentInstance() const
17 void InGate::exNotifyFromPrecursor()
20 if(exIsReady() && _node)
21 _node->exUpdateState();
24 void InGate::edAppendPrecursor()
29 void InGate::edRemovePrecursor()
34 void InGate::edSet(int nbOfPrecursors)
36 _nbPrecursor=nbOfPrecursors;
39 void InGate::exReset()
44 bool InGate::exIsReady() const
46 return _nbPrecursor==_nbPrecursorDone;