28 using namespace YACS::ENGINE;
48 for(list< std::pair<OutGate *, bool> >::iterator iter=
_backLinks.begin();iter!=
_backLinks.end();iter++)
49 ((*iter).first)->edRemoveInGate(
this,
false);
59 bool operator()(
const std::pair<OutGate *,bool>& elt)
const {
return elt.first==_itf; }
70 DEBTRACE(
"InGate::exNotifyFromPrecursor");
73 throw YACS::Exception(
"InGate::exNotifyFromPrecursor : precursor not found !");
103 (*iter).second=
false;
105 _backLinks.push_back(pair<OutGate *, bool>(from,
false));
122 for(list< std::pair<OutGate *, bool> >::iterator iter=
_backLinks.begin();iter!=
_backLinks.end();iter++)
123 (*iter).second=
false;
129 for(list< std::pair<OutGate *, bool> >::const_iterator iter=
_backLinks.begin();iter!=
_backLinks.end() && isReady;iter++)
130 isReady=(*iter).second;
136 list<OutGate *> listo;
137 for(list< std::pair<OutGate *, bool> >::const_iterator iter=
_backLinks.begin();iter!=
_backLinks.end();iter++)
138 listo.push_back(iter->first);
148 throw YACS::Exception(
"InGate::setPrecursorDone : precursor not found !");