20 #ifndef __SERVICENODE_HXX__
21 #define __SERVICENODE_HXX__
32 class ComponentInstance;
39 void performDuplicationOfPlacement(
const Node& other);
40 void performShallowDuplicationOfPlacement(
const Node& other);
43 virtual bool isDeployable()
const;
48 virtual void setRef(
const std::string&
ref);
49 virtual std::string getRef();
50 virtual void setMethod(
const std::string& method) { _method=method; }
54 virtual void accept(
Visitor *visitor);
55 virtual std::string getKind()
const;
56 virtual std::string
typeName() {
return "YACS__ENGINE__ServiceNode"; }
58 static const char KIND[];
#define YACSLIBENGINE_EXPORT
Base class for all component instances.
Base class for all composed nodes.
Base class for all calculation nodes.
Base class for all nodes.
Class for calculation node associated with a component service.
virtual std::string getMethod()
virtual std::string typeName()
virtual ServiceNode * createNode(const std::string &name)=0
virtual void setMethod(const std::string &method)
ComponentInstance * _component
def ref(target, callback=None)