1 //=============================================================================
2 // File : SALOME_Session_i.hxx
3 // Created : mar jun 19 13:42:55 CEST 2001
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2001
8 //=============================================================================
10 #ifndef _SALOME_SESSION_I_HXX_
11 #define _SALOME_SESSION_I_HXX_
15 #include <SALOMEconfig.h>
16 //***//#include CORBA_SERVER_HEADER(VISU_Gen)
17 #include CORBA_SERVER_HEADER(SALOME_Session)
18 class SALOME_NamingService;
19 class SALOME_Session_QThread;
21 //! CORBA SALOME Session Servant
23 class SALOME_Session_i: public POA_SALOME::Session,
24 public PortableServer::RefCountServantBase
27 SALOME_Session_i(int argc, char ** argv, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) ;
30 //! Launch Graphical User Interface
32 //***//VISU::VISU_Gen_ptr GetVisuGen();
34 //! Stop the Session (must be idle): kill servant & server
38 SALOME::StatSession GetStatSession();
40 //! Register the servant to Naming Service
46 //! A QT Thread for the GUI
47 SALOME_Session_QThread *_IAPPThread ;
49 //! Naming service interface
50 SALOME_NamingService *_NS;
54 CORBA::Boolean _isGUI ;
58 PortableServer::POA_var _poa;