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 //=============================================================================
10 //! module SALOME regroups all idl definitions for SALOME Kernel
11 #include "VISU_Gen.idl"
14 enum SessionState {asleep, running } ;
16 //! Session State and Statistics
20 * -# asleep : no running study
21 * -# running : one or more running studies
22 * - number of running studies
23 * - active GUI : true/false
29 short runningStudies ;
34 * Session Server launches and stops GUI (Graphical User Interface)
35 * Session can be active without GUI (one or more running studies)
40 exception GUIActive {} ;
41 exception RunningStudies {} ;
44 oneway void GetInterface() ;
45 VISU::VISU_Gen GetVisuGen();
47 //! Stops Session (must be idle)
48 void StopSession() raises(GUIActive, RunningStudies) ;
50 //! Gets Session State
51 StatSession GetStatSession() ;