#include <ForEachLoop.hxx>

Public Member Functions | |
| ForEachLoopPassedData (const std::vector< unsigned int > &passedIds, const std::vector< SequenceAny * > &passedOutputs, const std::vector< std::string > &nameOfOutputs) | |
| ForEachLoopPassedData (const ForEachLoopPassedData ©) | |
| ~ForEachLoopPassedData () | |
| void | init () |
| void | checkCompatibilyWithNb (int nbOfElts) const |
| void | checkLevel2 (const std::vector< AnyInputPort * > &ports) const |
| int | getNumberOfEltsAlreadyDone () const |
| int | toAbsId (int localId) const |
| int | toAbsIdNot (int localId) const |
| int | getNumberOfElementsToDo () const |
| void | assignAlreadyDone (const std::vector< SequenceAny * > &execVals) const |
| const std::vector< unsigned int > & | getIds () const |
| const std::vector< SequenceAny * > & | getOutputs () const |
| const std::vector< std::string > & | getOutputNames () const |
Private Attributes | |
| std::vector< unsigned int > | _passedIds |
| std::vector< SequenceAny * > | _passedOutputs |
| std::vector< std::string > | _nameOfOutputs |
| std::vector< bool > | _flagsIds |
Definition at line 126 of file ForEachLoop.hxx.
| ForEachLoopPassedData::ForEachLoopPassedData | ( | const std::vector< unsigned int > & | passedIds, |
| const std::vector< SequenceAny * > & | passedOutputs, | ||
| const std::vector< std::string > & | nameOfOutputs | ||
| ) |
Definition at line 306 of file ForEachLoop.cxx.
References _passedIds, _passedOutputs, YACS::ENGINE::RefCounter::incrRef(), and YACS::ENGINE::SequenceAny::size().
| ForEachLoopPassedData::ForEachLoopPassedData | ( | const ForEachLoopPassedData & | copy | ) |
Definition at line 326 of file ForEachLoop.cxx.
| ForEachLoopPassedData::~ForEachLoopPassedData | ( | ) |
Definition at line 334 of file ForEachLoop.cxx.
References _passedOutputs, and YACS::ENGINE::RefCounter::decrRef().
| void ForEachLoopPassedData::assignAlreadyDone | ( | const std::vector< SequenceAny * > & | execVals | ) | const |
Definition at line 448 of file ForEachLoop.cxx.
References _passedOutputs, yacsorb.CORBAEngineTest::i, YACS::ENGINE::SequenceAny::setEltAtRank(), YACS::ENGINE::SequenceAny::size(), and toAbsIdNot().
Referenced by YACS::ENGINE::ForEachLoopGen::exUpdateState().
| void ForEachLoopPassedData::checkCompatibilyWithNb | ( | int | nbOfElts | ) | const |
Definition at line 349 of file ForEachLoop.cxx.
References _flagsIds, and _passedIds.
Referenced by YACS::ENGINE::ForEachLoopGen::exUpdateState().
| void ForEachLoopPassedData::checkLevel2 | ( | const std::vector< AnyInputPort * > & | ports | ) | const |
Definition at line 383 of file ForEachLoop.cxx.
References _nameOfOutputs, YACS::ENGINE::DataPort::getName(), and yacsorb.CORBAEngineTest::i.
Referenced by YACS::ENGINE::ForEachLoopGen::exUpdateState().
|
inline |
Definition at line 140 of file ForEachLoop.hxx.
Referenced by YACS::ENGINE::VisitorSalomeSaveState::visitForEachLoop().
| int ForEachLoopPassedData::getNumberOfElementsToDo | ( | ) | const |
Definition at line 441 of file ForEachLoop.cxx.
References _flagsIds, and _passedIds.
Referenced by YACS::ENGINE::ForEachLoopGen::getFinishedId().
|
inline |
Definition at line 135 of file ForEachLoop.hxx.
Referenced by YACS::ENGINE::ForEachLoopGen::exUpdateState().
|
inline |
Definition at line 142 of file ForEachLoop.hxx.
Referenced by YACS::ENGINE::VisitorSalomeSaveState::visitForEachLoop().
|
inline |
Definition at line 141 of file ForEachLoop.hxx.
Referenced by YACS::ENGINE::VisitorSalomeSaveState::visitForEachLoop().
| void ForEachLoopPassedData::init | ( | ) |
Definition at line 344 of file ForEachLoop.cxx.
References _flagsIds.
Referenced by YACS::ENGINE::ForEachLoopGen::init().
| int ForEachLoopPassedData::toAbsId | ( | int | localId | ) | const |
performs local to abs id. Input localId refers to an id in all jobs to perform. Returned id refers to pos in whole output sequences.
Definition at line 404 of file ForEachLoop.cxx.
References _flagsIds.
Referenced by YACS::ENGINE::ForEachLoopGen::exUpdateState(), and YACS::ENGINE::ForEachLoopGen::updateStateForWorkNodeOnFinishedEventFrom().
| int ForEachLoopPassedData::toAbsIdNot | ( | int | localId | ) | const |
Equivalent to toAbsId except that only ON are considered here.
Definition at line 424 of file ForEachLoop.cxx.
References _flagsIds.
Referenced by assignAlreadyDone().
|
mutableprivate |
Definition at line 148 of file ForEachLoop.hxx.
Referenced by checkCompatibilyWithNb(), getNumberOfElementsToDo(), init(), toAbsId(), and toAbsIdNot().
|
private |
Definition at line 147 of file ForEachLoop.hxx.
Referenced by checkLevel2().
|
private |
Definition at line 145 of file ForEachLoop.hxx.
Referenced by checkCompatibilyWithNb(), ForEachLoopPassedData(), and getNumberOfElementsToDo().
|
private |
Definition at line 146 of file ForEachLoop.hxx.
Referenced by assignAlreadyDone(), ForEachLoopPassedData(), and ~ForEachLoopPassedData().