/** * @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 // Interface // Qt #include //---------------------------------------------------------------------------- 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 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