Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/MapObjects/mine.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

54 lines
1.1 KiB
C++
Executable File

/**
* @RDE_HEADER@
* Interface of Mine
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include "abstract_single_point_map_object.h"
//----------------------------------------------------------------------------
namespace SituationMap
{
/**
* @brief The SingleFire class supports Indirect Single Fire.
*/
class Mine : public virtual AbstractSinglePointMapObject
{
using BaseClass = AbstractSinglePointMapObject;
public:
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Don't use "= default" because of bug in VS2015 JT 2016/11/7
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Mine() : AbstractSinglePointMapObject() {;} ///< Contructor
virtual ~Mine() = default; ///< Destructor
/*! \name Specific data*/
//@{
/**
* @brief Set mine state (true = aimed/active => filled symbol).
* @return True for aimed/active, otherwise false.
*/
virtual bool state() const = 0;
/**
* @brief Set new mine state.
* @param state (true = aimed/active => filled symbol)
*/virtual void setState(bool state) = 0;
//@}
};
} // namespace SituationMap