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 TGO4MONITOREDLISTSTATUS_H 00017 #define TGO4MONITOREDLISTSTATUS_H 00018 00019 #include "Go4StatusBase/TGo4Status.h" 00020 00021 class QWidget; 00022 class TObjArray; 00023 class TIterator; 00024 class TGo4MonitoredObject; 00025 class TObject; 00026 class TCanvas; 00027 class TPad; 00033 class TGo4MonitoredListStatus : public TGo4Status { 00034 00035 public: 00036 00037 TGo4MonitoredListStatus(const char* name, const char* title); 00038 virtual ~TGo4MonitoredListStatus(); 00039 00040 void AddToMonitoredObjectList(TObject *fxObject, QWidget *Panel, TCanvas *Canvas, TPad *pad); 00041 void AddToMonitoredObjectList(TObject *fxObject); 00042 TGo4MonitoredObject *GetMonitoredObject(TObject *fxObject); 00043 TGo4MonitoredObject *GetMonitoredObject(const char *fxName); 00044 void RemoveMonitoredObject(TObject *fxObject); 00045 TObjArray *GetAllMonitored(); 00046 TIterator *GetAllMonitoredIter(){return MonitoredObjectListIterator;} 00047 00048 private: 00049 00050 TObjArray *MonitoredObjectList; 00051 TIterator *MonitoredObjectListIterator; 00052 00054 TGo4MonitoredObject *fxTGo4MonitoredObject; 00055 }; 00056 00057 #endif //TGO4MONITOREDLISTSTATUS_H 00058 00059 //----------------------------END OF GO4 SOURCE FILE ---------------------