Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4GUI/TGo4MonitoredObject.h

Go to the documentation of this file.
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 TGO4MONITOREDOBJECT_H
00017 #define TGO4MONITOREDOBJECT_H
00018 
00019 #include "TNamed.h"
00020 
00021 class QWidget;
00022 class TCanvas;
00023 class TPad;
00024 class TGo4QItem;
00025 
00030 class TGo4MonitoredObject : public TNamed {
00031   public:
00032 
00033     TGo4MonitoredObject(const char * Name, TObject* Object ,QWidget * Panel, TCanvas * Canvas, TPad * pad);
00034     virtual ~TGo4MonitoredObject();
00035 
00036     TCanvas* GetCanvas() const { return fxCanvas; }
00037     QWidget *GetPreViewPanel() const { return fxPanel; }
00038     TPad *GetPad() const { return fxPad; }
00039     TObject *GetMonitoredObject() const { return fxObject; }
00040     void SetCanvas(TCanvas *Canvas) { fxCanvas = Canvas; }
00041     void SetPreViewPanel(QWidget *Panel) { fxPanel =Panel; }
00042     void SetPad(TPad *pad) { fxPad=pad; }
00043     void SetMonitoredObject(TObject *monitored) { fxObject=monitored; }
00044     void Draw(const char *fxOption=0);
00045     void SetMonObjItem(TGo4QItem *Item) { fxMonObjItem=Item; }
00046     TGo4QItem *GetMonObjItem() const { return fxMonObjItem; }
00047   private:
00048     QWidget * fxPanel;        
00049     TObject *fxObject;        
00050     TCanvas * fxCanvas;       
00051     TPad * fxPad;             
00052     TGo4QItem *fxMonObjItem ; 
00053 };
00054 
00055 #endif //TGO4MONITOREDOBJECT_H
00056 
00057 
00058 
00059 
00060 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:01 2005 for Go4-v2.10-5 by doxygen1.2.15