41 #ifndef PITCHPROGRAMREADER_H
42 #define PITCHPROGRAMREADER_H
47 #include "Systems/Point.hpp"
58 bool HasProgram(
const VESSEL * vessel )
const;
62 double LinearInterpolationProgramme(
const std::vector< EnjoLib::Point > & programme,
double x )
const;
63 void ParseSections(
const std::vector<std::vector<std::string> > & sections,
bool timeBased);
64 void ParseSection(
const std::vector<std::string> & section,
bool timeBased);
65 std::string GetPlanetName(
const VESSEL * vessel )
const;
67 std::map<std::string, std::vector< EnjoLib::Point > > m_programmesAlt;
68 std::map<std::string, std::vector< EnjoLib::Point > > m_programmesTime;
71 #endif // PITCHPROGRAMREADER_H