Version: 6.3.1
Data Structures | Functions | Variables

src/Session/SALOME_Session_Server.cxx File Reference

#include <Container_init_python.hxx>
#include <Utils_ORB_INIT.hxx>
#include <Utils_SINGLETON.hxx>
#include <SALOME_NamingService.hxx>
#include <SALOME_ModuleCatalog_impl.hxx>
#include <OpUtil.hxx>
#include <RegistryService.hxx>
#include <ConnectionManager_i.hxx>
#include <SALOME_LifeCycleCORBA.hxx>
#include <QDir>
#include <QFile>
#include <QApplication>
#include <QMutex>
#include <QWaitCondition>
#include <QRegExp>
#include <QTextStream>
#include <Utils_SALOME_Exception.hxx>
#include <Utils_CorbaException.hxx>
#include <SALOME_Event.h>
#include <SALOMEconfig.h>
#include <CORBA_SERVER_HEADER(SALOME_Session)>
#include <CORBA_SERVER_HEADER(SALOMEDS)>
#include <utilities.h>
#include "Session_ServerLauncher.hxx"
#include "Session_ServerCheck.hxx"
#include <Qtx.h>
#include <QtxSplash.h>
#include <Style_Salome.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 <Standard_Version.hxx>
Include dependency graph for SALOME_Session_Server.cxx:

Data Structures

class  SALOME_ResourceMgr
class  SALOME_Session
class  SALOME_QApplication
class  GetInterfaceThread

Functions

void MessageOutput (QtMsgType type, const char *msg)
QString salomeVersion ()
bool isFound (const char *str, int argc, char **argv)
void killOmniNames ()
void shutdownServers (SALOME_NamingService *theNS)
int main (int argc, char **argv)

Variables

PyObject * salome_shared_modules_module = 0
 CORBA server for SALOME Session.
static const char * pixmap_not_found_xpm []

Function Documentation

void MessageOutput ( QtMsgType  type,
const char *  msg 
)
QString salomeVersion ( )
bool isFound ( const char *  str,
int  argc,
char **  argv 
)
void killOmniNames ( )
void shutdownServers ( SALOME_NamingService *  theNS)

References PyInterp.lcc.

int main ( int  argc,
char **  argv 
)

Variable Documentation

  • 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
const char* pixmap_not_found_xpm[] [static]
Initial value:
 {
"16 16 3 1",
"       c None",
".      c #000000",
"+      c #A80000",
"                ",
"                ",
"    .     .     ",
"   .+.   .+.    ",
"  .+++. .+++.   ",
"   .+++.+++.    ",
"    .+++++.     ",
"     .+++.      ",
"    .+++++.     ",
"   .+++.+++.    ",
"  .+++. .+++.   ",
"   .+.   .+.    ",
"    .     .     ",
"                ",
"                ",
"                "}
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS