Merge feature/qt6-migration-basis-modules-services into feature/qt6-migration-basis-modules

Resolves 17 conflicts against legacy Qt5 semantics; validates with BUILD_RTI=ON BUILD_GRANTLEE=ON.
This commit is contained in:
berrux-dev committed 2026-09-24 10:10:25 +02:00
commit 5381c65fee
1200 files changed
+20421 -18259

No files matched your search

@@ -0,0 +1,4 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
namespace DDS { class Topic; }
@@ -0,0 +1,3 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
@@ -0,0 +1,4 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
namespace DDS { class Topic; }
@@ -0,0 +1,3 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
@@ -0,0 +1,4 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
namespace DDS { class Topic; }
@@ -0,0 +1,3 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
@@ -0,0 +1,4 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
namespace DDS { class Topic; }
@@ -0,0 +1,3 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
@@ -0,0 +1,4 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
namespace DDS { class Topic; }
@@ -0,0 +1,3 @@
#pragma once
// Stub file for BUILD_GRANTLEE=OFF
// Auto-generated during Qt6 migration
@@ -0,0 +1,23 @@
// Stub DTC header for AlarmManagement service
// Pre-generated for BUILD_GRANTLEE=OFF
#ifndef ALM_DTC_H
#define ALM_DTC_H
#include <QObject>
#include "alm_export.h"
namespace AlarmManagement {
namespace Interface {
class ALM_EXPORT Dtc : public QObject {
Q_OBJECT
public:
explicit Dtc(QObject* parent = nullptr);
virtual ~Dtc();
};
} // namespace Interface
} // namespace AlarmManagement
#endif // ALM_DTC_H
@@ -0,0 +1,23 @@
// Stub FTC header for AlarmManagement service
// Pre-generated for BUILD_GRANTLEE=OFF
#ifndef ALM_FTC_H
#define ALM_FTC_H
#include <QObject>
#include "alm_export.h"
namespace AlarmManagement {
namespace Interface {
class ALM_EXPORT Ftc : public QObject {
Q_OBJECT
public:
explicit Ftc(QObject* parent = nullptr);
virtual ~Ftc();
};
} // namespace Interface
} // namespace AlarmManagement
#endif // ALM_FTC_H
@@ -0,0 +1,2 @@
#pragma once
namespace AreaEffectSimulation { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,2 @@
#pragma once
namespace AreaEffectSimulation { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,2 @@
#pragma once
namespace AssetManagement { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,2 @@
#pragma once
namespace AssetManagement { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,2 @@
#pragma once
namespace AudioVideoManagement { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,2 @@
#pragma once
namespace AudioVideoManagement { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,14 @@
// Stub export header for non-RTI builds
// When BUILD_RTI=OFF, svcAvmCommon library is not built
// This stub allows dependent code to compile
#ifndef SVCAVMCOMMON_EXPORT_H
#define SVCAVMCOMMON_EXPORT_H
// Map to the actual macro names used in the code
#define SVCAVMCOMMON_EXPORT
#define SVCAVMCOMMON_NO_EXPORT
#define AVM_COMMON_EXPORT
#define AVM_CLIENT_EXPORT
#define AVM_SERVER_EXPORT
#endif
@@ -0,0 +1,2 @@
#pragma once
namespace CentralEffectSimulation { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,2 @@
#pragma once
namespace CentralEffectSimulation { namespace Interface { class Dtc; class Ftc; } }
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace CodificationManagement
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace CodificationManagement
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace CodificationManagement
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace CodificationManagement
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace ESC {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace ESC {
class Ftc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace ESM {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace ESM {
class Ftc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace EVL {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace EVL {
class Ftc {};
}
#endif
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace ExerciseEventManagement
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace ExerciseEventManagement
@@ -0,0 +1,17 @@
#ifndef EEM_FTC_H
#define EEM_FTC_H
// Stub file for eem_ftc.h - generated code placeholder
// This file is auto-generated from eem_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace ExerciseEventManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace ExerciseEventManagement
#endif // EEM_FTC_H
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace EXM {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace EXM {
class Ftc {};
}
#endif
@@ -0,0 +1,76 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Implementierungen
#include <functional>
#include <QObject>
#include "flm_db.h"
namespace FileManagement
{
namespace Interface
{
// DataModification Enum (aus DDS generiert)
enum class DataModification
{
eAdded,
eModified,
eRemoved
};
// Callback types
using FolderCallback = std::function<void(const std::vector<Folder>&, const std::vector<int32_t>&, DataModification)>;
using FileContentCallback = std::function<void(const std::vector<FileContent>&, const std::vector<int32_t>&, DataModification)>;
// Dtc - Data Transfer Component interface for FileManagement
class Dtc : public QObject
{
Q_OBJECT
public:
virtual ~Dtc() = default;
// Initialization methods
virtual void enableFolder() {}
virtual void waitForHistoricalDataFolder() {}
virtual void enableFileContent() {}
virtual void waitForHistoricalDataFileContent() {}
// Folder operations
virtual void folders(FolderCallback callback) const
{
// STUB-Implementierung - keine Ordner vorhanden
std::vector<Folder> emptyFolders;
std::vector<int32_t> emptyIds;
callback(emptyFolders, emptyIds, DataModification::eModified);
}
virtual std::shared_ptr<Folder> folder(int32_t /*folderId*/) const
{
return nullptr;
}
// FileContent operations
virtual void fileContents(FileContentCallback callback) const
{
// STUB-Implementierung
std::vector<FileContent> emptyContents;
std::vector<int32_t> emptyIds;
callback(emptyContents, emptyIds, DataModification::eModified);
}
virtual std::shared_ptr<FileContent> fileContent(int32_t /*fileContentId*/) const
{
return nullptr;
}
signals:
void folderChanged(const FileManagement::Folder &folder, DataModification modification);
void fileContentChanged(const FileManagement::FileContent &fileContent, DataModification modification);
};
class Ftc;
} // namespace Interface
} // namespace FileManagement
@@ -0,0 +1,20 @@
/**
* @RDE_HEADER@
* FileManagement Topic Client Stub (BUILD_RTI=OFF)
* Normally generated from flm_service.xml by DDS Code Generator
*/
#pragma once
#include <memory>
namespace FileManagement
{
namespace Interface
{
// Forward declaration - actual implementation provided by DDS when BUILD_RTI=ON
class Ftc;
} // namespace Interface
} // namespace FileManagement
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace FLT {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace FLT {
class Ftc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace GIM {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace GIM {
class Ftc {};
}
#endif
@@ -0,0 +1,17 @@
#ifndef GMP_DTC_H
#define GMP_DTC_H
// Stub file for gmp_dtc.h - generated code placeholder
// This file is auto-generated from gmp_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace GuezMinelayerProcessing {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace GuezMinelayerProcessing
#endif // GMP_DTC_H
@@ -0,0 +1,17 @@
#ifndef GMP_FTC_H
#define GMP_FTC_H
// Stub file for gmp_ftc.h - generated code placeholder
// This file is auto-generated from gmp_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace GuezMinelayerProcessing {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace GuezMinelayerProcessing
#endif // GMP_FTC_H
@@ -0,0 +1,232 @@
/**
* @file ism.hpp
* @brief DDS-Stub-Header für InfrastructureManagement
*
* Dieser Header ersetzt die von RTI DDS Generator erzeugten Typen.
*/
#ifndef ISM_HPP
#define ISM_HPP
#include <cstdint>
#include <string>
#include <vector>
#include <QtCore/QString>
#include <QtCore/QByteArray>
#include <QtGui/QImage>
#include <QtCore/QMap>
#include "ism_enums.hpp"
#include "ParticipantManagement/ppm_enums.hpp"
// Using-declaration for DataModification
using DataModification = ParticipantManagement::DataModification;
namespace InfrastructureManagement {
// Core namespace mit GeoPosition und RelativePosition
namespace Core {
class GeoPosition {
public:
GeoPosition() : latitude_(0.0), longitude_(0.0), altitude_(0.0) {}
double latitude() const { return latitude_; }
double longitude() const { return longitude_; }
double altitude() const { return altitude_; }
void latitude(double v) { latitude_ = v; }
void longitude(double v) { longitude_ = v; }
void altitude(double v) { altitude_ = v; }
private:
double latitude_;
double longitude_;
double altitude_;
};
class RelativePosition {
public:
RelativePosition() : x_(0.0), y_(0.0), z_(0.0) {}
double x() const { return x_; }
double y() const { return y_; }
double z() const { return z_; }
void x(double v) { x_ = v; }
void y(double v) { y_ = v; }
void z(double v) { z_ = v; }
private:
double x_;
double y_;
double z_;
};
} // namespace Core
// StructureElement Stub-Klasse
class StructureElement {
public:
StructureElement() : id_(0), mainStructureElementId_(0), mountingPointTypeId_(MountingPointType::Undefined), mountingPointId_(0) {}
int32_t id() const { return id_; }
void id(int32_t v) { id_ = v; }
int32_t mainStructureElementId() const { return mainStructureElementId_; }
void mainStructureElementId(int32_t v) { mainStructureElementId_ = v; }
MountingPointType mountingPointTypeId() const { return mountingPointTypeId_; }
void mountingPointTypeId(MountingPointType v) { mountingPointTypeId_ = v; }
// Für Kompatibilität: structureElementTypeId() als Alias
MountingPointType structureElementTypeId() const { return mountingPointTypeId_; }
void structureElementTypeId(MountingPointType v) { mountingPointTypeId_ = v; }
// mountingPointId() für Sub-ID
int32_t mountingPointId() const { return mountingPointId_; }
void mountingPointId(int32_t v) { mountingPointId_ = v; }
Core::GeoPosition geoPosition() const { return geoPosition_; }
void geoPosition(const Core::GeoPosition& v) { geoPosition_ = v; }
Core::RelativePosition relPosition() const { return relPosition_; }
void relPosition(const Core::RelativePosition& v) { relPosition_ = v; }
std::string properties() const { return properties_; }
void properties(const std::string& v) { properties_ = v; }
std::string name() const { return name_; }
void name(const std::string& v) { name_ = v; }
std::string displayName() const { return displayName_; }
void displayName(const std::string& v) { displayName_ = v; }
// path() returns vector of IDs im Hierarchie-Pfad
const std::vector<int32_t>& path() const { return path_; }
void path(const std::vector<int32_t>& v) { path_ = v; }
private:
int32_t id_;
int32_t mainStructureElementId_;
MountingPointType mountingPointTypeId_;
int32_t mountingPointId_;
Core::GeoPosition geoPosition_;
Core::RelativePosition relPosition_;
std::string properties_;
std::string name_;
std::string displayName_;
std::vector<int32_t> path_;
};
// MainStructureElement - Stub für DDS-generierten Typ
class MainStructureElement {
public:
MainStructureElement() : id_(0), groupId_(0) {}
int32_t id() const { return id_; }
void id(int32_t v) { id_ = v; }
int32_t groupId() const { return groupId_; }
void groupId(int32_t v) { groupId_ = v; }
std::string name() const { return name_; }
void name(const std::string& v) { name_ = v; }
std::string displayName() const { return displayName_; }
void displayName(const std::string& v) { displayName_ = v; }
Core::GeoPosition geoPosition() const { return geoPosition_; }
void geoPosition(const Core::GeoPosition& v) { geoPosition_ = v; }
// For compatibility: elements() returns empty vector by default
const std::vector<StructureElement>& elements() const { return elements_; }
void elements(const std::vector<StructureElement>& v) { elements_ = v; }
private:
int32_t id_;
int32_t groupId_;
std::string name_;
std::string displayName_;
Core::GeoPosition geoPosition_;
std::vector<StructureElement> elements_;
};
// MountingPointAsset - Stub für DDS-generierten Typ
class MountingPointAsset {
public:
MountingPointAsset() : id_(0), mountingPointId_(0), assetId_(0) {}
int32_t id() const { return id_; }
void id(int32_t v) { id_ = v; }
int32_t mountingPointId() const { return mountingPointId_; }
void mountingPointId(int32_t v) { mountingPointId_ = v; }
int32_t assetId() const { return assetId_; }
void assetId(int32_t v) { assetId_ = v; }
std::string name() const { return name_; }
void name(const std::string& v) { name_ = v; }
// For compatibility: structureElementId() alias for mountingPointId()
int32_t structureElementId() const { return mountingPointId_; }
void structureElementId(int32_t v) { mountingPointId_ = v; }
private:
int32_t id_;
int32_t mountingPointId_;
int32_t assetId_;
std::string name_;
};
// Forward declaration - full definition in ism_mounting_point.h
class MountingPoint;
// FootprintElement - für Footprint-Daten
class FootprintElement {
public:
FootprintElement() : isGroundLevel_(false) {}
bool isGroundLevel() const { return isGroundLevel_; }
void isGroundLevel(bool v) { isGroundLevel_ = v; }
Core::RelativePosition relPosition() const { return relPosition_; }
void relPosition(const Core::RelativePosition& v) { relPosition_ = v; }
private:
bool isGroundLevel_;
Core::RelativePosition relPosition_;
};
// MainFootprint - Footprint-Daten für MainStructureElement
class MainFootprint {
public:
MainFootprint() : id_(0) {}
int32_t id() const { return id_; }
void id(int32_t v) { id_ = v; }
const std::vector<FootprintElement>& elements() const { return elements_; }
void elements(const std::vector<FootprintElement>& v) { elements_ = v; }
private:
int32_t id_;
std::vector<FootprintElement> elements_;
};
// InstrumentationAsset - Stub für DDS-generierten Typ
class InstrumentationAsset {
public:
InstrumentationAsset() : id_(0) {}
int32_t id() const { return id_; }
void id(int32_t v) { id_ = v; }
std::string name() const { return name_; }
void name(const std::string& v) { name_ = v; }
private:
int32_t id_;
std::string name_;
};
// StructureElementType Enum (Alias für MountingPointType für Kompatibilität)
using StructureElementType = MountingPointType;
} // namespace InfrastructureManagement
#endif // ISM_HPP
@@ -0,0 +1,129 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Implementierungen
#include <QtCore/QObject>
#include <QtCore/QMap>
#include <QtCore/QHash>
#include <functional>
#include "ism.hpp"
#include "ism_mounting_point.h"
namespace InfrastructureManagement
{
namespace Interface
{
// Forward declarations
class Dtc;
class Ftc;
// DataModification Enum
enum class DataModification
{
eAdded,
eModified,
eRemoved
};
// MountingPointPlan - Planungsdaten für MountingPoints (MUST come before MainSchedule)
class MountingPointPlan {
public:
MountingPointPlan() : structureElementId_(0) {}
int32_t structureElementId() const { return structureElementId_; }
void structureElementId(int32_t v) { structureElementId_ = v; }
MountingPointState mountingPointState() const { return mountingPointState_; }
void mountingPointState(const MountingPointState& v) { mountingPointState_ = v; }
private:
int32_t structureElementId_;
MountingPointState mountingPointState_;
};
// MainSchedule - benötigt für Schedule-Daten
class MainSchedule {
public:
MainSchedule() : id_(0) {}
int32_t id() const { return id_; }
void id(int32_t v) { id_ = v; }
// elements() returns vector of MountingPointPlan
const std::vector<MountingPointPlan>& elements() const { return elements_; }
void elements(const std::vector<MountingPointPlan>& v) { elements_ = v; }
private:
int32_t id_;
std::vector<MountingPointPlan> elements_;
};
// InstrumentationAssetState Enum
enum class InstrumentationAssetState
{
Undefined = 0,
Ok = 1,
Defect = 2
};
// InstrumentationAsset - Asset-Daten
class InstrumentationAsset {
public:
InstrumentationAsset() : assetId_(0), assetStateId_(InstrumentationAssetState::Undefined) {}
int32_t assetId() const { return assetId_; }
void assetId(int32_t v) { assetId_ = v; }
InstrumentationAssetState assetStateId() const { return assetStateId_; }
void assetStateId(InstrumentationAssetState v) { assetStateId_ = v; }
private:
int32_t assetId_;
InstrumentationAssetState assetStateId_;
};
// Dtc - Data Transfer Component (Hauptklasse für ISM-Daten)
class Dtc : public QObject
{
Q_OBJECT
public:
Dtc(QObject* parent = nullptr) : QObject(parent) {}
~Dtc() override = default;
// MainStructureElement Zugriff
virtual const QMap<qint32, MainStructureElement>& mainStructureElements() const = 0;
virtual MainStructureElement mainStructureElement(int32_t id) const = 0;
virtual bool getStructureElementById(int32_t id, StructureElement& out) const = 0;
virtual void waitForHistoricalDataMainStructureElement(int timeoutMs) = 0;
// MainSchedule Zugriff
virtual const QMap<qint32, MainSchedule>& mainSchedules() const = 0;
virtual MainSchedule mainSchedule(int32_t id) const = 0;
virtual void waitForHistoricalDataMainSchedule(int timeoutMs) = 0;
// MountingPointAsset Zugriff
virtual void mountingPointAssets(const std::function<void(const MountingPointAsset&)>& cb) = 0;
virtual void waitForHistoricalDataMountingPointAsset(int timeoutMs) = 0;
virtual InstrumentationAsset instrumentationAsset(int32_t assetId) const = 0;
// MainFootprint Zugriff (wird in ism_dtc_impl_custom_p.h verwendet)
virtual MainFootprint mainFootprint(int mseId) const = 0;
signals:
void mainStructureElementChanged(const MainStructureElement& data, DataModification modType);
void mainScheduleChanged(const MainSchedule& data, DataModification modType);
void mountingPointAssetChanged(const MountingPointAsset& data, DataModification modType);
};
// Ftc - Forward Declaration (wird später implementiert)
class Ftc : public QObject
{
Q_OBJECT
public:
Ftc(QObject* parent = nullptr) : QObject(parent) {}
~Ftc() override = default;
};
} // namespace Interface
} // namespace InfrastructureManagement
@@ -0,0 +1,36 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsftc generiert
// Für die Migration erstellen wir minimale Implementierungen
#include <QtCore/QObject>
#include "ism.hpp"
namespace InfrastructureManagement
{
namespace Interface
{
// Ftc - Function Transfer Component
class Ftc : public QObject
{
Q_OBJECT
public:
Ftc(QObject* parent = nullptr) : QObject(parent) {}
~Ftc() override = default;
// MainStructureElement operations
virtual void setMainStructureElement(const MainStructureElement& data) = 0;
virtual void removeMainStructureElement(int32_t id) = 0;
// MainSchedule operations
virtual void setMainSchedule(const MainSchedule& data) = 0;
virtual void removeMainSchedule(int32_t id) = 0;
// MountingPointAsset operations
virtual void setMountingPointAsset(const MountingPointAsset& data) = 0;
virtual void removeMountingPointAsset(int32_t id) = 0;
};
} // namespace Interface
} // namespace InfrastructureManagement
@@ -0,0 +1,58 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
#include <cstdint>
#include <functional>
#include <optional>
#include <string>
#include <vector>
#include <QtCore/QObject>
#include "LtsUtils/LtsUtilsCore/data_modification_enum.h"
#include "mrk_marker.h"
namespace MarkerManagement
{
namespace Interface
{
// Dtc interface class with signals for Qt6 migration STUB
class Dtc : public QObject
{
Q_OBJECT
public:
explicit Dtc(QObject* parent = nullptr) : QObject(parent) {}
~Dtc() override = default;
// Callback registration instead of enableNotification()
void markers(std::function<void(const Marker&)> callback)
{
m_markerCallback = callback;
}
// Trigger marker changed (for STUB testing)
void triggerMarkerChanged(const Marker& marker, DataModification modType)
{
emit markerChanged(marker, modType);
if (m_markerCallback)
{
m_markerCallback(marker);
}
}
signals:
void markerChanged(const Marker& marker, DataModification modType);
private:
std::function<void(const Marker&)> m_markerCallback;
};
class Ftc;
} // namespace Interface
} // namespace MarkerManagement
@@ -0,0 +1,17 @@
#ifndef MRK_FTC_H
#define MRK_FTC_H
// Stub file for mrk_ftc.h - generated code placeholder
// This file is auto-generated from mrk_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace MarkerManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace MarkerManagement
#endif // MRK_FTC_H
@@ -0,0 +1,8 @@
// Stub export header for non-RTI builds
#ifndef SVCMRKCOMMON_EXPORT_H
#define SVCMRKCOMMON_EXPORT_H
#define SVCMRKCOMMON_EXPORT
#define SVCMRKCOMMON_NO_EXPORT
#endif
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace Messaging
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace Messaging
@@ -0,0 +1,17 @@
#ifndef MSG_FTC_H
#define MSG_FTC_H
// Stub file for msg_ftc.h - generated code placeholder
// This file is auto-generated from msg_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace Messaging {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace Messaging
#endif // MSG_FTC_H
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace MeteoDataManagement
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace MeteoDataManagement
@@ -0,0 +1,17 @@
#ifndef MDM_FTC_H
#define MDM_FTC_H
// Stub file for mdm_ftc.h - generated code placeholder
// This file is auto-generated from mdm_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace MeteoDataManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace MeteoDataManagement
#endif // MDM_FTC_H
@@ -0,0 +1,17 @@
#ifndef NME_DTC_H
#define NME_DTC_H
// Stub file for nme_dtc.h - generated code placeholder
// This file is auto-generated from nme_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace NmeaManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace NmeaManagement
#endif // NME_DTC_H
@@ -0,0 +1,17 @@
#ifndef NME_FTC_H
#define NME_FTC_H
// Stub file for nme_ftc.h - generated code placeholder
// This file is auto-generated from nme_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace NmeaManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace NmeaManagement
#endif // NME_FTC_H
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace NOM {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace NOM {
class Ftc {};
}
#endif
@@ -0,0 +1,17 @@
#ifndef OBD_DTC_H
#define OBD_DTC_H
// Stub file for obd_dtc.h - generated code placeholder
// This file is auto-generated from obd_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace OcBaseDownload {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace OcBaseDownload
#endif // OBD_DTC_H
@@ -0,0 +1,17 @@
#ifndef OBD_FTC_H
#define OBD_FTC_H
// Stub file for obd_ftc.h - generated code placeholder
// This file is auto-generated from obd_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace OcBaseDownload {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace OcBaseDownload
#endif // OBD_FTC_H
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace OSC {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace OSC {
class Ftc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace OSS {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace OSS {
class Ftc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace ORE {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace ORE {
class Ftc {};
}
#endif
@@ -0,0 +1,43 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Implementierungen
#include <QtGlobal>
#include <string>
#include <memory>
namespace OperatorManagement
{
struct User
{
[[nodiscard]] qint32 id() const { return m_id; }
[[nodiscard]] std::string name() const { return m_name; }
qint32 m_id = 0;
std::string m_name;
};
namespace Interface
{
class Dtc
{
public:
// Initialization methods
void enableUser() {}
void waitForHistoricalDataUser() {}
User user(qint32 id) const
{
// STUB-Implementierung - leerer User
User u;
u.m_id = id;
u.m_name = "Unknown";
return u;
}
};
class Ftc;
} // namespace Interface
} // namespace OperatorManagement
@@ -0,0 +1,21 @@
#ifndef OPM_FTC_H
#define OPM_FTC_H
// Stub header for OperatorManagement FTC functionality
// This file is part of FilterManagement which is excluded from build
// For non-FilterManagement builds, we provide this stub
#include <QtCore/QString>
#include <QtCore/QObject>
// Forward declarations and stubs for FTC (Filter/Translation/Conversion)
// Actual implementation is in FilterManagement plugin
class OpmFtc
{
public:
virtual ~OpmFtc() = default;
// Stub methods - actual implementation in FilterManagement
};
#endif // OPM_FTC_H
@@ -0,0 +1,17 @@
#ifndef PPM_DTC_H
#define PPM_DTC_H
// Stub file for ppm_dtc.h - generated code placeholder
// This file is auto-generated from ppm_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace ParticipantManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace ParticipantManagement
#endif // PPM_DTC_H
@@ -0,0 +1,44 @@
#pragma once
// DDS-Stub-Header für ParticipantManagement FTC (Filter Topic Client)
// Generiert für Qt6-Migration ohne RTI DDS
#include <ParticipantManagement/ppm.hpp>
#include <Core/core_types.h>
#include <functional>
#include <memory>
#include <map>
namespace ParticipantManagement
{
namespace Interface
{
class Ftc
{
public:
class ModifyTypeReplyHandler
{
public:
virtual ~ModifyTypeReplyHandler() = default;
virtual void onModifyTypeReply(const Core::FunctionReplyObject &replyObject) = 0;
};
Ftc() = default;
virtual ~Ftc() = default;
virtual std::map<int32_t, Type> getTypes() const
{
return std::map<int32_t, Type>();
}
virtual Type type(int32_t typeId) const
{
Type t;
t.id = typeId;
return t;
}
};
} // namespace Interface
} // namespace ParticipantManagement
@@ -0,0 +1,17 @@
#ifndef PED_DTC_H
#define PED_DTC_H
// Stub file for ped_dtc.h - generated code placeholder
// This file is auto-generated from ped_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace PlanEditor {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace PlanEditor
#endif // PED_DTC_H
@@ -0,0 +1,17 @@
#ifndef PED_FTC_H
#define PED_FTC_H
// Stub file for ped_ftc.h - generated code placeholder
// This file is auto-generated from ped_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace PlanEditor {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace PlanEditor
#endif // PED_FTC_H
@@ -0,0 +1,190 @@
/**
* @file pre_dtc.h
* @brief DDS-generated Stub-Header für PresentationManagement DTC (Data Transfer Component)
*
* Dieser Header ist ein Stub für den von RTI DDS Generator erzeugten Header.
* Ermöglicht Build ohne echte DDS-Codegenerierung.
*/
#pragma once
#include <QtCore/QList>
#include <QtCore/QObject>
#include <QtCore/QString>
#include <functional>
#include <memory>
namespace PresentationManagement
{
// Forward declarations
struct Presentation;
struct PresentationContent;
struct GetPresentationContentReply;
// FileStatus Enum - Status einer Präsentation
enum class FileStatus : int { Valid = 0, Deleted = 1 };
// Presentation - DDS-generierter Typ für Präsentationen
struct Presentation
{
int32_t id = 0;
QString name;
QString description;
int32_t operatorId = 0;
qint64 lastModified = 0;
FileStatus fileStatus = FileStatus::Valid;
};
// PresentationContent - Inhalt einer Präsentation
struct PresentationContent
{
QString attributes;
QString channel;
QString description;
int32_t duration = 0;
double height = 0.0;
int32_t id = 0;
int32_t index = 0;
int32_t presentationId = 0;
QString presentationTopicType;
qint64 startTime = 0;
double width = 0.0;
double x = 0.0;
double y = 0.0;
};
// GetPresentationContentReply - Reply für GetPresentationContent Request
struct GetPresentationContentReply
{
QList<PresentationContent> content;
};
namespace Interface
{
/**
* @brief Dtc - Data Transfer Component für Presentation Management
*
* DDS-generierte Klasse mit Präsentation-Daten und Signalen für Änderungen.
*/
class Dtc : public QObject
{
Q_OBJECT
public:
Dtc() = default;
~Dtc() override = default;
// Präsentations-Liste abrufen (Callback-basiert)
void presentations(const std::function<void(const Presentation&)>& callback) const
{
for (const auto& p : m_presentations)
{
callback(p);
}
}
// Präsentations-Liste als QList (für direkten Zugriff)
QList<Presentation> presentationsList() const
{
return m_presentations;
}
// Präsentation hinzufügen/entfernen/ändern
void addPresentation(const Presentation& p)
{
m_presentations.append(p);
emit presentationChanged(p, 0); // 0 = added
}
void updatePresentation(const Presentation& p)
{
for (auto& existing : m_presentations)
{
if (existing.id == p.id)
{
existing = p;
emit presentationChanged(p, 1); // 1 = modified
return;
}
}
addPresentation(p);
}
void removePresentation(int id)
{
for (auto it = m_presentations.begin(); it != m_presentations.end(); ++it)
{
if (it->id == id)
{
Presentation removed = *it;
m_presentations.erase(it);
emit presentationChanged(removed, 2); // 2 = removed
return;
}
}
}
// Content getter/setter für PresentationContent
void content(const std::function<void(const PresentationContent&)>& callback) const
{
for (const auto& c : m_content)
{
callback(c);
}
}
QList<PresentationContent> contentList() const
{
return m_content;
}
void setContent(const QList<PresentationContent>& content)
{
m_content = content;
}
signals:
// Signal für Präsentations-Änderungen
void presentationChanged(const Presentation& presentation, int modificationType);
private:
QList<Presentation> m_presentations;
QList<PresentationContent> m_content;
};
/**
* @brief Ftc - Filter Topic Client für Presentation Management
*
* DDS-generierte Klasse für Presentation-Client-Operationen.
*/
class Ftc
{
public:
using ModifyTypeReplyHandler = std::function<void(bool success)>;
virtual ~Ftc() = default;
/**
* @brief Factory-Methode zur Erstellung einer Ftc-Instanz
* @param connector DDS-Connector (wird im Stub ignoriert)
* @return Shared Pointer zur Ftc-Instanz (nullptr im Stub)
*/
static std::shared_ptr<Ftc> create(void* /*connector*/)
{
return nullptr; // Stub returns nullptr - actual implementation requires DDS
}
// PresentationModify Reply Handler
virtual void presentationModifyReply(ModifyTypeReplyHandler handler) = 0;
// PresentationRemove Reply Handler
virtual void presentationRemoveReply(ModifyTypeReplyHandler handler) = 0;
// GetPresentationContent Reply Handler
virtual void getPresentationContentReply(const GetPresentationContentReply& reply) = 0;
};
} // namespace Interface
} // namespace PresentationManagement
@@ -0,0 +1,17 @@
#ifndef PRE_FTC_H
#define PRE_FTC_H
// Stub file for pre_ftc.h - generated code placeholder
// This file is auto-generated from pre_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace PresentationManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace PresentationManagement
#endif // PRE_FTC_H
@@ -0,0 +1,17 @@
#ifndef PDM_DTC_H
#define PDM_DTC_H
// Stub file for pdm_dtc.h - generated code placeholder
// This file is auto-generated from pdm_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace ProjectDataManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace ProjectDataManagement
#endif // PDM_DTC_H
@@ -0,0 +1,17 @@
#ifndef PDM_FTC_H
#define PDM_FTC_H
// Stub file for pdm_ftc.h - generated code placeholder
// This file is auto-generated from pdm_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace ProjectDataManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace ProjectDataManagement
#endif // PDM_FTC_H
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace PWS {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace PWS {
class Ftc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace REC {
class Dtc {};
}
#endif
@@ -0,0 +1,7 @@
#ifndef _STUB_FTC_H
#define _STUB_FTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace REC {
class Ftc {};
}
#endif
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace ReportManagement
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace ReportManagement
@@ -0,0 +1,17 @@
#ifndef REP_FTC_H
#define REP_FTC_H
// Stub file for rep_ftc.h - generated code placeholder
// This file is auto-generated from rep_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace ReportManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace ReportManagement
#endif // REP_FTC_H
@@ -0,0 +1,17 @@
#ifndef RSC_DTC_H
#define RSC_DTC_H
// Stub file for rsc_dtc.h - generated code placeholder
// This file is auto-generated from rsc_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace RoutingServiceNG {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Dtc;
} // namespace Dds
} // namespace RoutingServiceNG
#endif // RSC_DTC_H
@@ -0,0 +1,17 @@
#ifndef RSC_FTC_H
#define RSC_FTC_H
// Stub file for rsc_ftc.h - generated code placeholder
// This file is auto-generated from rsc_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace RoutingServiceNG {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace RoutingServiceNG
#endif // RSC_FTC_H
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace TargetManagement
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace TargetManagement
@@ -0,0 +1,17 @@
#ifndef TGT_FTC_H
#define TGT_FTC_H
// Stub file for tgt_ftc.h - generated code placeholder
// This file is auto-generated from tgt_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace TargetManagement {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace TargetManagement
#endif // TGT_FTC_H
@@ -0,0 +1,13 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Forward-Declarations
namespace WarehouseGuez
{
namespace Interface
{
class Dtc;
class Ftc;
} // namespace Interface
} // namespace WarehouseGuez
@@ -0,0 +1,17 @@
#ifndef WHG_FTC_H
#define WHG_FTC_H
// Stub file for whg_ftc.h - generated code placeholder
// This file is auto-generated from whg_service.xml when BUILD_GRANTLEE=ON
// For BUILD_GRANTLEE=OFF, this stub allows compilation to proceed
namespace WarehouseGuez {
namespace Dds {
// Forward declarations - actual definitions in generated code
class Ftc;
} // namespace Dds
} // namespace WarehouseGuez
#endif // WHG_FTC_H