-// 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
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;}
void performDuplicationOfPlacement(const Node& other);
void performShallowDuplicationOfPlacement(const Node& other);
bool isDeployable() const;
+ int getMaxLevelOfParallelism() const;
+ void partitionRegardingDPL(const PartDefinition *pd, std::map<ComposedNode *, YACS::BASES::AutoRefCnt<PartDefinition> >& zeMap);
+ public:
+ static const char LOCAL_STR[];
+ static const char REMOTE_STR[];
protected:
std::string _script;
std::string _mode;