|
| | ForEachLoopDyn (const std::string &name, TypeCode *typeOfDataSplitted) |
| |
| | ForEachLoopDyn (const ForEachLoopDyn &other, ComposedNode *father, bool editionOnly) |
| |
| | ~ForEachLoopDyn () |
| |
| void | accept (Visitor *visitor) |
| |
| | ForEachLoopGen (const std::string &name, TypeCode *typeOfDataSplitted, std::unique_ptr< NbBranchesAbstract > &&branchManager) |
| |
| | ForEachLoopGen (const ForEachLoopGen &other, ComposedNode *father, bool editionOnly) |
| |
| | ~ForEachLoopGen () |
| |
| void | init (bool start=true) |
| |
| void | exUpdateState () |
| | Update the node state. More...
|
| |
| void | exUpdateProgress () |
| |
| void | getReadyTasks (std::vector< Task * > &tasks) |
| |
| int | getNumberOfInputPorts () const |
| |
| void | checkNoCyclePassingThrough (Node *node) |
| |
| void | selectRunnableTasks (std::vector< Task * > &tasks) |
| |
| unsigned | getExecCurrentId () const |
| |
| std::list< InputPort * > | getSetOfInputPort () const |
| |
| std::list< InputPort * > | getLocalInputPorts () const |
| | redefined on derived class of ComposedNode. by default a ComposedNode has no port by itself More...
|
| |
| InputPort * | edGetSeqOfSamplesPort () |
| |
| InputPort * | getInputPort (const std::string &name) const |
| | Get an input port given its name. More...
|
| |
| OutPort * | getOutPort (const std::string &name) const |
| |
| OutputPort * | getOutputPort (const std::string &name) const |
| | Get an output port given its name. More...
|
| |
| Node * | getChildByShortName (const std::string &name) const |
| |
| std::list< OutputPort * > | getLocalOutputPorts () const |
| | redefined on derived class of ComposedNode. by default a ComposedNode has no port by itself More...
|
| |
| void | writeDot (std::ostream &os) const |
| | Dump the node state to a stream. More...
|
| |
| virtual std::string | typeName () |
| |
| virtual void | resetState (int level) |
| | Reset the state of the node and its children depending on the parameter level. More...
|
| |
| std::string | getProgress () const |
| |
| std::list< ProgressWeight > | getProgressWeight () const |
| | Get the progress weight for all elementary nodes. More...
|
| |
| int | getCurrentIndex () const |
| |
| int | getNbOfElementsToBeProcessed () const |
| |
| ForEachLoopPassedData * | getProcessedData () const |
| |
| void | setProcessedData (ForEachLoopPassedData *processedData) |
| |
| std::vector< unsigned int > | getPassedResults (Executor *execut, std::vector< SequenceAny * > &outputs, std::vector< std::string > &nameOfOutputs) const |
| |
| void | assignPassedResults (const std::vector< unsigned int > &passedIds, const std::vector< SequenceAny * > &passedOutputs, const std::vector< std::string > &nameOfOutputs) |
| |
| const TypeCode * | getOutputPortType (const std::string &portName) const |
| |
| void | cleanDynGraph () override |
| |
| Node * | edRemoveNode () |
| |
| Node * | edRemoveInitNode () |
| |
| Node * | edRemoveFinalizeNode () |
| |
| Node * | edSetNode (Node *DISOWNnode) |
| |
| Node * | edSetInitNode (Node *DISOWNnode) |
| |
| Node * | edSetFinalizeNode (Node *DISOWNnode) |
| |
| virtual bool | edAddDFLink (OutPort *start, InPort *end) |
| | Connect an OutPort to an InPort and add control link if necessary. More...
|
| |
| InputPort * | edGetNbOfBranchesPort () |
| |
| int | getNumberOfOutputPorts () const |
| |
| unsigned | getNumberOfEltsConsumed () const |
| |
| int | getBranchIDOfNode (Node *node) const |
| |
| std::list< OutputPort * > | getSetOfOutputPort () const |
| |
| OutputPort * | edGetSamplePort () |
| |
| bool | isPlacementPredictableB4Run () const |
| | For the moment false is returned : impovement about it coming soon. More...
|
| |
| void | edRemoveChild (Node *node) |
| | Remove a child node. More...
|
| |
| bool | isLoop () const override |
| |
| virtual bool | edAddChild (Node *DISOWNnode) |
| |
| std::list< Node * > | edGetDirectDescendants () const |
| |
| unsigned | getNumberOfBranchesCreatedDyn () const |
| |
| Node * | getChildByNameExec (const std::string &name, unsigned id) const |
| |
| std::vector< Node * > | getNodes () const |
| |
| ComplexWeight * | getWeight () |
| |
| void | setWeight (double loopWeight) |
| |
| void | getWeightRegardingDPL (ComplexWeight *weight) |
| |
| bool | isMultiplicitySpecified (unsigned &value) const |
| |
| void | forceMultiplicity (unsigned value) |
| |
| virtual void | checkBasicConsistency () const |
| |
| virtual std::string | getErrorReport () |
| | returns a string that contains an error report if the node is in error More...
|
| |
| Node * | getInitNode () |
| |
| Node * | getExecNode () |
| |
| Node * | getFinalizeNode () |
| |
| int | getMaxLevelOfParallelism () const |
| |
| void | partitionRegardingDPL (const PartDefinition *pd, std::map< ComposedNode *, YACS::BASES::AutoRefCnt< PartDefinition > > &zeMap) |
| |
| virtual | ~ComposedNode () |
| |
| bool | isFinished () |
| |
| std::string | getName () const |
| |
| std::string | getTaskName (Task *task) const |
| |
| DeploymentTree | getDeploymentTree () const |
| | Essentially for test. Use checkDeploymentTree instead to be sure that returned DeploymentTree is consistent. More...
|
| |
| DeploymentTree | checkDeploymentTree (bool deep) const |
| | Perform check of deployment consistency of the current graph. More...
|
| |
| std::vector< Task * > | getNextTasks (bool &isMore) |
| |
| void | notifyFrom (const Task *sender, YACS::Event event, const Executor *execInst) |
| | Notify the node a task has emitted an event. More...
|
| |
| bool | edAddLink (OutPort *start, InPort *end) |
| | Add a dataflow link between two data ports. More...
|
| |
| bool | edAddLink (OutGate *start, InGate *end) |
| | Add a controlflow link between two control ports. More...
|
| |
| bool | edAddCFLink (Node *nodeS, Node *nodeE) |
| | Add a controlflow link between two nodes. More...
|
| |
| void | edRemoveCFLink (Node *nodeS, Node *nodeE) |
| | Remove a controlflow link. More...
|
| |
| void | edRemoveLink (OutPort *start, InPort *end) |
| | Remove a dataflow link. More...
|
| |
| void | edRemoveLink (OutGate *start, InGate *end) |
| | Remove a controlflow link. More...
|
| |
| virtual bool | isRepeatedUnpredictablySeveralTimes () const |
| |
| virtual void | removeRecursivelyRedundantCL () |
| |
| std::list< ElementaryNode * > | getRecursiveConstituents () const |
| |
| std::list< Node * > | getAllRecursiveNodes () |
| | Get all children nodes elementary and composed including this node. More...
|
| |
| virtual std::list< Node * > | getAllRecursiveConstituents () |
| | Idem getAllRecursiveNodes, but this node is NOT included. More...
|
| |
| std::string | getInPortName (const InPort *) const |
| | Get the input port name. More...
|
| |
| std::string | getOutPortName (const OutPort *) const |
| |
| std::set< OutPort * > | getAllOutPortsLeavingCurrentScope () const |
| | List all output ports of children nodes that are linked to out of scope input ports. More...
|
| |
| std::set< InPort * > | getAllInPortsComingFromOutsideOfCurrentScope () const |
| | List all input ports that are linked to out of scope ports. More...
|
| |
| std::list< InputDataStreamPort * > | getSetOfInputDataStreamPort () const |
| |
| std::list< OutputDataStreamPort * > | getSetOfOutputDataStreamPort () const |
| |
| InputDataStreamPort * | getInputDataStreamPort (const std::string &name) const |
| |
| OutputDataStreamPort * | getOutputDataStreamPort (const std::string &name) const |
| |
| std::vector< std::pair< OutPort *, InPort * > > | getSetOfInternalLinks () const |
| |
| virtual std::vector< std::pair< OutPort *, InPort * > > | getSetOfLinksLeavingCurrentScope () const |
| |
| void | checkConsistency (LinkInfo &info) const |
| |
| virtual std::vector< std::pair< InPort *, OutPort * > > | getSetOfLinksComingInCurrentScope () const |
| |
| virtual void | edUpdateState () |
| | update the status of the node More...
|
| |
| ComposedNode * | getRootNode () const |
| |
| bool | isNodeAlreadyAggregated (const Node *node) const |
| | Check that Node 'node' is already a direct son of this. More...
|
| |
| virtual bool | isNameAlreadyUsed (const std::string &name) const |
| |
| Node * | isInMyDescendance (Node *nodeToTest) const |
| | Returns the parent of a node that is the direct child of this node. More...
|
| |
| std::string | getChildName (const Node *node) const |
| |
| virtual std::string | getMyQualifiedName (const Node *directSon) const |
| |
| Node * | getChildByName (const std::string &name) const |
| |
| void | loaded () |
| |
| void | connected () |
| |
| virtual void | cleanNodes () |
| | Clean the composed node in case of not clean exit. More...
|
| |
| void | setProperty (const std::string &name, const std::string &value) override |
| |
| std::string | getProperty (const std::string &name) override |
| |
| virtual | ~Node () |
| |
| Node * | clone (ComposedNode *father, bool editionOnly=true) const |
| | This method MUST NEVER BE VIRTUAL More...
|
| |
| Node * | cloneWithoutCompAndContDeepCpy (ComposedNode *father, bool editionOnly=true) const |
| | This method MUST NEVER BE VIRTUAL More...
|
| |
| void | setState (YACS::StatesForNode theState) |
| | Sets the given state for node. More...
|
| |
| virtual YACS::StatesForNode | getState () const |
| |
| virtual YACS::StatesForNode | getEffectiveState () const |
| | Return the node state in the context of its father. More...
|
| |
| virtual YACS::StatesForNode | getEffectiveState (const Node *) const |
| | Return the effective state of a node in the context of this one (its father) More...
|
| |
| std::string | getColorState (YACS::StatesForNode state) const |
| | Return the color associated to a state. More...
|
| |
| InGate * | getInGate () |
| |
| OutGate * | getOutGate () |
| |
| const std::string & | getName () const |
| |
| void | setName (const std::string &name) |
| | Change the name of the node. More...
|
| |
| ComposedNode * | getFather () const |
| |
| const std::string | getId () const |
| |
| bool | exIsControlReady () const |
| |
| std::list< Node * > | getOutNodes () const |
| |
| void | writeDotInFile (const std::string &fileName) const |
| |
| virtual void | exFailedState () |
| | Notify this node that its execution has failed. More...
|
| |
| virtual void | exDisabledState () |
| | Notify this node that it has been disabled. More...
|
| |
| std::list< InPort * > | getSetOfInPort () const |
| |
| std::list< OutPort * > | getSetOfOutPort () const |
| |
| virtual std::set< InputPort * > | edGetSetOfUnitializedInputPort () const |
| | Becomes deprecated soon. Replaced by ComposedNode::CheckConsistency. More...
|
| |
| virtual bool | edAreAllInputPortInitialized () const |
| | Becomes deprecated soon. Replaced by ComposedNode::CheckConsistency. More...
|
| |
| InPort * | getInPort (const std::string &name) const |
| |
| InPropertyPort * | getInPropertyPort () const |
| |
| std::list< ComposedNode * > | getAllAscendanceOf (ComposedNode *levelToStop=0) const |
| |
| bool | operator> (const Node &other) const |
| |
| bool | operator< (const Node &other) const |
| |
| std::string | getImplementation () const |
| |
| DynParaLoop * | getClosestDPLAmongAncestors () const |
| |
| std::map< std::string, std::string > | getProperties () |
| |
| std::map< std::string, std::string > | getPropertyMap () |
| |
| virtual void | setProperties (std::map< std::string, std::string > properties) |
| |
| virtual Proc * | getProc () |
| |
| virtual const Proc * | getProc () const |
| |
| std::string | getQualifiedName () const |
| | same as Node::getName() in most cases, but differs for children of switch More...
|
| |
| int | getNumId () |
| | return node instance identifiant, unique for each node instance More...
|
| |
| std::vector< std::pair< std::string, int > > | getDPLScopeInfo (ComposedNode *gfn) |
| |
| virtual void | applyDPLScope (ComposedNode *gfn) |
| |
| virtual void | sendEvent (const std::string &event) |
| | emit notification to all observers registered with the dispatcher More...
|
| |
| virtual void | sendEvent2 (const std::string &event, void *something) |
| | emit notification to all observers registered with the dispatcher More...
|
| |
| virtual std::string | getErrorDetails () const |
| |
| virtual void | setErrorDetails (const std::string &error) |
| |
| virtual void | modified () |
| | Sets Node in modified state and its father if it exists. More...
|
| |
| virtual int | isModified () |
| |
| virtual int | isValid () |
| | indicates if the node is valid (returns 1) or not (returns 0) More...
|
| |
| virtual std::string | getContainerLog () |
| | returns a string that contains the name of the container log file if it exists More...
|
| |
| virtual void | ensureLoading () |
| | Put this node into TOLOAD state when possible. More...
|
| |
| virtual void | getCoupledNodes (std::set< Task * > &coupledNodes) |
| |
| virtual | ~Scheduler () |
| |
|
| Node * | simpleClone (ComposedNode *father, bool editionOnly=true) const |
| |
| void | checkLinkPossibility (OutPort *start, const std::list< ComposedNode * > &pointsOfViewStart, InPort *end, const std::list< ComposedNode * > &pointsOfViewEnd) |
| |
| YACS::Event | updateStateOnFinishedEventFrom (Node *node) |
| | Method used to notify the node that a child node has finished. More...
|
| |
| YACS::Event | updateStateForInitNodeOnFinishedEventFrom (Node *node, unsigned int id) |
| |
| YACS::Event | updateStateForWorkNodeOnFinishedEventFrom (Node *node, unsigned int id, bool isNormalFinish) |
| |
| YACS::Event | updateStateForFinalizeNodeOnFinishedEventFrom (Node *node, unsigned int id) |
| |
| YACS::Event | updateStateOnFailedEventFrom (Node *node, const Executor *execInst) |
| | Method used to notify the node that a child node has failed. More...
|
| |
| void | buildDelegateOf (std::pair< OutPort *, OutPort * > &port, InPort *finalTarget, const std::list< ComposedNode * > &pointsOfView) |
| |
| void | getDelegateOf (std::pair< OutPort *, OutPort * > &port, InPort *finalTarget, const std::list< ComposedNode * > &pointsOfView) |
| |
| void | releaseDelegateOf (OutPort *portDwn, OutPort *portUp, InPort *finalTarget, const std::list< ComposedNode * > &pointsOfView) |
| |
| void | pushAllSequenceValues () |
| |
| void | createOutputOutOfScopeInterceptors (int branchNb) |
| |
| void | prepareSequenceValues (int sizeOfSamples) |
| |
| OutPort * | getDynOutPortByAbsName (int branchNb, const std::string &name) |
| |
| void | storeOutValsInSeqForOutOfScopeUse (int rank, int branchNb) |
| |
| | DynParaLoop (const std::string &name, TypeCode *typeOfDataSplitted, std::unique_ptr< NbBranchesAbstract > &&branchManager) |
| |
| virtual | ~DynParaLoop () |
| |
| | DynParaLoop (const DynParaLoop &other, ComposedNode *father, bool editionOnly) |
| |
| void | buildDelegateOf (InPort *&port, OutPort *initialStart, const std::list< ComposedNode * > &pointsOfView) |
| |
| void | checkCFLinks (const std::list< OutPort * > &starts, InputPort *end, unsigned char &alreadyFed, bool direction, LinkInfo &info) const |
| | check control flow links More...
|
| |
| void | checkControlDependancy (OutPort *start, InPort *end, bool cross, std::map< ComposedNode *, std::list< OutPort * >, SortHierarc > &fw, std::vector< OutPort * > &fwCross, std::map< ComposedNode *, std::list< OutPort * >, SortHierarc > &bw, LinkInfo &info) const |
| |
| void | prepareInputsFromOutOfScope (int branchNb) |
| |
| void | putValueOnBranch (Any *val, unsigned branchId, bool first) |
| |
| TypeOfNode | getIdentityOfNotifyerNode (const Node *node, unsigned &id) |
| |
| InputPort * | getDynInputPortByAbsName (int branchNb, const std::string &name, bool initNodeAdmitted) |
| |
| virtual void | forwardExecStateToOriginalBody (Node *execNode) |
| |
| std::vector< Node * > | cloneAndPlaceNodesCoherently (const std::vector< Node * > &origNodes) |
| | Clone nodes and make their placement consistent with the placement of the original ones. More...
|
| |
| Node * | checkConsistencyAndSetNode (Node *&nodeToReplace, Node *DISOWNnode) |
| | This method is used to factorize methods edSetNode, edSetInitNode and edSetFinalizeNode. More...
|
| |
| Node * | removeNode (Node *&nodeToRemove) |
| | This method is used to factorize methods edRemoveNode, edRemoveInitNode and edRemoveFinalizeNode. More...
|
| |
| virtual void | shutdown (int level) |
| | Stop all pending activities of the composed node. More...
|
| |
| | ComposedNode (const std::string &name) |
| |
| | ComposedNode (const ComposedNode &other, ComposedNode *father) |
| |
| void | performDuplicationOfPlacement (const Node &other) |
| | performs a duplication of placement using clone method of containers and components. clone behaviour is driven by attachOnCloning attribute. More...
|
| |
| void | performShallowDuplicationOfPlacement (const Node &other) |
| | performs a also duplication of placement but here containers and components are not copied at all whatever the value of attachedOnCloning. More...
|
| |
| void | edDisconnectAllLinksWithMe () |
| |
| YACS::Event | updateStateFrom (Node *node, YACS::Event event, const Executor *execInst) |
| | Update node state on receiving event from a node. More...
|
| |
| virtual YACS::Event | updateStateOnStartEventFrom (Node *node) |
| | Method used to notify the node that a child node has started. More...
|
| |
| virtual void | getDelegateOf (InPort *&port, OutPort *initialStart, const std::list< ComposedNode * > &pointsOfView) |
| |
| virtual void | releaseDelegateOf (InPort *&port, OutPort *initialStart, const std::list< ComposedNode * > &pointsOfView) |
| |
| void | checkInMyDescendance (Node *nodeToTest) const |
| | Check if a node is in the descendance of this node. More...
|
| |
| template<class PORT > |
| std::string | getPortName (const PORT *port) const |
| |
| void | checkNoCrossHierachyWith (Node *node) const |
| |
| virtual void | performCFComputations (LinkInfo &info) const |
| | perform recursively all CF computations. More...
|
| |
| virtual void | destructCFComputations (LinkInfo &info) const |
| | destroy recursively all results of initial computations. More...
|
| |
| Node * | getLowestNodeDealingAll (const std::list< OutPort * > &ports) const |
| |
| void | checkLinksCoherenceRegardingControl (const std::vector< OutPort * > &starts, InputPort *end, LinkInfo &info) const |
| |
| void | solveObviousOrDelegateCFLinks (const std::list< OutPort * > &starts, InputPort *end, unsigned char &alreadyFed, bool direction, LinkInfo &info) const |
| |
| | Node (const std::string &name) |
| |
| | Node (const Node &other, ComposedNode *father) |
| |
| virtual void | exForwardFailed () |
| |
| virtual void | exForwardFinished () |
| |