Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
LifeCycleCORBA.LifeCycleCORBA Class Reference
Inheritance diagram for LifeCycleCORBA.LifeCycleCORBA:
Inheritance graph
[legend]
Collaboration diagram for LifeCycleCORBA.LifeCycleCORBA:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def FindOrLoadComponent
def FindComponent
 Find an already existing and registered component instance.
def LoadComponent
 Load a component instance on a container defined by machine parameters.
def FindOrLoad_Component
 Find an already existing and registered component instance or load a new component instance on a container defined by machine parameters.
def Load_ParallelComponent
 Load a parallel component instance.
def isKnownComponentClass
 Check if the component class is known in module catalog.
def isMpiContainer
 Not so complex...
def NbProc
def preSet
 Initialisation of a given Engines::MachineParameters with default values.
def getContainerManager
 Get the container manager.
def getResourcesManager
 Get the resources manager.
def namingService
 get the naming service used by the life cycle
def orb
 get the orb used by the life cycle
def copyFile
 copy a file from a source host to a destination host
def shutdownServers
 shutdown all the SALOME servers except SALOME_Session_Server, omniNames and notifd
def killOmniNames
 shutdown omniNames and notifd
def convert

Public Attributes

 this

Detailed Description

Definition at line 33 of file LifeCycleCORBA.py.


Constructor & Destructor Documentation

def LifeCycleCORBA.LifeCycleCORBA.__init__ (   self,
  ns = None 
)
__init__(self, SALOME_NamingService ns = None) -> SALOME_LifeCycleCORBA
__init__(self) -> SALOME_LifeCycleCORBA

Reimplemented from libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA.

Definition at line 35 of file LifeCycleCORBA.py.

00035 
00036     def __init__(self, orb = None):
00037         SALOME_LifeCycleCORBA.__init__(self)


Member Function Documentation

void SALOME_LifeCycleCORBA.convert (   self,
  args 
) [inherited]
convert(self, Engines::MachineParameters params_in, Engines::ContainerParameters params_out)

Definition at line 225 of file libSALOME_LifeCycleCORBA.py.

00225 
00226     def convert(self, *args):
00227         """convert(self, Engines::MachineParameters params_in, Engines::ContainerParameters params_out)"""
00228         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_convert(self, *args)

void SALOME_LifeCycleCORBA.copyFile (   self,
  args 
) [inherited]

copy a file from a source host to a destination host

copyFile(self, char hostSrc, char fileSrc, char hostDest, char fileDest)
Parameters:
hostSrcthe source host
fileSrcthe file to copy from the source host to the destination host
hostDestthe destination host
fileDestthe destination file

Definition at line 211 of file libSALOME_LifeCycleCORBA.py.

00211 
00212     def copyFile(self, *args):
00213         """copyFile(self, char hostSrc, char fileSrc, char hostDest, char fileDest)"""
00214         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_copyFile(self, *args)

Engines.EngineComponent_ptr SALOME_LifeCycleCORBA.FindComponent (   self,
  args 
) [inherited]

Find an already existing and registered component instance.

FindComponent(self, Engines::MachineParameters params, char componentName, 
    int studyId = 0) -> Engines::EngineComponent_ptr
