From Svein Lindal:
[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;
d810d0de 20
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
7279ee15 33 void ConnectToHLT();
34 void NextEvent();
35 void EventLoop();
36
d810d0de 37
4b456ebb 38protected:
39 AliEveHOMERManager *fM; // Model object.
40
7279ee15 41 TGTextButton *fButtonConnect; // Button to connect to HOMER.
42 TGTextButton *fButtonNextEvent; // Button to call next Event
a82a31af 43 TGPictureButton *fButtonEventLoop; // Button to start/stop event loop, HLT LOGO.
4b456ebb 44private:
45 AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&); // Not implemented
46 AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
47
7279ee15 48 Bool_t fEventLoopStarted;
49
d810d0de 50 ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
4b456ebb 51};
d810d0de 52
53#endif