Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+61
View File
@@ -0,0 +1,61 @@
/**
* @RDE_HEADER@
* Interface-Implementation of LocationDisplay
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include <Map/location_display.h> // Interface
#include <Common/situation_map_logging.h>
//----------------------------------------------------------------------------
namespace SituationMap
{
class MapImpl;
class LocationDisplayImpl : public SituationMap::LocationDisplay
{
using BaseClass = SituationMap::LocationDisplay;
public:
explicit LocationDisplayImpl(SituationMap::MapImpl *mapImpl);
virtual ~LocationDisplayImpl();
LocationDisplayImpl(const LocationDisplayImpl &other) = delete;
LocationDisplayImpl &operator=(LocationDisplayImpl &other) = delete;
bool init();
bool setCurrentLocation(const Point3D & currentLocation,
double horizontalAccuracy = 0,
double velocity = 0,
double course = 0,
bool lastKnown = false
) override;
bool setOutdated(bool lastKnown) override;
bool start() override;
void stop() override;
bool isStarted() override;
private :
LOGGER_T m_logger; ///< Interface of the Logging-Facility
class Private;
/**
* The private d->pointer to not break BC when changing internals of this class
*/
Private *d{nullptr};
};
} // namespace SituationMap
//----------------------------------------------------------------------------