Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GfxShowerList.h

Go to the documentation of this file.
00001 
00017 #ifndef GFXSHOWERLIST_H
00018 #define GFXSHOWERLIST_H
00019 
00020 #include "GfxShower.h"
00021 #include "GfxBase.h"
00022 #include "GfxShowerListCfg.h"
00023 #include "EVD.h"
00024 
00025 #include <list>
00026 
00027 class TClonesArray;
00028 
00029 class GfxShowerList : public GfxBase
00030 {
00031 
00032 public:
00033 
00034     GfxShowerList();
00035     ~GfxShowerList();
00036 
00037     void Init(PageDisplay& pd, EVD& mp);
00038     void Configure(Mint& mint);
00039     GfxShowerListCfg& GetCfg() { return *fCfg; }
00040 
00041     void Draw(Option_t *option=""); 
00042     void ExecuteEvent(int event, int /*px*/, int /*py*/, GfxShower* shower);
00043     void ExecuteEvent(int /*event*/, int /*px*/, int /*py*/){;}
00044     EVD* GetEVD(){return fEVD;}
00045 
00046     void HideShowers(bool hide = true);
00047     bool ShowersHidden() { return fHideShowers; }
00048 
00049 private:
00050 
00051     // copy constructor, assignment:
00052     GfxShowerList(const GfxShowerList& rhs); // copy constructor
00053     GfxShowerList& operator=(const GfxShowerList& rhs); // assignment
00054 
00055     void ReConfigure();
00056     void ClearShowerList();
00057 
00058     GfxShowerListCfg* fCfg;
00059     SigC::Connection fCon;
00060     bool fHideShowers;
00061 
00062     EVD* fEVD;
00063     PageDisplay* fPageDisplay;
00064 
00065     TClonesArray* fShowerCA;
00066     typedef std::list<GfxShower*> ShowerList_t;
00067     ShowerList_t fShowers;
00068 
00069 };                              // end of class GfxShowerList
00070 
00071 #endif  // GFXSHOWERLIST_H

Generated on Mon Feb 15 11:06:46 2010 for loon by  doxygen 1.3.9.1