]> SALOME platform Git repositories - modules/kernel.git/commit
Salome HOME
CCAR: improvement to the component loading mechanism of SALOME (issue 20675)
authorcaremoli <caremoli>
Fri, 9 Apr 2010 16:27:12 +0000 (16:27 +0000)
committercaremoli <caremoli>
Fri, 9 Apr 2010 16:27:12 +0000 (16:27 +0000)
commitf7c5bb0c6eb808a2fe0fe66029e09600366edab1
treec16361e0a21588005b6827731d1bd41fa98f3fca
parent955af0251cad2f06d8f506ddd51b29620dfeb10b
CCAR: improvement to the component loading mechanism of SALOME (issue 20675)
Main modifications are:
- add an out string argument to container methods (load_component_Library and create_component_instance_env)
to report reason when load or create fails (INTERFACE CHANGE)
- try to detect if the implementation is C++, python or executable based on intermediate errors (dlopen, dlsym,
import, ...)
- some refactoring to put specific parts in separate methods
- minimal update of MPIContainer and ParallelContainer
- keep LifeCycle unchanged
14 files changed:
idl/SALOME_Component.idl
src/Container/Container_i.cxx
src/Container/SALOME_Container.cxx
src/Container/SALOME_Container.py
src/Container/SALOME_ContainerPy.py
src/Container/SALOME_Container_i.hxx
src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx
src/MPIContainer/MPIContainer_i.cxx
src/MPIContainer/MPIContainer_i.hxx
src/ParallelContainer/SALOME_ParallelContainerProxy_i.cxx
src/ParallelContainer/SALOME_ParallelContainerProxy_i.hxx
src/ParallelContainer/SALOME_ParallelContainer_i.cxx
src/ParallelContainer/SALOME_ParallelContainer_i.hxx
src/TestContainer/TestContainer.cxx