Functions | |
| CORBA::ORB_ptr | getORB () | 
| This function returns a static reference to the orb.  More... | |
| SALOME_NamingService * | getNamingService () | 
| This function returns a static reference to the SALOME naming service.  More... | |
| SALOME_LifeCycleCORBA * | getLifeCycleCORBA () | 
| This function returns a static reference to the SALOME life cycle CORBA.  More... | |
| SALOMEDS::StudyManager_ptr | getStudyManager () | 
| This returns a static reference to the SALOME study manager.  More... | |
| SALOME::Session_ptr | getSalomeSession () | 
| This returns a static reference to the SALOME session.  More... | |
| Engines::SalomeLauncher_ptr | getSalomeLauncher () | 
| This returns a static reference to the SALOME launcher.  More... | |
| Engines::ResourcesManager_ptr | getResourcesManager () | 
| SALOMEDS::Study_ptr | getStudyById (int aStudyId) | 
| This returns the study with the specified id if it's defined in the SALOME study manager.  More... | |
| int | getStudyId (SALOMEDS::Study_ptr study) | 
| CORBA::Object_ptr | SObjectToObject (SALOMEDS::SObject_ptr theSObject) | 
| This function retrieve the CORBA object reference from the study object wrapping it.  More... | |
| CORBA::Object_ptr | IORToObject (char *IOR) | 
| This function provides a CORBA pointer to a servant from its IOR given as a string of characters.  More... | |
| SALOME::SALOME_Exception | createSalomeException (const char *text) | 
| template<class TInterface > | |
| TInterface::_var_type | ObjectToInterface (CORBA::Object_ptr object) | 
| This template function provides you with the servant (CORBA object narrowed to its interface) corresponding to the specified CORBA object (naked CORBA pointer).  More... | |
| template<class TInterface > | |
| TInterface::_var_type | SObjectToInterface (SALOMEDS::SObject_ptr sobject) | 
| SALOME::SALOME_Exception KERNEL::createSalomeException | ( | const char * | text | ) | 
References SALOME::INTERNAL_ERROR, SALOME::ExceptionStruct::text, and SALOME::ExceptionStruct::type.
| SALOME_LifeCycleCORBA * KERNEL::getLifeCycleCORBA | ( | ) | 
This function returns a static reference to the SALOME life cycle CORBA.
References getNamingService().
Referenced by TEST_corba(), KernelHelpersUnitTests::TEST_corba(), TEST_getLifeCycleCORBA(), and KernelHelpersUnitTests::TEST_getLifeCycleCORBA().
| SALOME_NamingService * KERNEL::getNamingService | ( | ) | 
This function returns a static reference to the SALOME naming service.
References getORB().
Referenced by SALOMEDS_Study_i::Close(), getLifeCycleCORBA(), getResourcesManager(), getSalomeLauncher(), getSalomeSession(), getStudyManager(), SALOMEDS_Study_i::SALOMEDS_Study_i(), TEST_corba(), and KernelHelpersUnitTests::TEST_corba().
| CORBA::ORB_ptr KERNEL::getORB | ( | ) | 
This function returns a static reference to the orb.
The orb can be used for example to initialize CORBA variables or to serialize and unserialize the CORBA objet to/from an IOR string.
Referenced by getNamingService(), IORToObject(), SObjectToObject(), TEST_corba(), and KernelHelpersUnitTests::TEST_corba().
| Engines::ResourcesManager_ptr KERNEL::getResourcesManager | ( | ) | 
References getNamingService(), and SALOME_NamingService::Resolve().
| Engines::SalomeLauncher_ptr KERNEL::getSalomeLauncher | ( | ) | 
This returns a static reference to the SALOME launcher.
The SALOME launcher can be used to schedule jobs, local or remote, using a batch system or not (see SALOME documentation).
References getNamingService(), and SALOME_NamingService::Resolve().
Referenced by KernelHelpersUnitTests::TEST_getSalomeLauncher(), and TEST_getSalomeLauncher().
| SALOME::Session_ptr KERNEL::getSalomeSession | ( | ) | 
This returns a static reference to the SALOME session.
The SALOME session can be used to retrieve some objects of the current session, as the SALOME study.
References getNamingService(), and SALOME_NamingService::Resolve().
| SALOMEDS::Study_ptr KERNEL::getStudyById | ( | int | aStudyId | ) | 
This returns the study with the specified id if it's defined in the SALOME study manager.
Returns null otherwise. Please not that it is just a shortcut, and you may prefer use directly the study manager: KERNEL::getStudyManager()->GetStudyByID(aStudyId)
References getStudyManager(), and INFOS.
| int KERNEL::getStudyId | ( | SALOMEDS::Study_ptr | study | ) | 
| SALOMEDS::StudyManager_ptr KERNEL::getStudyManager | ( | ) | 
This returns a static reference to the SALOME study manager.
The study manager can be used to retrieve a study or to get informations about a study.
References getNamingService(), and SALOME_NamingService::Resolve().
Referenced by getStudyById(), SALOME_StudyEditor::setStudyById(), KernelHelpersUnitTests::TEST_getStudyManager(), and TEST_getStudyManager().
| CORBA::Object_ptr KERNEL::IORToObject | ( | char * | IOR | ) | 
This function provides a CORBA pointer to a servant from its IOR given as a string of characters.
References getORB().
| TInterface::_var_type KERNEL::ObjectToInterface | ( | CORBA::Object_ptr | object | ) | 
This template function provides you with the servant (CORBA object narrowed to its interface) corresponding to the specified CORBA object (naked CORBA pointer).
| TInterface::_var_type KERNEL::SObjectToInterface | ( | SALOMEDS::SObject_ptr | sobject | ) | 
References SObjectToObject().
| CORBA::Object_ptr KERNEL::SObjectToObject | ( | SALOMEDS::SObject_ptr | theSObject | ) | 
This function retrieve the CORBA object reference from the study object wrapping it.
References getORB(), and INFOS.
Referenced by SObjectToInterface().