20 #ifndef __INLINENODE_HXX__
21 #define __INLINENODE_HXX__
47 :
ElementaryNode(other,father),_script(other._script),_mode(other._mode),_container(0) { }
50 virtual void setScript(
const std::string& script);
60 virtual void accept(
Visitor *visitor);
62 virtual std::string
typeName() {
return "YACS__ENGINE__InlineNode";}
63 virtual void setExecutionMode(
const std::string& mode);
64 virtual std::string getExecutionMode();
65 virtual void setContainer(
Container* container);
67 void performDuplicationOfPlacement(
const Node& other);
68 void performShallowDuplicationOfPlacement(
const Node& other);
69 bool isDeployable()
const;
70 int getMaxLevelOfParallelism()
const;
72 static const char LOCAL_STR[];
73 static const char REMOTE_STR[];
96 :
InlineNode(other,father),_fname(other._fname) { }
100 virtual void setFname(
const std::string& fname);
104 virtual std::string
typeName() {
return "YACS__ENGINE__InlineFuncNode"; }
105 virtual void checkBasicConsistency()
const ;
#define YACSLIBENGINE_EXPORT
Base class for all composed nodes.
Base class for all calculation nodes.
Class for calculation node (function) inlined (and executed) in the schema.
InlineFuncNode(const InlineFuncNode &other, ComposedNode *father)
InlineFuncNode(const std::string &name)
virtual std::string typeName()
virtual std::string getFname()
Class for calculation node (script) inlined (and executed) in the schema.
InlineNode(const std::string &name)
virtual std::string typeName()
virtual std::string getScript()
virtual InlineNode * cloneNode(const std::string &name)
Return a new InlineNode node by making a copy of this node.
InlineNode(const InlineNode &other, ComposedNode *father)
Base class for all nodes.