+ bin
+ CMakeLists.txt
+ VERSION.in
- + runAppli.in
- + myrunSalome.py
+ + runHELLO.in
+ + runHELLO.py
+ idl
+ CMakeLists.txt
+ HELLO_Gen.idl
other modules. This file is strongly recommended but is not essential
for operation of the module.
-- \c bin/runAppli.in
-- \c bin/myrunSalome.py
+- \c bin/runHELLO.in
+- \c bin/runHELLO.py
These files are not essential but make the example easier to
use. These are scripts that can be used to run SALOME session with
other modules. Therefore, it is strongly recommended but is not
essential for correct operation of the module.
-The \c runAppli.in file is the equivalent of the \c runSalome script
+The \c runHELLO.in file is the equivalent of the \c runSalome script
distributed by the KERNEL module but configured to start SALOME
session with HELLO module only.
-The \c myrunSalome.py file reuses part of functionality provided by the
+The \c runHELLO.py file reuses part of functionality provided by the
KERNEL's \c runSalome.py script. It is used to run SALOME session and
start HELLO module in this session.
Go to the the \c \<HELLO_module_installation_dir\> directory and type:
<pre>
-[bash% ] ./bin/salome/runAppli
+[bash% ] ./bin/salome/runHELLO
</pre>
This command runs SALOME session configured for KERNEL and the HELLO
Python interpreter command line configured for SALOME that provides
access to SALOME Python API (including CORBA interfaces).
-The \c runAppli file is a shell script that executes a Python commands
+The \c runHELLO file is a shell script that executes a Python commands
running SALOME session by passing arguments to it in a command line:
<pre>
-${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python -i $HELLO_ROOT_DIR/bin/salome/myrunSalome.py --modules=HELLO --killall
+${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python -i $HELLO_ROOT_DIR/bin/salome/runHELLO.py --modules=HELLO --killall
</pre>
-These arguments state that the \c myrunSalome.py script located in the
+These arguments state that the \c runHELLO.py script located in the
HELLO module will be used, that the HELLO component will be
activated and all previously running SALOME sessions should be
shutdowned.
The \a HELLO_ORB module has to be imported before making a request to
load the component into the container, to obtain access to methods of
-the component. This container is made accessible in the \c myrunSalome.py
+the component. This container is made accessible in the \c runHELLO.py
by means of the \a container variable:
<pre>
The method of loading the component is not very different from that
is described above. The services of the LifeCycle module are used in
this case instead of calling the container directly. The call sequence
-is contained in the \c myrunSalome.py \a test() function.
+is contained in the \c runHELLO.py \a test() function.
<pre>
import salome