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 TGO4SUBMITTEDCOMMANDSENTRY_H 00017 #define TGO4SUBMITTEDCOMMANDSENTRY_H 00018 00019 #include "TNamed.h" 00020 #include "TObjArray.h" 00021 00022 class TPad; 00023 class TQRootCanvas; 00024 class TGo4SlotsBaseClass; 00025 class TGo4RecieverInfo; 00026 00031 class TGo4SubmittedCommandsEntry: public TNamed { 00032 public: 00033 00034 TGo4SubmittedCommandsEntry(const char* name); 00035 00036 virtual ~TGo4SubmittedCommandsEntry(); 00037 00038 void SetNewReciever(TGo4SlotsBaseClass *Rec, 00039 Bool_t Monitor = kFALSE, 00040 TQRootCanvas *fxQRootCanvas=0, 00041 TPad *pad=0, 00042 Bool_t SubittsCommand = kTRUE); 00043 00044 Int_t NoOfRecv() const { return RecList.GetLast()+1; } 00045 TGo4RecieverInfo* GetRecv(Int_t n) const { return (TGo4RecieverInfo*) RecList.At(n); } 00046 00047 void RemoveRecvEntry(TGo4RecieverInfo *info); 00048 void RemoveSlotEntries(TGo4SlotsBaseClass* sl); 00049 void RemoveCanvasEntries(TQRootCanvas *c); 00050 00051 private: 00052 TObjArray RecList; 00053 }; 00054 00055 #endif //TGO4SUBMITTEDCOMMANDSENTRY_H 00056 00057 //----------------------------END OF GO4 SOURCE FILE ---------------------