- training_area_telegrams.cpp: Fixed QJsonObject initializer syntax (Qt6 requires {{}} not ({}))
- training_area_telegrams.cpp: Fixed fromJson() methods to access m_* members directly
- training_area_telegrams.cpp: Fixed brace mismatches in multiple toJson() methods
- training_area_telegrams.h: Changed Header struct to public members for consistency
- tx_mixin.cpp: Fixed getEquipmentNumber() template for direct member access
- lts_coordinate.cpp: Added missing #include <iomanip>
- MIGRATION_STATUS.md: Added migration progress tracking document
C++17 constraint enforced due to RTI Connext DDS 7.7.0 incompatibility with C++20+
Build status: BUILD_RTI=OFF successful (0 errors, warnings only)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
48 lines
977 B
C++
Executable File
48 lines
977 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* ISM Object Special Area
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Filip Biedziak, NLE, 2020-08-05
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "base.h"
|
|
#include <Core/core_types.h>
|
|
|
|
#include <InfrastructureManagement/ism_db.h>
|
|
|
|
#include <QtCore/QPointF>
|
|
#include <QtCore/QString>
|
|
#include <LtsCoordTrans/lts_coord_trans.h>
|
|
|
|
namespace InfrastructureManagement
|
|
{
|
|
|
|
class ObjectSpecialArea : public Base
|
|
{
|
|
|
|
public:
|
|
explicit ObjectSpecialArea(MainHandler *mainHandler);
|
|
~ObjectSpecialArea();
|
|
|
|
Core::FunctionReplyObject createObject(const SpecialArea &data);
|
|
Core::FunctionReplyObject updateObject(const SpecialArea &data);
|
|
Core::FunctionReplyObject removeObject();
|
|
|
|
static SpecialArea toDdsData(const Database::IsmSpecialArea &dbData);
|
|
int32_t getId() const { return m_data.id(); }
|
|
SpecialArea getData() const { return m_data; }
|
|
|
|
protected:
|
|
void onPublishData();
|
|
|
|
private:
|
|
SpecialArea m_data;
|
|
|
|
};
|
|
|
|
} // namespace InfrastructureManagement
|