GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Master.h
Go to the documentation of this file.
1 // $Id: TGo4Master.h 2689 2020-01-10 13:47:49Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4MASTER_H
15 #define TGO4MASTER_H
16 
17 #include "TGo4TaskOwner.h"
18 #include "TString.h"
19 #include "Go4EmergencyCommands.h"
20 
21 class TGo4Command;
23 
24 class TGo4Master : public TGo4TaskOwner {
25  public:
26  TGo4Master() ;
27 
28  TGo4Master(const char* name, Bool_t isserver=kTRUE, const char* serverhost="localhost", UInt_t negotport=5000) ;
29 
30  virtual ~TGo4Master() ;
31 
33  Bool_t SubmitCommand(const char* name);
34 
37 
40  Bool_t SubmitCommand(TGo4Command* com);
41 
44 
45  virtual Bool_t DisconnectSlave(const char* name=0,
46  Bool_t waitforslave=kTRUE );
47 
48 private:
49 
53  TString fxSlaveNode;
54 
58  TString fxSlaveShell;
59 
64  TString fxSlaveExec;
65 };
66 #endif //TGO4MASTER_H
Go4EmergencyCommand_t
virtual Bool_t DisconnectSlave(const char *name=0, Bool_t waitforslave=kTRUE)
Definition: TGo4Master.cxx:78
virtual TGo4TaskHandlerCommandList * CreateCommandList()
Definition: TGo4Master.cxx:55
Bool_t SubmitEmergencyCommand(Go4EmergencyCommand_t val)
Definition: TGo4Master.cxx:66
TString fxSlaveNode
Definition: TGo4Master.h:53
TString fxSlaveShell
Definition: TGo4Master.h:58
virtual ~TGo4Master()
Definition: TGo4Master.cxx:50
TString fxSlaveExec
Definition: TGo4Master.h:64
Bool_t SubmitCommand(const char *name)
Definition: TGo4Master.cxx:60