From Jochen - EveHLT development accumulated since the end of March.
[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;
19
20class AliEveHOMERManager;
21
22class AliEveHOMERManagerEditor : public TGedFrame
23{
d810d0de 24public:
7279ee15 25 AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
26 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
4b456ebb 27 virtual ~AliEveHOMERManagerEditor() {}
d810d0de 28
29 virtual void SetModel(TObject* obj);
30
31 // Declare callback/slot methods
7279ee15 32 void ConnectToHLT();
33 void NextEvent();
34 void EventLoop();
35
d810d0de 36
4b456ebb 37protected:
38 AliEveHOMERManager *fM; // Model object.
39
7279ee15 40 TGTextButton *fButtonConnect; // Button to connect to HOMER.
41 TGTextButton *fButtonNextEvent; // Button to call next Event
42 TGTextButton *fButtonEventLoop; // Button to start/stop event loop
4b456ebb 43
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