Helper for using SALOME kernel services
def services.getComponent |
( |
|
componentName = "SalomeTestComponent" , |
|
|
|
corbaModule = "Engines" , |
|
|
|
containerType = "FactoryServer" |
|
) |
| |
Get a SALOME CORBA component from its name.
- Parameters
-
componentName | is 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
-
corbaModule | is 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. |
containerType | specified 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.