#include <SalomeContainerTmpForHP.hxx>
Public Member Functions | |
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) | |
std::string | getDiscreminantStrOfThis (const Task *askingNode) const |
CORBA::Object_ptr | loadComponent (Task *inst) |
Load a component instance in this container. More... | |
Public Member Functions inherited from YACS::ENGINE::SalomeContainer | |
SalomeContainer () | |
SalomeContainer (const SalomeContainer &other) | |
SalomeContainer (const Container &other, const SalomeContainerTools &sct, const SalomeContainerHelper *lmt, const std::vector< std::string > &componentNames, int shutdownLev) | |
void | lock () |
For thread safety for concurrent load operation on same Container. More... | |
void | unLock () |
For thread safety for concurrent load operation on same Container. More... | |
std::string | getKind () const |
bool | isAlreadyStarted (const Task *askingNode) const |
Check if the component instance container is already started. More... | |
Engines::Container_ptr | getContainerPtr (const Task *askingNode) const |
void | start (const Task *askingNode) throw (Exception) |
Start a salome container (true salome container not yacs one) with given ContainerParameters (_params) More... | |
Container * | clone () const |
WARNING ! clone behaviour MUST be in coherence with what is returned by isAttachedOnCloning() method More... | |
Container * | cloneAlways () const |
std::string | getPlacementId (const Task *askingNode) const |
Get the container placement id for a component instance. More... | |
std::string | getFullPlacementId (const Task *askingNode) const |
Get the container full path for a component instance. More... | |
void | checkCapabilityToDealWith (const ComponentInstance *inst) const throw (Exception) |
void | setProperty (const std::string &name, const std::string &value) |
std::string | getProperty (const std::string &name) const |
void | clearProperties () |
void | addComponentName (const std::string &name) |
void | addToResourceList (const std::string &name) |
void | shutdown (int level) |
std::map< std::string, std::string > | getResourceProperties (const std::string &name) const |
std::map< std::string, std::string > | getProperties () const |
Public Member Functions inherited from YACS::ENGINE::Container | |
virtual void | setAttachOnCloningStatus (bool val) const |
virtual void | attachOnCloning () const |
virtual void | dettachOnCloning () const |
virtual bool | isAttachedOnCloning () const |
virtual bool | isSupportingRTODefNbOfComp () const |
virtual void | setProperties (const std::map< std::string, std::string > &properties) |
std::string | getName () const |
void | setName (std::string name) |
WARNING ! name is used in edition to identify different containers, it is not the runtime name of the container More... | |
void | setProc (Proc *proc) |
Proc * | getProc () |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
unsigned int | getRefCnt () const |
void | incrRef () const |
bool | decrRef () |
Static Public Member Functions | |
static SalomeContainerTmpForHP * | BuildFrom (const SalomeHPContainer *cont, const Task *askingNode) |
Private Attributes | |
const SalomeHPContainer * | _zeOriginCont |
std::size_t | _pos |
Additional Inherited Members | |
Static Public Attributes inherited from YACS::ENGINE::SalomeContainer | |
static const char | KIND [] ="Salome" |
static const char | TYPE_PROPERTY_STR [] ="type" |
Protected Member Functions inherited from YACS::ENGINE::SalomeContainer | |
virtual | ~SalomeContainer () |
Protected Attributes inherited from YACS::ENGINE::SalomeContainer | |
YACS::BASES::Mutex | _mutex |
thread safety in Salome ??? More... | |
std::vector< std::string > | _componentNames |
SalomeContainerHelper * | _launchModeType |
int | _shutdownLevel |
SalomeContainerTools | _sct |
Definition at line 33 of file SalomeContainerTmpForHP.hxx.
|
inline |
Definition at line 36 of file SalomeContainerTmpForHP.hxx.
Referenced by BuildFrom().
|
static |
Definition at line 56 of file SalomeContainerTmpForHP.cxx.
References YACS::ENGINE::SalomeHPContainer::getComponentNames(), YACS::ENGINE::SalomeHPContainer::getContainerInfo(), YACS::ENGINE::SalomeHPContainer::getHelperOfTask(), YACS::ENGINE::SalomeHPContainer::getShutdownLev(), YACS::ENGINE::SalomeHPContainer::locateTask(), and SalomeContainerTmpForHP().
Referenced by YACS::ENGINE::PythonEntry::commonRemoteLoadPart2(), YACS::ENGINE::SalomeHPContainer::getDiscreminantStrOfThis(), YACS::ENGINE::SalomeHPComponent::load(), and YACS::ENGINE::DistributedPythonNode::load().
|
inlinevirtual |
Reimplemented from YACS::ENGINE::Container.
Definition at line 39 of file SalomeContainerTmpForHP.hxx.
References _pos, and _zeOriginCont.
Referenced by YACS::ENGINE::SalomeHPContainer::getDiscreminantStrOfThis().
|
virtual |
Load a component instance in this container.
inst | the component instance to load |
Reimplemented from YACS::ENGINE::SalomeContainer.
Definition at line 28 of file SalomeContainerTmpForHP.cxx.
References YACS::ENGINE::SalomeContainer::_launchModeType, YACS::ENGINE::SalomeContainerTools::CreateComponentInstance(), YACS::ENGINE::Task::getComponent(), YACS::ENGINE::SalomeContainerHelper::getContainer(), YACS::ENGINE::SalomeContainer::isAlreadyStarted(), and YACS::ENGINE::SalomeContainer::start().
Referenced by YACS::ENGINE::SalomeHPComponent::load().
|
private |
Definition at line 44 of file SalomeContainerTmpForHP.hxx.
Referenced by getDiscreminantStrOfThis().
|
private |
Definition at line 43 of file SalomeContainerTmpForHP.hxx.
Referenced by getDiscreminantStrOfThis().