Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/MapObjectsImpl/biological_agent_impl.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
2026-10-20 09:36:57 +02:00

84 lines
2.1 KiB
C++
Executable File

/**
* @RDE_HEADER@
* Interface-Implementation of BiologicalAgent
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include "abstract_multi_point_map_object_impl.h"
#include "basic_path_object_impl.h"
#include <MapObjects/biological_agent.h> // Interface
// Qt
//----------------------------------------------------------------------------
namespace SituationMap
{
/**
* @brief The BiologicalAgentImpl class can be described by an origin and a radius.
* \note Maybe this will be changed in future to be consistent to the ChemicalAgent.
*
* A class instance consists of the following logical elements:
* - mainGraphicalObject (GraphicalObjectPath/Polyline, 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 BiologicalAgentImpl : public BasicPathObjectImpl, public virtual BiologicalAgent
{
using BaseClass = BasicPathObjectImpl;
template <typename> friend class GenericObjectFactory;
protected:
explicit BiologicalAgentImpl(const QString &debugInfo = QString());
virtual ~BiologicalAgentImpl();
public:
BiologicalAgentImpl(const BiologicalAgentImpl &other) = delete;
BiologicalAgentImpl &operator=(BiologicalAgentImpl &other) = delete;
QString toString() const override;
// some set/get methods:
Point3D origin() const override;
void setOrigin(const Point3D &origin) override;
float radius() const override;
void setRadius(float radius) override;
// Delegate to BaseClass:
AesEffectState aesState() const override;
void setAesState(AesEffectState aesState) override;
SymbolImage symbolImage() const 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