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 TGO4DISPLAY_H 00017 #define TGO4DISPLAY_H 00018 00019 #include "Go4TaskHandler/TGo4ServerTask.h" 00020 #include "Go4TaskHandler/TGo4Master.h" 00021 00022 class TGo4GUIRegistry; 00023 class TGo4TaskHandlerCommandList; 00024 class TGo4Status; 00025 class TGo4DisplayLoggerTimer; 00026 class TGo4DisplayDrawerTimer; 00027 00028 class TGo4Display : public TGo4Master { 00029 public: 00030 00031 TGo4Display(UInt_t negotport=0, const char* hostname="", Bool_t isserver=kTRUE); 00032 virtual ~TGo4Display(); 00033 00034 void DisplayLog(TGo4Status * Status); 00035 void DisplayData(TObject*); 00036 00040 virtual void SetSlave(const char*node, const char* shell, const char* command); 00041 00046 virtual void StartSlaveWindow(const char* command); 00047 00048 00050 virtual Bool_t DisconnectSlave(const char* name=0, 00051 Bool_t waitforslave=kTRUE ); 00052 00054 virtual TGo4TaskHandlerCommandList* CreateCommandList(); 00055 00056 public: 00058 00060 static const Long_t fglDRAWTIMERPERIOD; 00061 00063 static const Long_t fglLOGTIMERPERIOD; 00064 00065 private: 00066 00067 TGo4GUIRegistry *fxTGo4GUIRegistry; 00068 00070 TGo4DisplayDrawerTimer* fxDrawTimer; 00071 00073 TGo4DisplayLoggerTimer* fxLogTimer; 00074 00075 ClassDef(TGo4Display,1) 00076 }; 00077 00078 #endif //TGO4DISPLAY_H 00079 00080 //----------------------------END OF GO4 SOURCE FILE ---------------------