GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ComDisconnectSlave.h
Go to the documentation of this file.
1 // $Id: TGo4ComDisconnectSlave.h 2627 2019-10-01 08:02:45Z 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 TGO4COMDISCONNECTSLAVE_H
15 #define TGO4COMDISCONNECTSLAVE_H
16 
17 #include "TGo4TaskHandlerCommand.h"
18 #include "TString.h"
19 
28  public:
29 
31 
32  virtual ~TGo4ComDisconnectSlave();
33 
35  void SetSlave(const char* name) { fxSlaveName = name; }
36 
37  void SetWaitForSlave(Bool_t wait=kTRUE) { fbWaitForSlave=wait; }
38 
39  Int_t ExeCom();
40 
41  private:
42 
44  TString fxSlaveName;
45 
47 
49 };
50 
51 #endif //TGO4COMDISCONNECTSLAVE_H
ClassDef(TGo4ComDisconnectSlave, 1)
void SetWaitForSlave(Bool_t wait=kTRUE)
void SetSlave(const char *name)