32 throw Exception(
"SalomeContainerTmpForHP::loadComponent : asking to load a component on the given task whereas this task has no component !");
37 this->
start(askingNode);
39 CORBA::Object_ptr objComponent=CORBA::Object::_nil();
44 objComponent=container->find_component_instance(compoName.c_str());
45 if(CORBA::is_nil(objComponent))
48 bool isLoadable(container->load_component_Library(compoName.c_str(), reason));
Base class for all component instances.
const std::string & getCompoName() const
virtual Engines::Container_var getContainer(const Task *askingNode) const =0
SalomeContainerTmpForHP(const Container &other, const SalomeContainerTools &sct, const SalomeContainerHelper *lmt, const std::vector< std::string > &componentNames, int shutdownLev, const SalomeHPContainer *zeOriginCont, std::size_t pos)
static SalomeContainerTmpForHP * BuildFrom(const SalomeHPContainer *cont, const Task *askingNode)
CORBA::Object_ptr loadComponent(Task *inst)
Load a component instance in this container.
bool isAlreadyStarted(const Task *askingNode) const
Check if the component instance container is already started.
void start(const Task *askingNode) override
Start a salome container (true salome container not yacs one) with given ContainerParameters (_params...
SalomeContainerHelper * _launchModeType
int getShutdownLev() const
std::vector< std::string > getComponentNames() const
SalomeContainerMonoHelper * getHelperOfTask(const Task *node)
const SalomeContainerTools & getContainerInfo() const
std::size_t locateTask(const Task *askingNode) const
virtual ComponentInstance * getComponent()=0