Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+62
@@ -0,0 +1,62 @@
|
||||
/**
|
||||
* Geopairing Config
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Gerlinde Rudolphus, ESZS, 2016-04-14
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
//class GeoConfig
|
||||
#include "configsettings.h"
|
||||
//#include "../logger.h"
|
||||
|
||||
#include <ElevationMap/elevation_map_manager.h>
|
||||
#include <QString>
|
||||
|
||||
#include <iostream> // std::cout, std::endl, std::cin
|
||||
#include <stdlib.h> // EXIT_SUCCESS
|
||||
#include <memory>
|
||||
|
||||
|
||||
// forward declaration:
|
||||
namespace SituationMap
|
||||
{
|
||||
class ElevationMap;
|
||||
}
|
||||
|
||||
namespace CesGeoPairing
|
||||
{
|
||||
class HandlerGeoPairing;
|
||||
}
|
||||
|
||||
|
||||
namespace N_ConfigSystem
|
||||
{
|
||||
class GeoConfig: public ConfigSettings
|
||||
{
|
||||
private:
|
||||
explicit GeoConfig();
|
||||
~GeoConfig();
|
||||
public:
|
||||
static GeoConfig *getInstance();
|
||||
|
||||
|
||||
QMap<int, QString> getAmmuMap() const { return m_AmmuMap; }
|
||||
QMap<int, QVector<double> > getChargeMap() const { return m_ChargeMap; }
|
||||
double getElevation(const double lon, const double lat) const;
|
||||
|
||||
private:
|
||||
friend class CesGeoPairing::HandlerGeoPairing; // for initFilename
|
||||
bool initFilename(const QString &fileName);
|
||||
|
||||
void initializeAmmu();
|
||||
QMap<int, QString> m_AmmuMap ;
|
||||
QMap<int, QVector<double> > m_ChargeMap;
|
||||
|
||||
std::shared_ptr<SituationMap::ElevationMapManager> m_elevationMapManager;
|
||||
|
||||
// CesGeoPairing::LOGGER_T m_logger;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user