Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SALOME_Session_Server.cxx File Reference
#include <SALOME_NamingService.hxx>
#include <SALOME_ModuleCatalog_impl.hxx>
#include <SALOME_LifeCycleCORBA.hxx>
#include <SALOME_Event.h>
#include <Container_init_python.hxx>
#include <ConnectionManager_i.hxx>
#include <RegistryService.hxx>
#include <OpUtil.hxx>
#include <Utils_ORB_INIT.hxx>
#include <Utils_SINGLETON.hxx>
#include <Utils_SALOME_Exception.hxx>
#include <Utils_CorbaException.hxx>
#include <utilities.h>
#include "Session_ServerLauncher.hxx"
#include "Session_ServerCheck.hxx"
#include "Session_Session_i.hxx"
#include <Qtx.h>
#include <QtxSplash.h>
#include "GUI_version.h"
#include <SUIT_Tools.h>
#include <SUIT_Session.h>
#include <SUIT_Application.h>
#include <SUIT_Desktop.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_ExceptionHandler.h>
#include <SALOMEconfig.h>
#include <CORBA_SERVER_HEADER(SALOME_Session)>
#include <CORBA_SERVER_HEADER(SALOMEDS)>
#include <time.h>
#include <QDir>
#include <QFile>
#include <QApplication>
#include <QMutex>
#include <QWaitCondition>
#include <QRegExp>
#include <QTextStream>

Classes

class  SALOME_ResourceMgr
 
class  SALOME_Session
 
class  SALOME_QApplication
 
class  GetInterfaceThread
 

Functions

void MessageOutput (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 CORBA server for SALOME Session. More...
 
QString salomeVersion ()
 
bool isFound (const char *str, int argc, char **argv)
 
void killOmniNames ()
 
void shutdownServers (SALOME_NamingService *theNS)
 
int main (int argc, char **argv)
 

Function Documentation

bool isFound ( const char *  str,
int  argc,
char **  argv 
)
void killOmniNames ( )
void MessageOutput ( QtMsgType  type,
const QMessageLogContext &  context,
const QString &  msg 
)
  • read arguments, define list of server to launch with their arguments.
    • wait for naming service
    • create and run a thread for launch of all servers

SALOME_Session Server launches a SALOME session servant. The servant registers to the Naming Service. See SALOME_Session.idl for interface specification.

Main services offered by the servant are:

  • launch GUI
  • stop Session ( must be idle )
  • get session state
QString salomeVersion ( )
void shutdownServers ( SALOME_NamingService *  theNS)