X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FInlineNode.hxx;h=74930305ed4f5e88f35b906b445b5240c0719eb1;hb=c9208a8ef7f32a620d9650908588320ff159a167;hp=891acb0657873bc92091a857630252014a07e9ea;hpb=802458daad8b198beabbb058dc87437bdc63b1a3;p=modules%2Fyacs.git diff --git a/src/engine/InlineNode.hxx b/src/engine/InlineNode.hxx index 891acb065..74930305e 100644 --- a/src/engine/InlineNode.hxx +++ b/src/engine/InlineNode.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2015 CEA/DEN, EDF R&D +// Copyright (C) 2006-2019 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -45,7 +45,7 @@ namespace YACS protected: InlineNode(const InlineNode& other, ComposedNode *father) :ElementaryNode(other,father),_script(other._script),_mode(other._mode),_container(0) { } - InlineNode(const std::string& name):ElementaryNode(name),_mode("local"),_container(0) { } + InlineNode(const std::string& name):ElementaryNode(name),_mode(LOCAL_STR),_container(0) { } public: virtual void setScript(const std::string& script); virtual std::string getScript(){return _script;} @@ -67,6 +67,11 @@ namespace YACS void performDuplicationOfPlacement(const Node& other); void performShallowDuplicationOfPlacement(const Node& other); bool isDeployable() const; + int getMaxLevelOfParallelism() const; + void partitionRegardingDPL(const PartDefinition *pd, std::map >& zeMap); + public: + static const char LOCAL_STR[]; + static const char REMOTE_STR[]; protected: std::string _script; std::string _mode;