Back to index

salome-gui  6.5.0
Namespaces | Functions
SALOME_GuiServices.hxx File Reference
#include <SalomeApp_Application.h>
#include <SalomeApp_Study.h>
#include <LightApp_SelectionMgr.h>
#include <SUIT_ResourceMgr.h>
#include "SALOMEconfig.h"
#include <SALOME_InteractiveObject.hxx>
#include <SALOME_KernelServices.hxx>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  GUI

Functions

SalomeApp_ApplicationGUI::getSalomeApplication ()
 Get the SALOME application, i.e.
LightApp_SelectionMgr * GUI::getSelectionManager ()
 Get the selection manager of the SALOME application.
SUIT_ResourceMgr * GUI::getResourcesManager ()
SALOMEDS::Study_ptr GUI::getActiveStudy ()
 This returns the current active study if an active study is defined in the SALOME session, returns null otherwise.
int GUI::getActiveStudyId ()
 This returns the current active study id if an active study is defined in the SALOME session, returns -1 otherwise.
SalomeApp_Study * GUI::getSalomeAppActiveStudy ()
SALOMEDS::SObject_ptr GUI::IObjectToSObject (const Handle(SALOME_InteractiveObject)&iobject)
template<class TInterface >
TInterface::_var_type GUI::IObjectToInterface (const Handle(SALOME_InteractiveObject)&iobject)