00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4COMDISCONNECTSLAVE_H 00017 #define TGO4COMDISCONNECTSLAVE_H 00018 00019 #include "TGo4TaskHandlerCommand.h" 00020 #include "TString.h" 00021 00029 class TGo4ComDisconnectSlave : public TGo4TaskHandlerCommand { 00030 public: 00031 00032 TGo4ComDisconnectSlave(); 00033 00034 virtual ~TGo4ComDisconnectSlave(); 00035 00037 void SetSlave(const char* name) { fxSlaveName = name; } 00038 00039 void SetWaitForSlave(Bool_t wait=kTRUE) { fbWaitForSlave=wait; } 00040 00041 Int_t ExeCom(); 00042 00043 private: 00044 00046 TString fxSlaveName; 00047 00048 Bool_t fbWaitForSlave; 00049 00050 ClassDef(TGo4ComDisconnectSlave,1); 00051 }; 00052 00053 #endif //TGO4COMDISCONNECTSLAVE_H 00054 00055 //----------------------------END OF GO4 SOURCE FILE ---------------------