GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4Master Class Reference

#include <TGo4Master.h>

+ Inheritance diagram for TGo4Master:

Public Member Functions

 TGo4Master ()
 
 TGo4Master (const char *name, Bool_t isserver=kTRUE, const char *serverhost="localhost", UInt_t negotport=5000)
 
virtual ~TGo4Master ()
 
Bool_t SubmitCommand (const char *name)
 
Bool_t SubmitEmergencyCommand (Go4EmergencyCommand_t val)
 
Bool_t SubmitCommand (TGo4Command *com)
 
virtual
TGo4TaskHandlerCommandList
CreateCommandList ()
 
virtual Bool_t DisconnectSlave (const char *name=0, Bool_t waitforslave=kTRUE)
 
- Public Member Functions inherited from TGo4TaskOwner
 TGo4TaskOwner ()
 
 TGo4TaskOwner (Bool_t isserver)
 
virtual ~TGo4TaskOwner ()
 
Bool_t IsServer ()
 
TGo4TaskGetTask ()
 
virtual Int_t StartWorkThreads ()
 
virtual Int_t StopWorkThreads ()
 
virtual void Quit ()
 
const char * GetName () const
 
Bool_t IsConnected ()
 
Bool_t IsBeingQuit ()
 
TMutex * GetTaskManagerMutex ()
 
- Public Member Functions inherited from TGo4CommandReceiver
 TGo4CommandReceiver ()
 
virtual ~TGo4CommandReceiver ()
 

Private Attributes

TString fxSlaveNode
 
TString fxSlaveShell
 
TString fxSlaveExec
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4TaskOwner
void SetTask (TGo4Task *task, Bool_t delold=kTRUE)
 

Detailed Description

Definition at line 24 of file TGo4Master.h.

Constructor & Destructor Documentation

TGo4Master::TGo4Master ( )

Definition at line 21 of file TGo4Master.cxx.

TGo4Master::TGo4Master ( const char *  name,
Bool_t  isserver = kTRUE,
const char *  serverhost = "localhost",
UInt_t  negotport = 5000 
)
TGo4Master::~TGo4Master ( )
virtual

Definition at line 50 of file TGo4Master.cxx.

References TGo4CommandInvoker::UnRegister().

Member Function Documentation

TGo4TaskHandlerCommandList * TGo4Master::CreateCommandList ( )
virtual

factory method for command list; overridden by implementation

Definition at line 55 of file TGo4Master.cxx.

Referenced by TGo4Task::Initialization().

Bool_t TGo4Master::DisconnectSlave ( const char *  name = 0,
Bool_t  waitforslave = kTRUE 
)
virtual
Bool_t TGo4Master::SubmitCommand ( const char *  name)
Bool_t TGo4Master::SubmitCommand ( TGo4Command com)

send given command to the current slave task. Command object is deleted after this call internally!

Definition at line 72 of file TGo4Master.cxx.

References TGo4TaskOwner::GetTask(), and TGo4Task::SubmitCommand().

Bool_t TGo4Master::SubmitEmergencyCommand ( Go4EmergencyCommand_t  val)

send emergency quit command to the current slave task

Definition at line 66 of file TGo4Master.cxx.

References TGo4TaskOwner::GetTask(), and TGo4Task::SubmitEmergencyCommand().

Member Data Documentation

TString TGo4Master::fxSlaveExec
private

Name of the executable (command) that is running in the slave process. Used to kill it later.

Definition at line 64 of file TGo4Master.h.

TString TGo4Master::fxSlaveNode
private

Name of the node where the slave is running. Used to kill it later.

Definition at line 53 of file TGo4Master.h.

TString TGo4Master::fxSlaveShell
private

Name of the shell where the slave is running. Used to kill it later.

Definition at line 58 of file TGo4Master.h.


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