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

@@ -0,0 +1,69 @@
/**
* @RDE_HEADER@
* StubGraphicalObject
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include "abstract_graphical_object.h"
#include <Map/situation_map_types.h>
// Esri
namespace SituationMap
{
/**
@class StubGraphicalObject stub_graphical_object.h
The class \c StubGraphicalObject is used as substitution for a graphical object. It does
nothing and the purpose is only to satisfy the interface of AbstractGraphicalObject.
@see AbstractGraphicalObject
*/
class StubGraphicalObject : public AbstractGraphicalObject
{
public:
explicit StubGraphicalObject()
: AbstractGraphicalObject(nullptr, nullptr, QString(), UniqueMapId())
{
}
~StubGraphicalObject() = default;
StubGraphicalObject(const StubGraphicalObject &other) = delete;
StubGraphicalObject &operator=(StubGraphicalObject &other) = delete;
protected:
bool changed() override
{
return false;
}
bool updateViewImpl() override
{
return true;
}
bool create() override
{
return true;
}
};
} // namespace SituationMap