class TGPopupMenu;
class TObjArray;
-class AliMUONVTrackerData;
-class AliMUONVTrackerDataMaker;
class AliMUONPainterMatrix;
class TGMenuBar;
public:
virtual ~AliMUONPainterRegistry();
- AliMUONVTrackerDataMaker* DataMaker(Int_t i) const;
-
- AliMUONVTrackerData* DataSource(Int_t i) const;
-
- AliMUONVTrackerData* DataSource(const char* name) const;
-
- AliMUONVTrackerData* InteractiveReadOutConfig() const;
-
- void DataSourceWasRegistered(const AliMUONVTrackerData* data); // *SIGNAL*
-
- void DataSourceWasUnregistered(const AliMUONVTrackerData* data); // *SIGNAL*
-
- void DataMakerWasRegistered(const AliMUONVTrackerDataMaker* reader); // *SIGNAL*
-
- void DataMakerWasUnregistered(const AliMUONVTrackerDataMaker* reader); // *SIGNAL*
-
Int_t FindIndexOf(AliMUONPainterMatrix* group) const;
void HistoryMenuActivated(Int_t i);
static AliMUONPainterRegistry* Instance();
- Int_t NumberOfDataMakers() const;
-
- /// Number of data sources = data makers
- Int_t NumberOfDataSources() const { return NumberOfDataMakers(); }
-
Int_t NumberOfPainterMatrices() const;
AliMUONPainterMatrix* PainterMatrix(Int_t i) const;
void AddToHistory(AliMUONPainterMatrix* group);
- void PainterMatrixWasRegistered(const AliMUONPainterMatrix* group); // *SIGNAL*
+ void PainterMatrixWasRegistered(AliMUONPainterMatrix* group); // *SIGNAL*
- void PainterMatrixWasUnregistered(const AliMUONPainterMatrix* group); // *SIGNAL*
+ void PainterMatrixWasUnregistered(AliMUONPainterMatrix* group); // *SIGNAL*
- void PainterMatrixWantToShow(const AliMUONPainterMatrix* group); // *SIGNAL*
+ void PainterMatrixWantToShow(AliMUONPainterMatrix* group); // *SIGNAL*
void Print(Option_t* opt) const;
Int_t Register(AliMUONPainterMatrix* group);
- void Register(AliMUONVTrackerDataMaker* reader);
-
/// Set the menu bar where to put the history menu
void SetMenuBar(TGMenuBar* bar) { fMenuBar = bar; }
Bool_t Unregister(AliMUONPainterMatrix* group);
- Bool_t Unregister(AliMUONVTrackerDataMaker* reader);
-
- void DeleteZombies();
-
private:
/// Not implemented
AliMUONPainterRegistry();
/// Not implemented
AliMUONPainterRegistry& operator=(const AliMUONPainterRegistry&);
- void CreateInteractiveReadOutConfig() const;
-
private:
static AliMUONPainterRegistry* fgInstance; ///< unique instance
TObjArray* fPainterMatrices; ///< painter matrices
- TObjArray* fDataMakers; ///< data makers
TGPopupMenu* fHistoryMenu; ///< history menu
TGMenuBar* fMenuBar; ///< Menu bar where to put the history menu
Int_t fHistoryCounter; ///< index to get back history menu items
- TObjArray* fZombies; ///< data readers to be deleted
- mutable AliMUONVTrackerData* fInteractiveReadOutConfig; ///< clickable readout configuration
- ClassDef(AliMUONPainterRegistry,4) // Registry for AliMUONVPainter related stuff
+ ClassDef(AliMUONPainterRegistry,5) // Registry for AliMUONVPainter related stuff
};
#endif