/* * MissionMgr.hh * * Created on: Oct 6, 2014 * Author: m.mazel */ #ifndef MISSIONMGR_HH_ #define MISSIONMGR_HH_ #include #include "dsgpatt_Singleton.hh" #include "MissionInfo.hh" namespace AMDA { namespace Info { /** * @class MissionMgr * @brief Singleton to manage all mission information * @details */ class MissionMgr : public ::Singleton { public: const MissionInfoSPtr getMissionInfoFromId (const std::string &id); private: MissionInfoSPtr getMissionInfoFromFile (const std::string &xmlFilename); // Mission Informations list MissionInfoMap _missionInfoMap; }; } /* namespace Info */ } /* namespace AMDA */ #endif /* MISSIONMGR_HH_ */