31const char InlineNode::LOCAL_STR[]=
"local";
33const char InlineNode::REMOTE_STR[]=
"remote";
35InlineNode::~InlineNode()
80 string mess =
"Function name is not defined";
87 if(mode ==
_mode)
return;
149 std::map<std::string,std::string>::iterator it(props.find(std::string(
"nb_proc_per_node")));
152 if((*it).second.empty())
154 std::istringstream iss((*it).second);
155 int ret(1); iss >> ret;
virtual Container * clone() const =0
WARNING ! clone behaviour MUST be in coherence with what is returned by isAttachedOnCloning() method
virtual std::map< std::string, std::string > getProperties() const =0
virtual void checkBasicConsistency() const
virtual void setFname(const std::string &fname)
Set the function name to use in node execution.
virtual ~InlineFuncNode()
virtual void checkBasicConsistency() const
void accept(Visitor *visitor)
Class for calculation node (script) inlined (and executed) in the schema.
static const char LOCAL_STR[]
virtual Container * getContainer()
virtual void setScript(const std::string &script)
Set the script (as a string) to execute.
virtual void setContainer(Container *container)
void performDuplicationOfPlacement(const Node &other)
performs a duplication of placement using clone method of containers and components....
static const char REMOTE_STR[]
virtual std::string getExecutionMode()
int getMaxLevelOfParallelism() const
virtual void setExecutionMode(const std::string &mode)
virtual void accept(Visitor *visitor)
void performShallowDuplicationOfPlacement(const Node &other)
performs a also duplication of placement but here containers and components are not copied at all wha...
bool isDeployable() const
Base class for all nodes.
virtual void modified()
Sets Node in modified state and its father if it exists.
virtual void visitInlineFuncNode(InlineFuncNode *node)=0
virtual void visitInlineNode(InlineNode *node)=0