00001 00017 #ifndef GFXTRACKLIST_H 00018 #define GFXTRACKLIST_H 00019 00020 #include <Midad/MultiPage/GfxTrack.h> 00021 #include <Midad/MultiPage/GfxBase.h> 00022 #include <Midad/MultiPage/GfxTrackListCfg.h> 00023 00024 #include <list> 00025 00026 class GfxTrackList : public GfxBase 00027 { 00028 00029 public: 00030 00031 GfxTrackList(); 00032 ~GfxTrackList(); 00033 00034 void Init(PageDisplay& pd, MultiPage& mp); 00035 void Configure(Mint& mint); 00036 GfxTrackListCfg& GetCfg() { return *fCfg; } 00037 00038 void Draw(Option_t *option=""); 00039 void ExecuteEventTrack(int event, int px, int py, GfxTrack* track); 00040 00041 private: 00042 00043 // copy constructor, assignment: 00044 GfxTrackList(const GfxTrackList& rhs); // copy constructor 00045 GfxTrackList& operator=(const GfxTrackList& rhs); // assignment 00046 00047 void ReConfigure(); 00048 void ClearTrackList(); 00049 00050 GfxTrackListCfg* fCfg; 00051 SigC::Connection fCon; 00052 00053 typedef std::list<GfxTrack> TrackList_t; 00054 TrackList_t fTracks; 00055 00056 }; // end of class GfxTrackList 00057 00058 #endif // GFXTRACKLIST_H
1.3.9.1