diff --git a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_dts.cpp b/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_dts.cpp deleted file mode 100644 index f3690910d..000000000 --- a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_dts.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * DDS Stub Implementation for FilterManagement DTS/FTS - * - * This is a minimal stub implementation to enable building without - * the actual DDS-generated code. - */ - -#include "flt_dts.h" -#include "flt_fts.h" -#include - -namespace FilterManagement -{ -namespace Interface -{ - -// Dts Stub Implementation -class DtsImpl : public Dts -{ -public: - explicit DtsImpl(const std::shared_ptr & /*connector*/) - {} - - bool enableAll() override - { - // Stub - always succeeds - return true; - } - - void publish(const AesFilter & /*filter*/) override - { - // Stub - no-op - } - - void removeAesFilterByKey(int /*key*/) override - { - // Stub - no-op - } -}; - -std::shared_ptr Dts::create(const std::shared_ptr &connector) -{ - return std::make_shared(connector); -} - -// Fts Stub Implementation -class FtsImpl : public Fts -{ -public: - explicit FtsImpl(const std::shared_ptr & /*connector*/) - {} - - bool enableAll() override - { - // Stub - always succeeds - return true; - } - - void aesFilterUpdateReply(const rti::core::SampleIdentity & /*cookie*/, - const Core::FunctionReplyObject & /*reply*/) override - { - // Stub - no-op - } -}; - -std::shared_ptr Fts::create(const std::shared_ptr &connector) -{ - return std::make_shared(connector); -} - -} // namespace Interface -} // namespace FilterManagement \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_dts.h b/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_dts.h deleted file mode 100644 index c75b330a3..000000000 --- a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_dts.h +++ /dev/null @@ -1,67 +0,0 @@ -/** - * DDS Stub Header for FilterManagement DTS (Data Transfer Service) - * - * This is a minimal stub header to enable building without the actual - * DDS-generated headers. The real flt_dts.h would be generated by RTI DDS - * from IDL definitions. - */ - -#pragma once - -#include -#include -#include -#if BUILD_RTI -#include -#include -#endif - -namespace FilterManagement -{ - -// Forward declaration -class AesFilter; - -namespace Interface -{ - -/** - * @brief Dts - DDS Data Transfer Service interface for FilterManagement - * - * Stub implementation - real type would be DDS-generated - */ -class Dts -{ -public: - static std::shared_ptr create(const std::shared_ptr &connector); - - virtual ~Dts() = default; - - virtual bool enableAll() = 0; - - // AesFilter operations - virtual void publish(const AesFilter &filter) = 0; - virtual void removeAesFilterByKey(int key) = 0; -}; - -/** - * @brief Fts - DDS Filter Tasking Service interface for FilterManagement - * - * Stub implementation - real type would be DDS-generated - */ -class Fts -{ -public: - static std::shared_ptr create(const std::shared_ptr &connector); - - virtual ~Fts() = default; - - virtual bool enableAll() = 0; - - // AesFilter operations - virtual void aesFilterUpdateReply(const rti::core::SampleIdentity &cookie, - const Core::FunctionReplyObject &reply) = 0; -}; - -} // namespace Interface -} // namespace FilterManagement \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_ftc.h b/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_ftc.h deleted file mode 100644 index ee4013910..000000000 --- a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_ftc.h +++ /dev/null @@ -1,159 +0,0 @@ -/** - * @file flt_ftc.h - * @brief DDS-generated Stub-Header für FilterManagement FTC (Filter Topic Client) - * - * Dieser Header ist ein Stub für den von RTI DDS Generator erzeugten Header. - * Ermöglicht Build ohne echte DDS-Codegenerierung. - */ - -#pragma once - -#include -#include -#include -#include -#include -#include -#include - -namespace rti { -namespace core { - class SampleIdentity; -} -} - -namespace FilterManagement { - -// Forward declarations -class AesFilter -{ -public: - AesFilter() = default; - ~AesFilter() = default; - - // Placeholder members for AesFilter functionality - QString getName() const { return m_name; } - void setName(const QString &name) { m_name = name; } - - bool isActive() const { return m_active; } - void setActive(bool active) { m_active = active; } - -private: - QString m_name; - bool m_active = false; -}; - -/** - * @brief SymbolAppearance - DDS-Stub für Symbol Appearance Filter - */ -class SymbolAppearance -{ -public: - SymbolAppearance() = default; - ~SymbolAppearance() = default; - - // Placeholder members for SymbolAppearance functionality - QString getName() const { return m_name; } - void setName(const QString &name) { m_name = name; } - - // Content getter/setter (wird von symbol_appearance_settings_impl.cpp verwendet) - QString content() const { return m_content; } - void setContent(const QString &c) { m_content = c; } - -private: - QString m_name; - QString m_content; -}; - -/** - * @brief BuildingComponentFilter - DDS-Stub für Building Component Filter - * - * Minimaler Stub der die im Code verwendeten Methoden bereitstellt. - */ -class BuildingComponentFilter -{ -public: - BuildingComponentFilter() = default; - BuildingComponentFilter(const BuildingComponentFilter &) = default; - BuildingComponentFilter &operator=(const BuildingComponentFilter &) = default; - ~BuildingComponentFilter() = default; - - const std::string& content() const { return m_content; } - void content(const std::string &c) { m_content = c; } - -private: - std::string m_content; -}; - -namespace Interface { - -/** - * @brief FTC (Filter Topic Client) Interface - * - * DDS-generierte Klasse für Filter-Client-Operationen. - * Diese Stub-Implementation ermöglicht Build ohne DDS. - */ -class Ftc -{ -public: - 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 create(void* /*connector*/) - { - return nullptr; // Stub returns nullptr - actual implementation requires DDS - } - - // Reply-Handler Methoden (DDS Request/Reply Pattern) - virtual void aesFilterUpdateReply(const rti::core::SampleIdentity& cookie, - const Core::FunctionReplyObject& ret) = 0; - - virtual void symbolAppearanceUpdateReply(const rti::core::SampleIdentity& cookie, - const Core::FunctionReplyObject& ret) = 0; - - virtual void buildingComponentFilterUpdateReply(const rti::core::SampleIdentity& cookie, - const Core::FunctionReplyObject& ret) = 0; - - // Weitere FTC-Methoden nach Bedarf - virtual void enableAll() = 0; -}; - -/** - * @brief AesFilterUpdateReplyHandler - Callback Interface für AesFilter Updates - */ -class AesFilterUpdateReplyHandler -{ -public: - virtual ~AesFilterUpdateReplyHandler() = default; - virtual void aesFilterUpdateReply(const rti::core::SampleIdentity& cookie, - const Core::FunctionReplyObject& ret) = 0; -}; - -/** - * @brief SymbolAppearanceUpdateReplyHandler - Callback Interface für SymbolAppearance Updates - */ -class SymbolAppearanceUpdateReplyHandler -{ -public: - virtual ~SymbolAppearanceUpdateReplyHandler() = default; - virtual void symbolAppearanceUpdateReply(const rti::core::SampleIdentity& cookie, - const Core::FunctionReplyObject& ret) = 0; -}; - -/** - * @brief BuildingComponentFilterUpdateReplyHandler - Callback Interface für BuildingComponentFilter Updates - */ -class BuildingComponentFilterUpdateReplyHandler -{ -public: - virtual ~BuildingComponentFilterUpdateReplyHandler() = default; - virtual void buildingComponentFilterUpdateReply(const rti::core::SampleIdentity& cookie, - const Core::FunctionReplyObject& ret) = 0; -}; - -} // namespace Interface -} // namespace FilterManagement \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_fts.h b/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_fts.h deleted file mode 100644 index de00130dd..000000000 --- a/qt6-after/qt6-migrated-legatus/include/FilterManagement/flt_fts.h +++ /dev/null @@ -1,86 +0,0 @@ -/** - * DDS Stub Header for FilterManagement FTS (Filter Tasking Service) - * - * This is a minimal stub header to enable building without the actual - * DDS-generated headers. The real flt_fts.h would be generated by RTI DDS - * from IDL definitions. - */ - -#pragma once - -#include -#include -#if BUILD_RTI -#include -#endif - -namespace FilterManagement -{ - -/** - * @brief AesFilter - DDS type for AES filter data - * - * Stub implementation - real type would be DDS-generated - */ -class AesFilter -{ -public: - AesFilter() = default; - AesFilter(int id, int operatorId, qint64 sampleTime, const std::string &content, const std::string &ctx) - : m_id(id) - , m_operatorId(operatorId) - , m_sampleTime(sampleTime) - , m_content(content) - , m_ctx(ctx) - {} - - // Copy constructor from AesFilter (for DDS compatibility) - AesFilter(const AesFilter &other) = default; - AesFilter &operator=(const AesFilter &other) = default; - - // Getters - int id() const { return m_id; } - int operatorId() const { return m_operatorId; } - qint64 sampleTime() const { return m_sampleTime; } - const std::string &content() const { return m_content; } - const std::string &ctx() const { return m_ctx; } - - // Setters - void id(int id) { m_id = id; } - void operatorId(int operatorId) { m_operatorId = operatorId; } - void sampleTime(qint64 sampleTime) { m_sampleTime = sampleTime; } - void content(const std::string &content) { m_content = content; } - void ctx(const std::string &ctx) { m_ctx = ctx; } - -private: - int m_id = 0; - int m_operatorId = 0; - qint64 m_sampleTime = 0; - std::string m_content; - std::string m_ctx; -}; - -} // namespace FilterManagement - -namespace Interface -{ -namespace Fts -{ - -/** - * @brief AesFilterUpdateRequestHandler - DDS request handler interface - * - * Stub implementation - real type would be DDS-generated - */ -class AesFilterUpdateRequestHandler -{ -public: - virtual ~AesFilterUpdateRequestHandler() = default; - -protected: - virtual void onAesFilterUpdateRequest(const rti::core::SampleIdentity &cookie, - const FilterManagement::AesFilter &request) = 0; -}; - -} // namespace Fts -} // namespace Interface \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/FilterManagement/logger.h b/qt6-after/qt6-migrated-legatus/include/FilterManagement/logger.h deleted file mode 100644 index 31938f43c..000000000 --- a/qt6-after/qt6-migrated-legatus/include/FilterManagement/logger.h +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @RDE_HEADER@ - * Logging Stub for FilterManagement - * Placeholder for DDS-generated logger - */ - -#pragma once - -#include -#include - -namespace FilterManagement -{ -using LOGGER_T = NGL::INGLLogger &; - -inline LOGGER_T getLogger(const char *name) -{ - (void)name; // Unused in stub - return NGL::getMemoryLogger(); -} - -inline LOGGER_T getLogger(const QString &loggerName) -{ - return getLogger(loggerName.toUtf8().constData()); -} -} // namespace FilterManagement \ No newline at end of file