// -*- mode: c++ -*- //____________________________________________________________________ // // $Id: BrModuleManager.h,v 1.1.1.1 2001/06/21 14:55:15 hagel Exp $ // $Author: hagel $ // $Date: 2001/06/21 14:55:15 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrModuleManager #define BRAT_BrModuleManager #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef ROOT_TObjArray #include "TObjArray.h" #endif class BrModule; class BrModuleContainer; class BrModuleManager : public TObject { private: TObjArray* fModuleList; TObjArray* fModuleContainerList; static BrModuleManager* fgInstance; public: BrModuleManager(); ~BrModuleManager(); void AddModule(BrModule* module); void AddModuleContainer(BrModuleContainer* module); virtual void Print(Option_t* option="DB") const; static BrModuleManager* Instance(); ClassDef(BrModuleManager,1) // Container Class for all defined modules }; #endif //____________________________________________________________________ // // $Log: BrModuleManager.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:15 hagel // Initial revision of brat2 // // Revision 1.1 2001/06/16 17:40:35 videbaek // Added a ModuleManager. This class will contain a complete list // of all module constructed in a session, and may be useful to // keep track of parameters etc. // The usage is complete transparent. If one has no intention of // using it all activity is in the constructor of any BrModule, that is it. // At present the manager only has one useful method Print that in turns // call the Print method for all Modules. // //