Version: 6.3.1
Public Member Functions | Protected Member Functions | Private Attributes

Session_ServerLauncher Class Reference

#include <Session_ServerLauncher.hxx>

Inheritance diagram for Session_ServerLauncher:
Inheritance graph

Public Member Functions

 Session_ServerLauncher ()
 Session_ServerLauncher (int argc, char **argv, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, QMutex *GUIMutex, QWaitCondition *ServerLaunch, QMutex *SessionMutex, QWaitCondition *SessionStarted)
virtual ~Session_ServerLauncher ()
void run ()
void KillAll ()

Protected Member Functions

void CheckArgs ()
void ActivateAll ()

Private Attributes

int _argc
char ** _argv
CORBA::ORB_var _orb
PortableServer::POA_var _root_poa
QMutex * _GUIMutex
QWaitCondition * _ServerLaunch
QMutex * _SessionMutex
QWaitCondition * _SessionStarted
list< ServArg_argServToLaunch
vector< string > _argCopy
list< Session_ServerThread * > _serverThreads

Constructor & Destructor Documentation

Session_ServerLauncher::Session_ServerLauncher ( )

default constructor not for use

Session_ServerLauncher::Session_ServerLauncher ( int  argc,
char **  argv,
CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
QMutex *  GUIMutex,
QWaitCondition *  ServerLaunch,
QMutex *  SessionMutex,
QWaitCondition *  SessionStarted 
)

constructor

Session_ServerLauncher::~Session_ServerLauncher ( ) [virtual]

destructor


Member Function Documentation

void Session_ServerLauncher::run ( )

Check args and activate servers

void Session_ServerLauncher::KillAll ( )

Destruction des classes serveur dans l'ordre inverse de creation

void Session_ServerLauncher::CheckArgs ( ) [protected]

controls and dispatchs arguments given with command

References ServArg._firstArg, ServArg._lastArg, Session_ServerThread._serverTypes, ServArg._servType, and Session_ServerThread.NB_SRV_TYP.

void Session_ServerLauncher::ActivateAll ( ) [protected]

Field Documentation

char** Session_ServerLauncher._argv [private]
CORBA::ORB_var Session_ServerLauncher._orb [private]
PortableServer::POA_var Session_ServerLauncher._root_poa [private]
QWaitCondition* Session_ServerLauncher._ServerLaunch [private]
QWaitCondition* Session_ServerLauncher._SessionStarted [private]
vector<string> Session_ServerLauncher._argCopy [private]
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