Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,65 @@
|
||||
/**
|
||||
* @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
|
||||
|
||||
Reference in new issue
Block a user