66 lines
1.5 KiB
C++
Executable File
66 lines
1.5 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Interface-Implementation of DangerArea
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
// Own
|
|
#include "situation_map_objects_export.h"
|
|
#include "abstract_single_point_map_object_impl.h"
|
|
#include <MapImpl/map_impl.h>
|
|
#include <MapObjects/map_object_attributes.h> // Interface
|
|
|
|
|
|
// Qt
|
|
#include <QString>
|
|
#include <QVariantMap>
|
|
|
|
//----------------------------------------------------------------------------
|
|
namespace SituationMap
|
|
{
|
|
|
|
|
|
// inherent 'public', to get that implementation
|
|
// inherent 'public virtual' to get that interface
|
|
class SITUATIONMAPOBJECTS_EXPORT MapObjectAttributesImpl : public AbstractSinglePointMapObjectImpl, public virtual MapObjectAttributes
|
|
{
|
|
using BaseClass = AbstractSinglePointMapObjectImpl;
|
|
|
|
template <typename> friend class GenericObjectFactory;
|
|
protected:
|
|
explicit MapObjectAttributesImpl(const QString &debugInfo = QString());
|
|
virtual ~MapObjectAttributesImpl();
|
|
|
|
public:
|
|
MapObjectAttributesImpl(const MapObjectAttributesImpl &other) = delete;
|
|
MapObjectAttributesImpl &operator=(MapObjectAttributesImpl &other) = delete;
|
|
|
|
QVariantMap attributes() const override;
|
|
void setAttributes(const QVariantMap &attributes) override;
|
|
|
|
|
|
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
|
|
|