00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE 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 "TString.h" 00020 #include "TGo4TaskHandlerCommand.h" 00021 00029 class TGo4ComDisconnectSlave : public TGo4TaskHandlerCommand { 00030 public: 00031 00032 TGo4ComDisconnectSlave(); 00033 00034 virtual ~TGo4ComDisconnectSlave(); 00035 00037 void SetSlave(const char* name) 00038 { 00039 fxSlaveName = name; 00040 } 00041 00042 void SetWaitForSlave(Bool_t wait=kTRUE) 00043 { 00044 fbWaitForSlave=wait; 00045 } 00046 00047 00048 Int_t ExeCom(); 00049 00050 private: 00051 00053 TString fxSlaveName; 00054 00055 Bool_t fbWaitForSlave; 00056 00057 00058 ClassDef(TGo4ComDisconnectSlave,1); 00059 }; 00060 00061 #endif //TGO4COMDISCONNECTSLAVE_H 00062 00063 //----------------------------END OF GO4 SOURCE FILE ---------------------