20 #ifndef __FORLOOP_HXX__
21 #define __FORLOOP_HXX__
35 static const char NAME_OF_INDEX[];
36 static const char NAME_OF_NSTEPS_NUMBER[];
41 ForLoop(
const std::string& name);
43 void exUpdateProgress();
44 void init(
bool start=
true);
50 std::list<InputPort *> getLocalInputPorts()
const;
51 std::list<OutputPort *> getLocalOutputPorts()
const;
52 std::list<OutputPort *> getSetOfOutputPort()
const;
53 virtual void accept(
Visitor *visitor);
56 virtual std::string
typeName() {
return "YACS__ENGINE__ForLoop";}
57 std::string getProgress()
const;
58 std::list<ProgressWeight> getProgressWeight()
const;
59 int getNbSteps()
const;
63 void checkCFLinks(
const std::list<OutPort *>& starts,
InputPort *end,
unsigned char& alreadyFed,
64 bool direction,
LinkInfo& info)
const;
65 void checkControlDependancy(
OutPort *start,
InPort *end,
bool cross,
66 std::map <
ComposedNode *, std::list < OutPort * >, SortHierarc >& fw,
67 std::vector<OutPort *>& fwCross,
68 std::map<
ComposedNode *, std::list < OutPort *>, SortHierarc >& bw,