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

+69
View File
@@ -0,0 +1,69 @@
/**
* @RDE_HEADER@
* Interface-Implementation of Polygon
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include "abstract_multi_point_map_object_impl.h"
#include "basic_path_object_impl.h"
#include <MapObjects/polygon.h> // Interface
// Qt
#include <QString>
//----------------------------------------------------------------------------
namespace SituationMap
{
/**
* @brief The PolygonImpl class displays a polygon.
*
* A class instance consists of the following logical elements:
* - mainGraphicalObject (GraphicalObjectPath displaying the line)
*/
// inherent 'public', to get that implementation
// inherent 'public virtual' to get that interface
class SITUATIONMAPOBJECTS_EXPORT PolygonImpl : public BasicPathObjectImpl, public virtual Polygon
{
using BaseClass = BasicPathObjectImpl;
template <typename> friend class GenericObjectFactory;
protected:
explicit PolygonImpl(const QString &debugInfo = QString());
virtual ~PolygonImpl();
public:
PolygonImpl(const PolygonImpl &other) = delete;
PolygonImpl &operator=(PolygonImpl &other) = delete;
// void setScale(float) override {}
protected:
virtual bool updateViewImpl() override;
friend class MapImpl;
bool init(MapImpl *mapImpl, const QString &logicalLayerName) override;
// internal/admin
// logical
private:
LOGGER_T m_logger; ///< Interface of the Logging-Facility
};
} // namespace SituationMap