Blame view

src/Info/MissionMgr.hh 691 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * MissionMgr.hh
 *
 *  Created on: Oct 6, 2014
 *      Author: m.mazel
 */

#ifndef MISSIONMGR_HH_
#define MISSIONMGR_HH_

#include <string>

#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<MissionMgr> {
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_ */