Version: 9.12.0
Session_ServerLauncher< MY_NS > Class Template Reference

#include <Session_ServerLauncher.hxx>

Inheritance diagram for Session_ServerLauncher< MY_NS >:
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 ShutdownAll ()
 
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
 
std::list< ServArg_argServToLaunch
 
std::vector< std::string > _argCopy
 
std::list< Session_ServerThread< MY_NS > * > _serverThreads
 

Constructor & Destructor Documentation

◆ Session_ServerLauncher() [1/2]

template<class MY_NS >
Session_ServerLauncher< MY_NS >::Session_ServerLauncher

default constructor not for use

◆ Session_ServerLauncher() [2/2]

template<class MY_NS >
Session_ServerLauncher< MY_NS >::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()

template<class MY_NS >
Session_ServerLauncher< MY_NS >::~Session_ServerLauncher
virtual

destructor

Member Function Documentation

◆ ActivateAll()

template<class MY_NS >
void Session_ServerLauncher< MY_NS >::ActivateAll
protected

◆ CheckArgs()

template<class MY_NS >
void Session_ServerLauncher< MY_NS >::CheckArgs
protected

controls and dispatchs arguments given with command

References ServArg::_firstArg, ServArg::_lastArg, and ServArg::_servType.

◆ KillAll()

template<class MY_NS >
void Session_ServerLauncher< MY_NS >::KillAll

Destruction des classes serveur dans l'ordre inverse de creation

◆ run()

template<class MY_NS >
void Session_ServerLauncher< MY_NS >::run

Check args and activate servers

◆ ShutdownAll()

template<class MY_NS >
void Session_ServerLauncher< MY_NS >::ShutdownAll

Member Data Documentation

◆ _argc

template<class MY_NS >
int Session_ServerLauncher< MY_NS >::_argc
private

◆ _argCopy

template<class MY_NS >
std::vector<std::string> Session_ServerLauncher< MY_NS >::_argCopy
private

◆ _argServToLaunch

template<class MY_NS >
std::list<ServArg> Session_ServerLauncher< MY_NS >::_argServToLaunch
private

◆ _argv

template<class MY_NS >
char** Session_ServerLauncher< MY_NS >::_argv
private

◆ _GUIMutex

template<class MY_NS >
QMutex* Session_ServerLauncher< MY_NS >::_GUIMutex
private

◆ _orb

template<class MY_NS >
CORBA::ORB_var Session_ServerLauncher< MY_NS >::_orb
private

◆ _root_poa

template<class MY_NS >
PortableServer::POA_var Session_ServerLauncher< MY_NS >::_root_poa
private

◆ _ServerLaunch

template<class MY_NS >
QWaitCondition* Session_ServerLauncher< MY_NS >::_ServerLaunch
private

◆ _serverThreads

template<class MY_NS >
std::list< Session_ServerThread<MY_NS>* > Session_ServerLauncher< MY_NS >::_serverThreads
private

◆ _SessionMutex

template<class MY_NS >
QMutex* Session_ServerLauncher< MY_NS >::_SessionMutex
private

◆ _SessionStarted

template<class MY_NS >
QWaitCondition* Session_ServerLauncher< MY_NS >::_SessionStarted
private

The documentation for this class was generated from the following files: