Migration of Legatus codebase to Qt6 with RTI Connext DDS 7.7 integration is partially complete. Core DDS targets build successfully, but ProjectDataManagement module blocks full ddsfts compilation due to IDL definition conflicts.

This commit is contained in:
torsten committed 2026-09-07 19:36:21 +02:00
1 parent ba1d9e2c04
commit 8cec9973e7
127 files changed
+2134

No files matched your search

@@ -0,0 +1,11 @@
// Stub GTest smoke test for coordTrans
#include <gtest/gtest.h>
TEST(CoordTransSmokeTest, StubTest) {
EXPECT_TRUE(true);
}
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
@@ -0,0 +1,14 @@
// Stub QtTest smoke test for coordTrans
#include <QTest>
class CoordTransSmokeTest : public QObject
{
Q_OBJECT
private slots:
void stubTest() {
QVERIFY(true);
}
};
QTEST_APPLESS_MAIN(CoordTransSmokeTest)
@@ -0,0 +1 @@
#include "data_plugin_interface.h"
@@ -0,0 +1 @@
#include "gui_plugin_interface.h"
@@ -0,0 +1 @@
#include "project_plugin_interface.h"
@@ -0,0 +1 @@
#include "record_replay_plugin.h"
@@ -0,0 +1 @@
#include "style_plugin_interface.h"
@@ -0,0 +1 @@
#include "topic_replay_interface.h"
@@ -0,0 +1,152 @@
/**
* CORE Data Topic Client Interface
* $Id$
* $HeadURL$
* $Author$
* Created by Hanna E. Rathje, SLSE, 2016-01-04
*/
// filename: core_dtc.h
#pragma once
#include <QMap>
#include <QObject>
#include <functional>
#include <LtsUtilsCore/data_modification_enum.h>
#include <DDS/Core/core_export.h>
#include <DDS/Core/core.hpp>
// Bring Core namespace types into scope for Interface namespace
using namespace Core;
namespace DDSConnector
{
class DdsConnector;
}
namespace Core
{
namespace Interface
{
class CORE_COMMON_EXPORT Dtc : public QObject
{
Q_OBJECT
protected:
Dtc() = default;
public:
virtual ~Dtc() = default;
/**
* Create a new instance for Core::Interface::Dtc.
*/
static std::shared_ptr<Dtc> create(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector);
/**
* A unique identifier for this DTC
*/
static inline const char *identifier() { return "Core.Interface.Dtc"; }
/**
* initialize this Dts instance with all data topic readers
*/
virtual bool enableAll(bool enable = true) = 0;
/**
* only initialize the specific reader (can be called instead enableAll())
*/
virtual bool enableCurrentRunningState(bool enable = true) = 0;
virtual bool isCurrentRunningStateEnabled() const = 0;
virtual bool waitForHistoricalDataCurrentRunningState(int timeoutMSec = -1) = 0;
virtual bool enableLockedEntity(bool enable = true) = 0;
virtual bool isLockedEntityEnabled() const = 0;
virtual bool waitForHistoricalDataLockedEntity(int timeoutMSec = -1) = 0;
virtual bool enablePartitionTime(bool enable = true) = 0;
virtual bool isPartitionTimeEnabled() const = 0;
virtual bool waitForHistoricalDataPartitionTime(int timeoutMSec = -1) = 0;
virtual bool enableRelativePositionAbsoluteTime(bool enable = true) = 0;
virtual bool isRelativePositionAbsoluteTimeEnabled() const = 0;
virtual bool waitForHistoricalDataRelativePositionAbsoluteTime(int timeoutMSec = -1) = 0;
virtual bool enableRelativePositionRelativeTime(bool enable = true) = 0;
virtual bool isRelativePositionRelativeTimeEnabled() const = 0;
virtual bool waitForHistoricalDataRelativePositionRelativeTime(int timeoutMSec = -1) = 0;
virtual bool enableReplayPartition(bool enable = true) = 0;
virtual bool isReplayPartitionEnabled() const = 0;
virtual bool waitForHistoricalDataReplayPartition(int timeoutMSec = -1) = 0;
public:
//
// Data Topic 'CurrentRunningState'
//
virtual QMap<qint64, ::Core::CurrentRunningState> currentRunningStates() = 0;
virtual bool currentRunningStates(const std::function<void(const ::Core::CurrentRunningState &data)> &cb) = 0;
// when the cb returns true, the loop is stopped (useful when searching for a specific topic)
virtual bool currentRunningStates(const std::function<bool(const ::Core::CurrentRunningState &data)> &cb) = 0;
virtual ::Core::CurrentRunningState currentRunningState(qint64 pid) = 0;
Q_SIGNALS:
void currentRunningStateChanged(const ::Core::CurrentRunningState &data, DataModification modType);
public:
//
// Data Topic 'LockedEntity'
//
virtual QMap<qint64, ::Core::LockedEntity> lockedEntitys() = 0;
virtual bool lockedEntitys(const std::function<void(const ::Core::LockedEntity &data)> &cb) = 0;
// when the cb returns true, the loop is stopped (useful when searching for a specific topic)
virtual bool lockedEntitys(const std::function<bool(const ::Core::LockedEntity &data)> &cb) = 0;
virtual ::Core::LockedEntity lockedEntity(qint64 id) = 0;
Q_SIGNALS:
void lockedEntityChanged(const ::Core::LockedEntity &data, DataModification modType);
public:
//
// Data Topic 'PartitionTime'
//
virtual ::Core::PartitionTime partitionTime() = 0;
Q_SIGNALS:
void partitionTimeChanged(const ::Core::PartitionTime &data, DataModification modType);
public:
//
// Data Topic 'RelativePositionAbsoluteTime'
//
virtual ::Core::RelativePositionAbsoluteTime relativePositionAbsoluteTime() = 0;
Q_SIGNALS:
void relativePositionAbsoluteTimeChanged(const ::Core::RelativePositionAbsoluteTime &data, DataModification modType);
public:
//
// Data Topic 'RelativePositionRelativeTime'
//
virtual ::Core::RelativePositionRelativeTime relativePositionRelativeTime() = 0;
Q_SIGNALS:
void relativePositionRelativeTimeChanged(const ::Core::RelativePositionRelativeTime &data, DataModification modType);
public:
//
// Data Topic 'ReplayPartition'
//
virtual QMap<qint32, ::Core::ReplayPartition> replayPartitions() = 0;
virtual bool replayPartitions(const std::function<void(const ::Core::ReplayPartition &data)> &cb) = 0;
// when the cb returns true, the loop is stopped (useful when searching for a specific topic)
virtual bool replayPartitions(const std::function<bool(const ::Core::ReplayPartition &data)> &cb) = 0;
virtual ::Core::ReplayPartition replayPartition(qint32 id) = 0;
Q_SIGNALS:
void replayPartitionChanged(const ::Core::ReplayPartition &data, DataModification modType);
};
} // namespace Interface
} // namespace Core
@@ -0,0 +1,95 @@
/**
* Core Function Topic Client interface
* $Id$
* $HeadURL$
* $Author$
*/
// filename: core_ftc.h
#pragma once
#include <DDS/Core/core_export.h>
#include <DDS/Core/core.hpp>
#include <DDS/Core/function_reply_object.h>
namespace DDSConnector
{
class DdsConnector;
}
namespace Core
{
namespace Interface
{
class Ftc
{
protected:
Ftc() = default;
public:
virtual ~Ftc() = default;
/**
* Create a new instance for Core::Interface::Ftc.
* The caller takes ownership of the returned instance!
*/
CORE_CLIENT_EXPORT static std::shared_ptr<Ftc> create(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector, bool forceCreate = false);
/**
* A unique identifier for this FTC
*/
CORE_CLIENT_EXPORT static inline const char *identifier() { return "Core.Interface.Ftc"; }
/**
* initialize this Ftc instance with all function topic clients
*/
virtual bool enableAll(bool enable = true) = 0;
/**
* only initialize the specific function topic client (can be called instead enableAll())
*/
virtual bool enableTryLockEntity(bool enable = true) = 0;
virtual bool isTryLockEntityEnabled() const = 0;
virtual bool enableTryUnlockEntity(bool enable = true) = 0;
virtual bool isTryUnlockEntityEnabled() const = 0;
//
// Function Topic 'TryLockEntity'
//
class TryLockEntityReplyHandler
{
public:
TryLockEntityReplyHandler() = default;
virtual ~TryLockEntityReplyHandler() = default;
virtual void onTryLockEntityReply(const TryLockEntityReply &reply) = 0;
};
virtual int64_t tryLockEntityRequest(const TryLockEntityRequest &request, TryLockEntityReplyHandler *handler) = 0;
virtual int64_t tryLockEntityRequest(const TryLockEntityRequest &request, const std::function<void(const TryLockEntityReply&)> &cb) = 0;
virtual TryLockEntityReply tryLockEntityRequest(const TryLockEntityRequest &request) noexcept(false) = 0; // await
virtual int64_t lastTryLockEntityRequestUniqueId() const = 0;
//
// Function Topic 'TryUnlockEntity'
//
class TryUnlockEntityReplyHandler
{
public:
TryUnlockEntityReplyHandler() = default;
virtual ~TryUnlockEntityReplyHandler() = default;
virtual void onTryUnlockEntityReply(const Core::FunctionReplyObject &reply) = 0;
};
virtual int64_t tryUnlockEntityRequest(const TryUnlockEntityRequest &request, TryUnlockEntityReplyHandler *handler) = 0;
virtual int64_t tryUnlockEntityRequest(const TryUnlockEntityRequest &request, const std::function<void(const Core::FunctionReplyObject&)> &cb) = 0;
virtual int32_t tryUnlockEntityRequest(const TryUnlockEntityRequest &request) noexcept(false) = 0; // await
virtual int64_t lastTryUnlockEntityRequestUniqueId() const = 0;
};
} // namespace Interface
} // namespace Core
@@ -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,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,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,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,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,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,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,33 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database header for ProjectDataManagement service
#pragma once
#include <QObject>
#include <QString>
#include <QVariant>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>
#include "svcpdmcommon_export.h"
namespace ProjectDataManagement {
// Forward declarations
class DbImpl;
// Minimal database interface stub
class PDM_COMMON_EXPORT Db {
public:
Db();
virtual ~Db();
bool isOpen() const;
bool open(const QString& connectionName);
void close();
protected:
QSqlDatabase m_database;
};
} // namespace ProjectDataManagement
@@ -0,0 +1,31 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database implementation for ProjectDataManagement service
#include "pdm_db_impl.h"
namespace ProjectDataManagement {
Db::Db() = default;
Db::~Db() = default;
bool Db::isOpen() const {
return m_database.isOpen();
}
bool Db::open(const QString& connectionName) {
m_database = QSqlDatabase::database(connectionName);
return m_database.open();
}
void Db::close() {
m_database.close();
}
DbImpl::DbImpl() = default;
DbImpl::~DbImpl() = default;
bool DbImpl::executeQuery(const QString& query) {
Q_UNUSED(query);
return true; // Stub implementation
}
} // namespace ProjectDataManagement
@@ -0,0 +1,23 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database implementation header for ProjectDataManagement service
#pragma once
#include "pdm_db.h"
#include <QMap>
#include <QVariant>
namespace ProjectDataManagement {
// Minimal database implementation stub
class DbImpl : public Db {
public:
DbImpl();
~DbImpl() override;
bool executeQuery(const QString& query);
private:
QSqlQuery m_query;
};
} // namespace ProjectDataManagement
@@ -0,0 +1,10 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database structs implementation for ProjectDataManagement service
#include "pdm_db_structs.h"
namespace ProjectDataManagement {
// Minimal stub implementation
// No database struct operations needed in stub mode
} // namespace ProjectDataManagement
@@ -0,0 +1,12 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database structs for ProjectDataManagement service
#pragma once
namespace ProjectDataManagement {
// Minimal stub structs for database operations
struct DbStruct {
int id = 0;
};
} // namespace ProjectDataManagement
@@ -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,146 @@
// Stub file for pdm_translation.h
// This file is used when BUILD_GRANTLEE=OFF to provide basic enum-to-string conversions
#ifndef PDM_TRANSLATION_H
#define PDM_TRANSLATION_H
#include <QString>
#include "pdm_enums.h"
#ifdef BUILD_RTI
#include "svcpdmcommon_export.h"
#else
#define PDM_COMMON_EXPORT
#endif
namespace ProjectDataManagement {
PDM_COMMON_EXPORT QString toQString(IgniterFunctionBase e);
PDM_COMMON_EXPORT QString toQString(EventType e);
PDM_COMMON_EXPORT QString toQString(VulnerabilityState e);
inline QString toQString(IgniterFunctionBase e)
{
switch (e)
{
case IgniterFunctionBase::IfbDefault: return "IfbDefault";
case IgniterFunctionBase::IfbTimer: return "IfbTimer";
case IgniterFunctionBase::IfbImpact: return "IfbImpact";
case IgniterFunctionBase::IfbDelay: return "IfbDelay";
case IgniterFunctionBase::IfbProximity: return "IfbProximity";
default: return "Unknown";
}
}
inline QString toQString(EventType e)
{
switch (e)
{
case EventType::Hit: return "Hit";
case EventType::WeaponAssignment: return "WeaponAssignment";
case EventType::BiteMessage: return "BiteMessage";
case EventType::FireEvent: return "FireEvent";
case EventType::AreaEnter: return "AreaEnter";
case EventType::AreaLeave: return "AreaLeave";
case EventType::AreaContaminated: return "AreaContaminated";
case EventType::AreaDecontaminated: return "AreaDecontaminated";
case EventType::AreaContaminationChanged: return "AreaContaminationChanged";
case EventType::AreaVisibilityChanged: return "AreaVisibilityChanged";
case EventType::AreaOwnershipChanged: return "AreaOwnershipChanged";
case EventType::AreaStatusChanged: return "AreaStatusChanged";
case EventType::AreaTypeChanged: return "AreaTypeChanged";
case EventType::AreaNameChanged: return "AreaNameChanged";
case EventType::AreaDescriptionChanged: return "AreaDescriptionChanged";
case EventType::AreaIconChanged: return "AreaIconChanged";
case EventType::AreaColorChanged: return "AreaColorChanged";
case EventType::AreaShapeChanged: return "AreaShapeChanged";
case EventType::AreaSizeChanged: return "AreaSizeChanged";
case EventType::AreaPositionChanged: return "AreaPositionChanged";
case EventType::AreaRotationChanged: return "AreaRotationChanged";
case EventType::AreaAltitudeChanged: return "AreaAltitudeChanged";
case EventType::AreaElevationChanged: return "AreaElevationChanged";
case EventType::AreaDepthChanged: return "AreaDepthChanged";
case EventType::AreaWidthChanged: return "AreaWidthChanged";
case EventType::AreaLengthChanged: return "AreaLengthChanged";
case EventType::AreaHeightChanged: return "AreaHeightChanged";
case EventType::AreaRadiusChanged: return "AreaRadiusChanged";
case EventType::AreaPointsChanged: return "AreaPointsChanged";
case EventType::AreaVerticesChanged: return "AreaVerticesChanged";
case EventType::AreaEdgesChanged: return "AreaEdgesChanged";
case EventType::AreaFacesChanged: return "AreaFacesChanged";
case EventType::AreaVolumeChanged: return "AreaVolumeChanged";
case EventType::AreaMassChanged: return "AreaMassChanged";
case EventType::AreaDensityChanged: return "AreaDensityChanged";
case EventType::AreaTemperatureChanged: return "AreaTemperatureChanged";
case EventType::AreaPressureChanged: return "AreaPressureChanged";
case EventType::AreaHumidityChanged: return "AreaHumidityChanged";
case EventType::AreaWindSpeedChanged: return "AreaWindSpeedChanged";
case EventType::AreaWindDirectionChanged: return "AreaWindDirectionChanged";
case EventType::AreaWeatherChanged: return "AreaWeatherChanged";
case EventType::AreaLightingChanged: return "AreaLightingChanged";
case EventType::AreaSoundChanged: return "AreaSoundChanged";
case EventType::AreaSmellChanged: return "AreaSmellChanged";
case EventType::AirSupport: return "AirSupport";
case EventType::ExplosionCluster: return "ExplosionCluster";
case EventType::Jamming: return "Jamming";
case EventType::Chaff: return "Chaff";
case EventType::Flare: return "Flare";
case EventType::Smoke: return "Smoke";
case EventType::Laser: return "Laser";
case EventType::Infrared: return "Infrared";
case EventType::Radar: return "Radar";
case EventType::Sonar: return "Sonar";
case EventType::Acoustic: return "Acoustic";
case EventType::Seismic: return "Seismic";
case EventType::Magnetic: return "Magnetic";
case EventType::Electric: return "Electric";
case EventType::Chemical: return "Chemical";
case EventType::Biological: return "Biological";
case EventType::Radiological: return "Radiological";
case EventType::Nuclear: return "Nuclear";
case EventType::Thermal: return "Thermal";
case EventType::Optical: return "Optical";
case EventType::Visual: return "Visual";
case EventType::Audible: return "Audible";
case EventType::Tactile: return "Tactile";
case EventType::Olfactory: return "Olfactory";
case EventType::Gustatory: return "Gustatory";
case EventType::Vestibular: return "Vestibular";
case EventType::Proprioceptive: return "Proprioceptive";
case EventType::Interoceptive: return "Interoceptive";
case EventType::Nociceptive: return "Nociceptive";
case EventType::Thermoceptive: return "Thermoceptive";
default: return "Unknown";
}
}
inline QString toQString(VulnerabilityState e)
{
switch (e)
{
case VulnerabilityState::NoChange: return "NoChange";
case VulnerabilityState::CombatReady: return "CombatReady";
case VulnerabilityState::LightDamage: return "LightDamage";
case VulnerabilityState::MediumDamage: return "MediumDamage";
case VulnerabilityState::HeavyDamage: return "HeavyDamage";
case VulnerabilityState::MobilityKill: return "MobilityKill";
case VulnerabilityState::VisibleMobilityKill: return "VisibleMobilityKill";
case VulnerabilityState::WeaponSystemDamage: return "WeaponSystemDamage";
case VulnerabilityState::VisibleWeaponSystemDamage: return "VisibleWeaponSystemDamage";
case VulnerabilityState::CatastrophicKill: return "CatastrophicKill";
case VulnerabilityState::TemporarySeverance: return "TemporarySeverance";
case VulnerabilityState::NearMiss: return "NearMiss";
case VulnerabilityState::HitWithNoEffect: return "HitWithNoEffect";
case VulnerabilityState::VulnerabilityBitsChanged: return "VulnerabilityBitsChanged";
case VulnerabilityState::Reserved: return "Reserved";
case VulnerabilityState::NContamination: return "NContamination";
case VulnerabilityState::BContamination: return "BContamination";
case VulnerabilityState::CContamination: return "CContamination";
case VulnerabilityState::NotReady: return "NotReady";
default: return "Unknown";
}
}
} // namespace ProjectDataManagement
#endif // PDM_TRANSLATION_H
@@ -0,0 +1,28 @@
-- all available service idl files
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build-rti-on/Lts/DDS/Core/core.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build-rti-on/Lts/DDS/Core/core_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/DDS/Core/core.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/pdm.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/pdm_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/pdm_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/Buildings/bld.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/Buildings/bld_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/Buildings/bld_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/tab.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/tab_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/tab_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBaseOC/taboc.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBaseOC/taboc_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBaseOC/taboc_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/GuezNasat/gna.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/GuezNasat/gna_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/GuezNasat/gna_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/ComponentMonitor/cmo.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/ComponentMonitor/cmo_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/ComponentMonitor/cmo_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/whg.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/whg_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/whg_service.xml
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/tgt.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/tgt_enums.idl
/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/tgt_service.xml
@@ -0,0 +1,7 @@
#ifndef _STUB_DTC_H
#define _STUB_DTC_H
// Stub file for BUILD_GRANTLEE=OFF
namespace PWS {
class Dtc {};
}
#endif
Loaded 100 of 127 files, more files were not shown because too many files have changed in this diff. Show more