Added "Save Viewers" button and functionality to alihlteve
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManagerEditor.h
index 2b53f8ff6fb12da76699f666451978fec28b04f3..bb0cb4c8ab065ff43bf249846fc93c8c9a12a0ed 100644 (file)
@@ -16,29 +16,51 @@ class TGCheckButton;
 class TGTextButton;
 class TGNumberEntry;
 class TGColorSelect;
 class TGTextButton;
 class TGNumberEntry;
 class TGColorSelect;
-
+class TGPictureButton;
+class TGComboBox;
 class AliEveHOMERManager;
 
 class AliEveHOMERManagerEditor : public TGedFrame
 {
 public:
 class AliEveHOMERManager;
 
 class AliEveHOMERManagerEditor : public TGedFrame
 {
 public:
-  AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
+  AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, 
+                          UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~AliEveHOMERManagerEditor() {}
 
   virtual void SetModel(TObject* obj);
 
   // Declare callback/slot methods
   virtual ~AliEveHOMERManagerEditor() {}
 
   virtual void SetModel(TObject* obj);
 
   // Declare callback/slot methods
-  void DoButt();
+  void ConnectToHLT();
+  void NextEvent();
+  void EventLoop();
 
 
+  void NavigateBack();
+  void NavigateFwd();
+  void SetTriggerString(int id);
+  void WriteBlockListToFile();
+  void PrintScreens();
 protected:
 protected:
-  AliEveHOMERManager  *fM; // Model object.
 
 
-  TGTextButton     *fButt; // Button to connect to HOMER.
+  AliEveHOMERManager  *fM; // Model object.
+  
+  TGTextButton     *fButtonConnect; // Button to connect to HOMER.
+  TGTextButton     *fButtonWriteToFile; // Button to write block list to file
+  TGTextButton     *fButtonNextEvent; // Button to call next Even
+  TGTextButton     *fButtonNavigateBack; // Button to navigate back
+  TGTextButton     *fButtonNavigateFwd;  // Button to navigate fwd
+  TGTextButton     *fButtonPrintScreens;  // Button to print viewers
+  TGComboBox       *fBoxTriggerSelector; // Drop down menu to select trigger criteria.
+  TGTextButton     *fButtonEventLoopText; //Text button to start / stop event loop.
+  //TGComboBox       *fBoxEventLoopSpeed; // Drop down menu to set the speed of the loop.
+  TGPictureButton  *fButtonEventLoop; // Picture button to start/stop event loop, HLT LOGO.
+  
 
 private:
   AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
   AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
 
 
 private:
   AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
   AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
 
+  Bool_t fEventLoopStarted;
+
   ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
 };
 
   ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
 };