/* * InstrumentMgr.hh * * Created on: Oct 6, 2014 * Author: m.mazel */ #ifndef INSTRUMENTMGR_HH_ #define INSTRUMENTMGR_HH_ #include #include "dsgpatt_Singleton.hh" #include "InstrumentInfo.hh" namespace AMDA { namespace Info { /** * @class InstrumentMgr * @brief Singleton to manage all instrument information * @details */ class InstrumentMgr : public ::Singleton { public: const InstrumentInfoSPtr getInstrumentInfoFromId (const std::string &id); private: InstrumentInfoSPtr getInstrumentInfoFromFile (const std::string &xmlFilename); // Instrument Informations list InstrumentInfoMap _instrumentInfoMap; }; } /* namespace Info */ } /* namespace AMDA */ #endif /* INSTRUMENTMGR_HH_ */