00001 // $Id: TGo4Display.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4DISPLAY_H 00015 #define TGO4DISPLAY_H 00016 00017 #include "TGo4Master.h" 00018 00019 class TGo4Status; 00020 class TGo4DisplayLoggerTimer; 00021 class TGo4DisplayDrawerTimer; 00022 class TGo4AnalysisProxy; 00023 00024 class TGo4Display : public TGo4Master { 00025 public: 00026 00027 TGo4Display(Bool_t isserver=kTRUE); 00028 virtual ~TGo4Display(); 00029 00030 void DisplayLog(TGo4Status * Status); 00031 void DisplayData(TObject*); 00032 00033 void SetAnalysis(TGo4AnalysisProxy* an) { fxAnalysis = an; } 00034 00036 virtual Bool_t DisconnectSlave(const char* name=0, 00037 Bool_t waitforslave=kTRUE ); 00038 00039 00040 private: 00041 00043 TGo4DisplayDrawerTimer* fxDrawTimer; 00044 00046 TGo4DisplayLoggerTimer* fxLogTimer; 00047 00048 TGo4AnalysisProxy* fxAnalysis; 00049 }; 00050 00051 #endif //TGO4DISPLAY_H