/** * @RDE_HEADER@ * Interface-Implementation of DangerArea * $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 DangerAreaImpl class displays an area of undefined danger. * * A class instance consists of the following logical elements: * - mainGraphicalObject (GraphicalObjectPath displaying the main techn. Appearance) * - mainGraphicalObjectText (displaying the text/name) * - tacticalAppearance (displaying the tact. Appearance) */ // inherent 'public', to get that implementation // inherent 'public virtual' to get that interface class SITUATIONMAPOBJECTS_EXPORT DangerAreaImpl : public BasicPathObjectImpl, public virtual DangerArea { using BaseClass = BasicPathObjectImpl; template friend class GenericObjectFactory; protected: explicit DangerAreaImpl(const QString &debugInfo = QString()); virtual ~DangerAreaImpl(); public: DangerAreaImpl(const DangerAreaImpl &other) = delete; DangerAreaImpl &operator=(DangerAreaImpl &other) = delete; protected: 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