Version: 8.3.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

Functions

def services.getComponent
 Get a SALOME CORBA component from its name. More...
 
def services.getComponentList
 Get the list of names of all SALOME componenents register in the catalog. More...
 
def services.getStudyManager
 Get a study manager to create and manage SALOME studies. More...
 

Detailed Description

Helper for using SALOME kernel services

Function Documentation

def services.getComponent (   componentName = "SalomeTestComponent",
  corbaModule = "Engines",
  containerType = "FactoryServer" 
)

Get a SALOME CORBA component from its name.

Parameters
componentNameis the name of the component as declared in the XML SALOME catalog. A loadable library with name lib<componentName>Engine.so is supposed to be reachable. This library is supposed to provide a factory function with the prototype:
1 PortableServer::ObjectId * <componentName>Engine_factory( CORBA::ORB_ptr orb,
2  PortableServer::POA_ptr poa,
3  PortableServer::ObjectId* contId,
4  const char *instanceName,
5  const char *interfaceName );
Parameters
corbaModuleis the name of the IDL module that contains the definition of the interface of the component. This name corresponds to the namespace of the servant classes.
containerTypespecified the container in which the servants are executed.
def services.getComponentList ( )

Get the list of names of all SALOME componenents register in the catalog.

def services.getStudyManager ( )

Get a study manager to create and manage SALOME studies.