Back to index

salome-kernel  6.5.0
Functions | Variables
KERNEL_PY.salome_kernel Namespace Reference

Functions

def salome_kernel_init

Variables

int salome_kernel_initial = 1

Function Documentation

Definition at line 37 of file salome_kernel.py.

00037 
00038 def salome_kernel_init():
00039     global salome_kernel_initial
00040     global orb, lcc, naming_service, cm
00041     
00042     if salome_kernel_initial:
00043         salome_kernel_initial = 0
00044         
00045         # initialise the ORB
00046         orb = CORBA.ORB_init([''], CORBA.ORB_ID)
00047 
00048         # create a LifeCycleCORBA instance
00049         lcc = LifeCycleCORBA(orb)
00050 
00051         #create a naming service instance
00052         naming_service = SALOME_NamingServicePy_i(orb)
00053 
00054         # get Container Manager
00055         obj = naming_service.Resolve('/ContainerManager')
00056         cm = obj._narrow(Engines.ContainerManager)
00057 
00058     return orb, lcc, naming_service, cm

Here is the caller graph for this function:


Variable Documentation

Definition at line 35 of file salome_kernel.py.