Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* SituationMap - Handler Terrain profile dialogs and requests
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2018-05-15
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
#include <SituationMap/Common/situation_map_logging.h>
|
||||
|
||||
namespace LtsSession
|
||||
{
|
||||
class LtsSession;
|
||||
}
|
||||
|
||||
namespace SituationMap
|
||||
{
|
||||
class Map;
|
||||
class TerrainProfileDialog;
|
||||
|
||||
class TerrainProfileHandler : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TerrainProfileHandler(const QString &menuGroup);
|
||||
~TerrainProfileHandler();
|
||||
|
||||
bool init(const QPointer<LtsSession::LtsSession> &session,
|
||||
const QPointer<Map> &situationMap);
|
||||
|
||||
void startTerrainProfile();
|
||||
void clearTerrainProfile();
|
||||
bool showTerrainProfileResults(long id, const QVector<QPair<QPointF, double> > &results);
|
||||
private:
|
||||
QPointer<LtsSession::LtsSession> m_session;
|
||||
QPointer<SituationMap::Map> m_situationMap;
|
||||
QPointer<SituationMap::TerrainProfileDialog> m_terrainProfileDialog;
|
||||
QString m_menuGroup;
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
} // namespace SituationMap
|
||||
Reference in new issue
Block a user