20 #ifndef __COMPONENTINSTANCE_HXX__
21 #define __COMPONENTINSTANCE_HXX__
47 void setName(
const std::string& name) { _instanceName = name; };
51 virtual bool setContainer(
Container *cont);
54 virtual void load(
Task *askingNode) = 0;
56 virtual void unload(
Task *askingNode) = 0;
58 virtual bool isLoaded(
Task *askingNode)
const = 0;
59 virtual void attachOnCloning()
const;
60 virtual void dettachOnCloning()
const;
61 bool isAttachedOnCloning()
const;
62 virtual std::string getFileRepr()
const;
63 virtual ServiceNode* createNode(
const std::string& name)=0;
66 virtual std::string getKind()
const;
67 virtual std::string getKindForNode()
const;
68 static const char KIND[];
69 virtual void shutdown(
int level);
79 static const char NULL_FILE_REPR[];