]>
Commit | Line | Data |
---|---|---|
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 * | |
7 | * full copyright notice. * | |
8 | **************************************************************************/ | |
9 | ||
10 | #ifndef AliEveAliEVEHOMERManagerEditor_H | |
11 | #define AliEveAliEVEHOMERManagerEditor_H | |
12 | ||
13 | #include <TGedFrame.h> | |
14 | ||
15 | class TGCheckButton; | |
16 | class TGTextButton; | |
17 | class TGNumberEntry; | |
18 | class TGColorSelect; | |
19 | ||
20 | class AliEveHOMERManager; | |
21 | ||
22 | class AliEveHOMERManagerEditor : public TGedFrame | |
23 | { | |
24 | public: | |
25 | AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
26 | UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
27 | virtual ~AliEveHOMERManagerEditor() {} | |
28 | ||
29 | virtual void SetModel(TObject* obj); | |
30 | ||
31 | // Declare callback/slot methods | |
32 | void ConnectToHLT(); | |
33 | void NextEvent(); | |
34 | void EventLoop(); | |
35 | ||
36 | ||
37 | protected: | |
38 | AliEveHOMERManager *fM; // Model object. | |
39 | ||
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 | |
43 | ||
44 | private: | |
45 | AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&); // Not implemented | |
46 | AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented | |
47 | ||
48 | Bool_t fEventLoopStarted; | |
49 | ||
50 | ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager | |
51 | }; | |
52 | ||
53 | #endif |