FindComponent(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
Parameters:
paramsmachine parameters like type or name...
componentNamethe name of component class
studyIddefault = 0 : multistudy instance
Returns:
a CORBA reference of the component instance, or _nil if not found

Definition at line 138 of file libSALOME_LifeCycleCORBA.py.

00138 
00139     def FindComponent(self, *args):
00140         """
00141         FindComponent(self, Engines::MachineParameters params, char componentName, 
00142             int studyId = 0) -> Engines::EngineComponent_ptr
00143         FindComponent(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
00144         """
00145         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_FindComponent(self, *args)

Engines.EngineComponent_ptr SALOME_LifeCycleCORBA.FindOrLoad_Component (   self,
  args 
) [inherited]

Find an already existing and registered component instance or load a new component instance on a container defined by machine parameters.

Find an already existing and registered component instance or load a new component instance on a container defined by name.

FindOrLoad_Component(self, Engines::MachineParameters params, char componentName, 
    int studyId = 0) -> Engines::EngineComponent_ptr
FindOrLoad_Component(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
FindOrLoad_Component(self, Engines::ContainerParameters params, char componentName, 
    int studyId = 0) -> Engines::EngineComponent_ptr
FindOrLoad_Component(self, Engines::ContainerParameters params, char componentName) -> Engines::EngineComponent_ptr
FindOrLoad_Component(self, char containerName, char componentName) -> Engines::EngineComponent_ptr
Parameters:
paramsmachine parameters like type or name...
componentNamethe name of component class
studyIddefault = 0 : multistudy instance
Returns:
a CORBA reference of the component instance, or _nil if problem
Parameters:
containerNamethe name of container, under one of the forms
  • 1 aContainer (local container)
  • 2 machine/aContainer (container on hostname = machine)
componentNamethe name of component class
Returns:
a CORBA reference of the component instance, or _nil if problem

Definition at line 154 of file libSALOME_LifeCycleCORBA.py.

00154 
00155     def FindOrLoad_Component(self, *args):
00156         """
00157         FindOrLoad_Component(self, Engines::MachineParameters params, char componentName, 
00158             int studyId = 0) -> Engines::EngineComponent_ptr
00159         FindOrLoad_Component(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
00160         FindOrLoad_Component(self, Engines::ContainerParameters params, char componentName, 
00161             int studyId = 0) -> Engines::EngineComponent_ptr
00162         FindOrLoad_Component(self, Engines::ContainerParameters params, char componentName) -> Engines::EngineComponent_ptr
00163         FindOrLoad_Component(self, char containerName, char componentName) -> Engines::EngineComponent_ptr
00164         """
00165         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_FindOrLoad_Component(self, *args)

def LifeCycleCORBA.LifeCycleCORBA.FindOrLoadComponent (   self,
  containerName,
  componentName 
)

Definition at line 38 of file LifeCycleCORBA.py.

00038 
00039     def FindOrLoadComponent(self, containerName, componentName):
00040         return SALOME_LifeCycleCORBA.FindOrLoad_Component(self,
00041                                                           containerName,
00042                                                           componentName)

Engines.ContainerManager_ptr SALOME_LifeCycleCORBA.getContainerManager (   self) [inherited]

Get the container manager.

getContainerManager(self) -> Engines::ContainerManager_ptr
Returns:
the container Manager

Definition at line 195 of file libSALOME_LifeCycleCORBA.py.

00195 
00196     def getContainerManager(self):
00197         """getContainerManager(self) -> Engines::ContainerManager_ptr"""
00198         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_getContainerManager(self)

Engines.ResourcesManager_ptr SALOME_LifeCycleCORBA.getResourcesManager (   self) [inherited]

Get the resources manager.

getResourcesManager(self) -> Engines::ResourcesManager_ptr
Returns:
the container Manager

Definition at line 199 of file libSALOME_LifeCycleCORBA.py.

00199 
00200     def getResourcesManager(self):
00201         """getResourcesManager(self) -> Engines::ResourcesManager_ptr"""
00202         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_getResourcesManager(self)

bool SALOME_LifeCycleCORBA.isKnownComponentClass (   self,
  args 
) [inherited]

Check if the component class is known in module catalog.

isKnownComponentClass(self, char componentName) -> bool
Parameters:
componentNamethe name of component class
Returns:
true if found, false otherwise

Definition at line 173 of file libSALOME_LifeCycleCORBA.py.

00173 
00174     def isKnownComponentClass(self, *args):
00175         """isKnownComponentClass(self, char componentName) -> bool"""
00176         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_isKnownComponentClass(self, *args)

bool SALOME_LifeCycleCORBA.isMpiContainer (   self,
  args 
) [inherited]

Not so complex...

isMpiContainer(self, Engines::ContainerParameters params) -> bool

useful ?

Definition at line 177 of file libSALOME_LifeCycleCORBA.py.

00177 
00178     def isMpiContainer(self, *args):
00179         """isMpiContainer(self, Engines::ContainerParameters params) -> bool"""
00180         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_isMpiContainer(self, *args)

shutdown omniNames and notifd

killOmniNames()

Definition at line 219 of file libSALOME_LifeCycleCORBA.py.

00219 
00220     def killOmniNames():
00221         """killOmniNames()"""
00222         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_killOmniNames()

Engines.EngineComponent_ptr SALOME_LifeCycleCORBA.Load_ParallelComponent (   self,
  args 
) [inherited]

Load a parallel component instance.

Load_ParallelComponent(self, Engines::ContainerParameters params, char componentName, 
    int studyId) -> Engines::EngineComponent_ptr
Parameters:
paramsmachine parameters like type or name...
componentNamethe name of component class
studyIddefault = 0 : multistudy instance
Returns:
a CORBA reference of the parallel component instance, or _nil if problem

Definition at line 166 of file libSALOME_LifeCycleCORBA.py.

00166 
00167     def Load_ParallelComponent(self, *args):
00168         """
00169         Load_ParallelComponent(self, Engines::ContainerParameters params, char componentName, 
00170             int studyId) -> Engines::EngineComponent_ptr
00171         """
00172         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_Load_ParallelComponent(self, *args)

Engines.EngineComponent_ptr SALOME_LifeCycleCORBA.LoadComponent (   self,
  args 
) [inherited]

Load a component instance on a container defined by machine parameters.

LoadComponent(self, Engines::MachineParameters params, char componentName, 
    int studyId = 0) -> Engines::EngineComponent_ptr
LoadComponent(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
Parameters:
paramsmachine parameters like type or name...
componentNamethe name of component class
studyIddefault = 0 : multistudy instance
Returns:
a CORBA reference of the component instance, or _nil if problem

Definition at line 146 of file libSALOME_LifeCycleCORBA.py.

00146 
00147     def LoadComponent(self, *args):
00148         """
00149         LoadComponent(self, Engines::MachineParameters params, char componentName, 
00150             int studyId = 0) -> Engines::EngineComponent_ptr
00151         LoadComponent(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
00152         """
00153         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_LoadComponent(self, *args)

get the naming service used by the life cycle

namingService(self) -> SALOME_NamingService
Returns:
the naming service

Definition at line 203 of file libSALOME_LifeCycleCORBA.py.

00203 
00204     def namingService(self):
00205         """namingService(self) -> SALOME_NamingService"""
00206         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_namingService(self)

int SALOME_LifeCycleCORBA.NbProc (   self,
  args 
) [inherited]
NbProc(self, Engines::ContainerParameters params) -> int
Returns:
a number of processors not 0, only for MPI containers

Definition at line 181 of file libSALOME_LifeCycleCORBA.py.

00181 
00182     def NbProc(self, *args):
00183         """NbProc(self, Engines::ContainerParameters params) -> int"""
00184         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_NbProc(self, *args)

CORBA.ORB_ptr SALOME_LifeCycleCORBA.orb (   self) [inherited]

get the orb used by the life cycle

orb(self) -> CORBA::ORB_ptr
Returns:
the orb

Definition at line 207 of file libSALOME_LifeCycleCORBA.py.

00207 
00208     def orb(self):
00209         """orb(self) -> CORBA::ORB_ptr"""
00210         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_orb(self)

void SALOME_LifeCycleCORBA.preSet (   args) [inherited]

Initialisation of a given Engines::MachineParameters with default values.

preSet(Engines::MachineParameters outparams)
preSet(Engines::ResourceParameters outparams)
preSet(Engines::ContainerParameters outparams)
  • container_name = "" : not relevant
    • hostname = "" : not relevant
    • OS = "" : not relevant
    • nb_proc = 0 : not relevant
    • mem_mb = 0 : not relevant
    • cpu_clock = 0 : not relevant
    • nb_proc_per_node = 0 : not relevant
    • nb_node = 0 : not relevant
    • isMPI = false : standard components

Definition at line 185 of file libSALOME_LifeCycleCORBA.py.

00185 
00186     def preSet(*args):
00187         """
00188         preSet(Engines::MachineParameters outparams)
00189         preSet(Engines::ResourceParameters outparams)
00190         preSet(Engines::ContainerParameters outparams)
00191         """
00192         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_preSet(*args)

void SALOME_LifeCycleCORBA.shutdownServers (   self) [inherited]

shutdown all the SALOME servers except SALOME_Session_Server, omniNames and notifd

shutdownServers(self)

Definition at line 215 of file libSALOME_LifeCycleCORBA.py.

00215 
00216     def shutdownServers(self):
00217         """shutdownServers(self)"""
00218         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_shutdownServers(self)


Member Data Documentation

Definition at line 135 of file libSALOME_LifeCycleCORBA.py.


The documentation for this class was generated from the following file: