Added "Save Viewers" button and functionality to alihlteve
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManagerEditor.h
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
9
a15e6d7d 10#ifndef AliEveAliEVEHOMERManagerEditor_H
11#define AliEveAliEVEHOMERManagerEditor_H
d810d0de 12
13#include <TGedFrame.h>
14
15class TGCheckButton;
16class TGTextButton;
17class TGNumberEntry;
18class TGColorSelect;
a82a31af 19class TGPictureButton;
cfa641b1 20class TGComboBox;
d810d0de 21class AliEveHOMERManager;
22
23class AliEveHOMERManagerEditor : public TGedFrame
24{
d810d0de 25public:
7279ee15 26 AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
27 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
4b456ebb 28 virtual ~AliEveHOMERManagerEditor() {}
d810d0de 29
30 virtual void SetModel(TObject* obj);
31
32 // Declare callback/slot methods
3ce2db7a 33 void ConnectToHLT();
7279ee15 34 void NextEvent();
35 void EventLoop();
36
ea9a0e13 37 void NavigateBack();
38 void NavigateFwd();
cfa641b1 39 void SetTriggerString(int id);
40 void WriteBlockListToFile();
bf1911d5 41 void PrintScreens();
4b456ebb 42protected:
4b456ebb 43
cfa641b1 44 AliEveHOMERManager *fM; // Model object.
45
3ce2db7a 46 TGTextButton *fButtonConnect; // Button to connect to HOMER.
cfa641b1 47 TGTextButton *fButtonWriteToFile; // Button to write block list to file
48 TGTextButton *fButtonNextEvent; // Button to call next Even
ea9a0e13 49 TGTextButton *fButtonNavigateBack; // Button to navigate back
50 TGTextButton *fButtonNavigateFwd; // Button to navigate fwd
bf1911d5 51 TGTextButton *fButtonPrintScreens; // Button to print viewers
cfa641b1 52 TGComboBox *fBoxTriggerSelector; // Drop down menu to select trigger criteria.
53 TGTextButton *fButtonEventLoopText; //Text button to start / stop event loop.
54 //TGComboBox *fBoxEventLoopSpeed; // Drop down menu to set the speed of the loop.
55 TGPictureButton *fButtonEventLoop; // Picture button to start/stop event loop, HLT LOGO.
56
ea9a0e13 57
4b456ebb 58private:
59 AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&); // Not implemented
60 AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
61
7279ee15 62 Bool_t fEventLoopStarted;
63
d810d0de 64 ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
4b456ebb 65};
d810d0de 66
67#endif