#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 301 of file ForEachLoop.cxx.
References _passedIds, _passedOutputs, YACS::ENGINE::RefCounter::incrRef(), and YACS::ENGINE::SequenceAny::size().
ForEachLoopPassedData::ForEachLoopPassedData | ( | const ForEachLoopPassedData & | copy | ) |
Definition at line 321 of file ForEachLoop.cxx.
ForEachLoopPassedData::~ForEachLoopPassedData | ( | ) |
Definition at line 329 of file ForEachLoop.cxx.
References _passedOutputs, and YACS::ENGINE::RefCounter::decrRef().
void ForEachLoopPassedData::assignAlreadyDone | ( | const std::vector< SequenceAny * > & | execVals | ) | const |
Definition at line 443 of file ForEachLoop.cxx.
References _passedOutputs, CORBAEngineTest::i, YACS::ENGINE::SequenceAny::setEltAtRank(), YACS::ENGINE::SequenceAny::size(), and toAbsIdNot().
Referenced by YACS::ENGINE::ForEachLoop::exUpdateState().
void ForEachLoopPassedData::checkCompatibilyWithNb | ( | int | nbOfElts | ) | const |
Definition at line 344 of file ForEachLoop.cxx.
References _flagsIds, and _passedIds.
Referenced by YACS::ENGINE::ForEachLoop::exUpdateState().
void ForEachLoopPassedData::checkLevel2 | ( | const std::vector< AnyInputPort * > & | ports | ) | const |
Definition at line 378 of file ForEachLoop.cxx.
References _nameOfOutputs, YACS::ENGINE::DataPort::getName(), and CORBAEngineTest::i.
Referenced by YACS::ENGINE::ForEachLoop::exUpdateState().
|
inline |
Definition at line 140 of file ForEachLoop.hxx.
Referenced by YACS::ENGINE::VisitorSalomeSaveState::visitForEachLoop().
int ForEachLoopPassedData::getNumberOfElementsToDo | ( | ) | const |
Definition at line 436 of file ForEachLoop.cxx.
References _flagsIds, _passedIds, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::ForEachLoop::getFinishedId().
|
inline |
Definition at line 135 of file ForEachLoop.hxx.
Referenced by YACS::ENGINE::ForEachLoop::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 339 of file ForEachLoop.cxx.
References _flagsIds.
Referenced by YACS::ENGINE::ForEachLoop::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 399 of file ForEachLoop.cxx.
References _flagsIds, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::ForEachLoop::exUpdateState(), and YACS::ENGINE::ForEachLoop::updateStateForWorkNodeOnFinishedEventFrom().
int ForEachLoopPassedData::toAbsIdNot | ( | int | localId | ) | const |
Equivalent to toAbsId except that only ON are considered here.
Definition at line 419 of file ForEachLoop.cxx.
References _flagsIds, and PMMLBasicsTestLauncher::ret.
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().