1 //=============================================================================
2 // File : SALOME_Session.idl
3 // Created : mar jun 19 09:15:07 CEST 2001
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2001
8 //=============================================================================
11 //***//#include "VISU_Gen.idl"
12 /*! \defgroup Kernel SALOME KERNEL module
17 This package contains interfaces used for management of the session in %SALOME application.
21 /*! \brief State of the session
23 This enumeration contains values defining the state of the session
26 enum SessionState {asleep, running} ;
28 /*! \brief %Session State and Statistics
31 This struct contains a field list with general information about the session
36 /*! \brief State of the session
39 * -# asleep : no running study
40 * -# running : one or more running studies
43 /*! Number of running studies
45 short runningStudies ;
46 /*! It is True if GUI is active in the session
50 /*! \brief Interface of the session
52 The %session Server launches and stops GUI (Graphical User Interface).
53 The %session can be active without GUI (It can contain one or more running studies)
59 This exception is raised when trying to stop the %session with active GUI
61 exception GUIActive {} ;
63 This exception is raised when trying to stop the %session with a number of running studies.
65 exception RunningStudies {} ;
68 Launches GUI in the session
71 //***// VISU::VISU_Gen GetVisuGen();
74 Stops the %Session (It must be idle)
76 void StopSession() raises(GUIActive, RunningStudies) ;
81 StatSession GetStatSession() ;
83 Determines whether the server has already been loaded or not.