Diana Software
QGDMainFrame.hh
Go to the documentation of this file.
1 #ifndef _QGD_MAINFRAME_HH_
2 #define _QGD_MAINFRAME_HH_
3 
4 #include <TGFrame.h>
5 #include "QGDMessageHandler.hh"
13 class TGWindow;
14 class TRootEmbeddedCanvas;
15 
16 class QGDMainFrame : public TGMainFrame, public QGDMessageHandler
17 {
18  public:
19  QGDMainFrame(const TGWindow *p,UInt_t w,UInt_t h);
20  virtual ~QGDMainFrame();
21 
22  void Exit();
23 
24  private:
25  void Display(TObject*);
26  void DisplayModuleList(const QGDModuleList& modList);
27  void DisplayModuleParameters(const QGDModuleParameterList& paramList);
29  virtual QGDCommand GetCommand(const QGDCommandList& cmdList);
30 
31 
32  TRootEmbeddedCanvas *fEcanvas;
33 
35  friend class QGDReceiver;
36 
37 };
38 
39 #endif
Main window of the interactive gui.
Definition: QGDMainFrame.hh:17
void Display(TObject *)
TRootEmbeddedCanvas * fEcanvas
Definition: QGDMainFrame.hh:32
virtual ~QGDMainFrame()
Definition: QGDMainFrame.cc:40
void DisplayModuleList(const QGDModuleList &modList)
ClassDef(QGDMainFrame, 0)
void NotifyReceiverStatus(QGDReceiver::Status status)
Definition: QGDMainFrame.cc:52
QGDMainFrame(const TGWindow *p, UInt_t w, UInt_t h)
Definition: QGDMainFrame.cc:23
virtual QGDCommand GetCommand(const QGDCommandList &cmdList)
Definition: QGDMainFrame.cc:74
void DisplayModuleParameters(const QGDModuleParameterList &paramList)
Abstract class for handling of the MGuiDriver messages.
Handles the connection of the interactive GUI with diana through TSocket.
Definition: QGDReceiver.hh:18