#include <Session_Session_i.hxx>

Public Member Functions | |
| SALOME_Session_i (int argc, char **argv, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, QMutex *GUIMutex, QWaitCondition *GUILauncher) | |
| ~SALOME_Session_i () | |
| void | GetInterface () | 
| Launch Graphical User Interface.  More... | |
| Engines::EngineComponent_ptr | GetComponent (const char *theLibraryName) | 
| Return VISU component.  More... | |
| void | StopSession () | 
| Stop the Session (must be idle): kill servant & server.  More... | |
| SALOME::StatSession | GetStatSession () | 
| Get session state.  More... | |
| void | Shutdown () | 
| Shutdown session.  More... | |
| void | NSregister () | 
| Register the servant to Naming Service.  More... | |
| void | NSunregister () | 
| Unregister the servant from Naming Service.  More... | |
| CORBA::Long | GetActiveStudyId () | 
| void | ping () | 
| CORBA::Long | getPID () | 
| char * | getHostname () | 
| bool | restoreVisualState (CORBA::Long theSavePoint) | 
| Restors a visual state of the study at theSavePoint.  More... | |
| SALOME::StringSeq * | getSelection () | 
| Get list of selected entities.  More... | |
| void | emitMessage (const char *theMessage) | 
| Emit a qt signal from the session GUI desktop window.  More... | |
| void | emitMessageOneWay (const char *theMessage) | 
Protected Attributes | |
| SALOME_NamingService * | _NS | 
| Naming service interface.  More... | |
| int | _argc | 
| char ** | _argv | 
| CORBA::Boolean | _isGUI | 
| QMutex * | _GUIMutex | 
| QWaitCondition * | _GUILauncher | 
| int | _runningStudies | 
| CORBA::ORB_var | _orb | 
| PortableServer::POA_var | _poa | 
| bool | _isShuttingDown | 
| SALOME_Session_i::SALOME_Session_i | ( | int | argc, | 
| char ** | argv, | ||
| CORBA::ORB_ptr | orb, | ||
| PortableServer::POA_ptr | poa, | ||
| QMutex * | GUIMutex, | ||
| QWaitCondition * | GUILauncher | ||
| ) | 
constructor
References _argc, _argv, _GUILauncher, _GUIMutex, _isGUI, _isShuttingDown, _NS, _orb, _poa, and _runningStudies.
| SALOME_Session_i::~SALOME_Session_i | ( | ) | 
destructor
References _NS.
| void SALOME_Session_i::emitMessage | ( | const char * | theMessage | ) | 
| void SALOME_Session_i::emitMessageOneWay | ( | const char * | theMessage | ) | 
References emitMessage().
| CORBA::Long SALOME_Session_i::GetActiveStudyId | ( | ) | 
| Engines::EngineComponent_ptr SALOME_Session_i::GetComponent | ( | const char * | theLibraryName | ) | 
| char * SALOME_Session_i::getHostname | ( | ) | 
| void SALOME_Session_i::GetInterface | ( | ) | 
Launches the GUI if there is none. The Corba method is oneway (corba client does'nt wait for GUI completion)
References _GUILauncher, _GUIMutex, and SUIT_Session::session().
| CORBA::Long SALOME_Session_i::getPID | ( | ) | 
| SALOME::StringSeq * SALOME_Session_i::getSelection | ( | ) | 
| SALOME::StatSession SALOME_Session_i::GetStatSession | ( | ) | 
Send a SALOME::StatSession structure (see idl) to the client (number of running studies and presence of GUI)
References _GUIMutex, _isGUI, _isShuttingDown, _runningStudies, SUIT_Session::activeApplication(), SUIT_Application::getNbStudies(), and SUIT_Session::session().
| void SALOME_Session_i::NSregister | ( | ) | 
tries to find the Corba Naming Service and to register the session, gives naming service interface to _IAPPThread
References _NS.
| void SALOME_Session_i::NSunregister | ( | ) | 
Unregister session server from CORBA Naming Service
References _NS.
      
  | 
  inline | 
| bool SALOME_Session_i::restoreVisualState | ( | CORBA::Long | theSavePoint | ) | 
| void SALOME_Session_i::Shutdown | ( | ) | 
References _GUILauncher, _GUIMutex, _isShuttingDown, ProcessVoidEvent(), and SUIT_Session::session().
| void SALOME_Session_i::StopSession | ( | ) | 
Stop session (close all GUI windows)
References _GUIMutex, ProcessVoidEvent(), and SUIT_Session::session().
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |