20 #ifndef __CONTAINER_HXX__
21 #define __CONTAINER_HXX__
34 class ComponentInstance;
49 virtual std::string getKind()
const = 0;
51 virtual std::string getDiscreminantStrOfThis(
const Task *askingNode)
const;
52 virtual bool isAlreadyStarted(
const Task *askingNode)
const = 0;
53 virtual void start(
const Task *askingNode)
throw(
Exception) = 0;
54 virtual std::string getPlacementId(
const Task *askingNode)
const = 0;
55 virtual std::string getFullPlacementId(
const Task *askingNode)
const = 0;
57 virtual void setAttachOnCloningStatus(
bool val)
const;
58 virtual void attachOnCloning()
const;
59 virtual void dettachOnCloning()
const;
60 virtual bool isAttachedOnCloning()
const;
61 virtual void lock() = 0;
62 virtual void unLock() = 0;
65 virtual Container *cloneAlways()
const = 0;
66 virtual bool isSupportingRTODefNbOfComp()
const;
68 virtual void setProperty(
const std::string& name,
const std::string& value) = 0;
69 virtual std::string getProperty(
const std::string& name)
const = 0;
70 virtual void clearProperties() = 0;
71 virtual void addComponentName(
const std::string& name) = 0;
72 virtual std::map<std::string,std::string> getProperties()
const = 0;
73 virtual std::map<std::string,std::string> getResourceProperties(
const std::string& name)
const = 0;
74 virtual void setProperties(
const std::map<std::string,std::string>& properties);
75 std::string
getName()
const {
return _name; }
77 void setName(std::string name) { _name = name; }
80 virtual void shutdown(
int level) = 0;
81 static const char KIND_ENTRY[];
82 static const char AOC_ENTRY[];