20 #ifndef __SALOMEHPCONTAINER_HXX__
21 #define __SALOMEHPCONTAINER_HXX__
32 #include <SALOMEconfig.h>
33 #include CORBA_CLIENT_HEADER(SALOME_Component)
34 #include CORBA_CLIENT_HEADER(SALOME_ContainerManager)
41 class SalomeComponent;
49 void setSizeOfPool(
int sz);
50 int getSizeOfPool()
const;
51 std::size_t getNumberOfFreePlace()
const;
52 void allocateFor(
const std::vector<const Task *>& nodes);
53 void release(
const Task *node);
59 std::string getKind()
const;
60 std::string getDiscreminantStrOfThis(
const Task *askingNode)
const;
61 bool isAlreadyStarted(
const Task *askingNode)
const;
63 void shutdown(
int level);
64 std::string getPlacementId(
const Task *askingNode)
const;
65 std::string getFullPlacementId(
const Task *askingNode)
const;
68 void setProperty(
const std::string& name,
const std::string& value);
69 std::string getProperty(
const std::string& name)
const;
70 void clearProperties();
71 void addComponentName(
const std::string& name);
72 std::map<std::string,std::string> getProperties()
const;
73 std::map<std::string,std::string> getResourceProperties(
const std::string& name)
const;
77 std::size_t
locateTask(
const Task *askingNode)
const {
return _launchModeType.locateTask(askingNode); }
87 static const char KIND[];