* full copyright notice. *
**************************************************************************/
-#ifndef ALIEVE_AliEVEHOMERManagerEditor_H
-#define ALIEVE_AliEVEHOMERManagerEditor_H
+#ifndef AliEveAliEVEHOMERManagerEditor_H
+#define AliEveAliEVEHOMERManagerEditor_H
#include <TGedFrame.h>
class TGTextButton;
class TGNumberEntry;
class TGColorSelect;
-
+class TGPictureButton;
+class TGComboBox;
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();
+
+ void NavigateBack();
+ void NavigateFwd();
+ void SetTriggerString(int id);
+ void WriteBlockListToFile();
+protected:
+
+ 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
+ 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
+
+ Bool_t fEventLoopStarted;
ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
-}; // endclass AliEveHOMERManagerEditor
+};
#endif