QGDMainFrame.hh
Go to the documentation of this file.00001 #ifndef _QGD_MAINFRAME_HH_
00002 #define _QGD_MAINFRAME_HH_
00003
00004 #include <TGFrame.h>
00005 #include "QGDMessageHandler.hh"
00013 class TGWindow;
00014 class TRootEmbeddedCanvas;
00015
00016 class QGDMainFrame : public TGMainFrame, public QGDMessageHandler
00017 {
00018 public:
00019 QGDMainFrame(const TGWindow *p,UInt_t w,UInt_t h);
00020 virtual ~QGDMainFrame();
00021
00022 void Exit();
00023
00024 private:
00025 void Display(TObject*);
00026 void DisplayModuleList(const QGDModuleList& modList);
00027 void DisplayModuleParameters(const QGDModuleParameterList& paramList);
00028 void NotifyReceiverStatus(QGDReceiver::Status status);
00029 virtual QGDCommand GetCommand(const QGDCommandList& cmdList);
00030
00031
00032 TRootEmbeddedCanvas *fEcanvas;
00033
00034 ClassDef(QGDMainFrame,0);
00035 friend class QGDReceiver;
00036
00037 };
00038
00039 #endif