GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ComDisconnectSlave.h
Go to the documentation of this file.
1// $Id$
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
18#include "TString.h"
19
26
28 public:
29
31
33 void SetSlave(const char *name) { fxSlaveName = name; }
34
35 void SetWaitForSlave(Bool_t wait = kTRUE) { fbWaitForSlave = wait; }
36
37 Int_t ExeCom() override;
38
39 private:
40
42 TString fxSlaveName;
43
44 Bool_t fbWaitForSlave{kFALSE};
45
47};
48
49#endif //TGO4COMDISCONNECTSLAVE_H
void SetWaitForSlave(Bool_t wait=kTRUE)
TString fxSlaveName
name of the client to be removed
void SetSlave(const char *name)
Specify the name of the client to be removed.
ClassDefOverride(TGo4ComDisconnectSlave, 1)
Int_t ExeCom() override
Do the command action.