Updated buffer handling with mutex and faster response
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERSourceList.h
CommitLineData
a82a31af 1//-*- Mode: C++ -*-
2
d810d0de 3// $Id$
4// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
5
6/**************************************************************************
7 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
8 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 9 * full copyright notice. *
d810d0de 10 **************************************************************************/
11
a15e6d7d 12#ifndef AliEveAliEVEHOMERSourceList_H
13#define AliEveAliEVEHOMERSourceList_H
d810d0de 14
15#include <TEveElement.h>
16
17#include <TObject.h>
18
a15e6d7d 19#include <map>
20
21class AliEveHOMERManager;
22class AliEveHOMERSourceMap;
23
d810d0de 24class AliEveHOMERSourceList : public TEveElementList
25{
d810d0de 26public:
27 AliEveHOMERSourceList(const Text_t* n="HOMER Source List", const Text_t* t="");
a15e6d7d 28 virtual ~AliEveHOMERSourceList();
29
30 // void InitMap(TList* srcHandles, ESourceGrouping_e
31
32 AliEveHOMERManager* GetManager() const { return fManager; }
33 void SetManager(AliEveHOMERManager* m) { fManager = m; }
34
46eadbb4 35 Bool_t GetSelectedSources();
36
a15e6d7d 37 void CreateByDet(); // *MENU*
38 void CreateByType(); // *MENU*
39
40 void RebuildSourceReps();
d810d0de 41
a15e6d7d 42 //void SelectAll(); // *MENU*
43 //void DeselectAll(); // *MENU*
d810d0de 44
4b456ebb 45protected:
46 //SourceMap_t fByType;
47 //ESourceGrouping_e fView;
48 //Bool_t fDefaultState;
49
50 AliEveHOMERManager *fManager;
51 AliEveHOMERSourceMap *fSrcMap;
52
53private:
54 AliEveHOMERSourceList(const AliEveHOMERSourceList&); // Not implemented
55 AliEveHOMERSourceList& operator=(const AliEveHOMERSourceList&); // Not implemented
56
57 ClassDef(AliEveHOMERSourceList, 0); // Interface to a list of HOMER sourcces.
58};
d810d0de 59
60#endif