From Jochen - EveHLT development accumulated since the end of March.
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManagerEditor.h
index ae62717..d04e2b5 100644 (file)
@@ -7,8 +7,8 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
-#ifndef ALIEVE_AliEVEHOMERManagerEditor_H
-#define ALIEVE_AliEVEHOMERManagerEditor_H
+#ifndef AliEveAliEVEHOMERManagerEditor_H
+#define AliEveAliEVEHOMERManagerEditor_H
 
 #include <TGedFrame.h>
 
@@ -21,28 +21,33 @@ class AliEveHOMERManager;
 
 class AliEveHOMERManagerEditor : public TGedFrame
 {
-private:
-  AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
-  AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
-
-protected:
-  AliEveHOMERManager* fM; // fModel dynamic-casted to AliEveHOMERManagerEditor
-
-  // Declare widgets
-  // TGSomeWidget*   fXYZZ;
-  TGTextButton  *fButt;
-
 public:
-  AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEveHOMERManagerEditor();
+  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
-  // void DoXYZZ();
-  void DoButt();
+  void ConnectToHLT();
+  void NextEvent();
+  void EventLoop();
+
+
+protected:
+  AliEveHOMERManager  *fM; // Model object.
+
+  TGTextButton     *fButtonConnect;   // Button to connect to HOMER.
+  TGTextButton     *fButtonNextEvent; // Button to call next Event
+  TGTextButton     *fButtonEventLoop; // Button to start/stop event loop
+
+private:
+  AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
+  AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
+
+  Bool_t fEventLoopStarted;
 
   ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
-}; // endclass AliEveHOMERManagerEditor
+};
 
 #endif