BUILD_RTI guards for DDS/Routing modules + logger init fixes

- Lts/DDS: Add BUILD_RTI guards to pacemaker.h, dds_connector.h,
  generic_fts_* files, generic_base.h, routing_plugin.h
- Lts/Services/RoutingServiceNG: Add BUILD_RTI guards to session.h/cpp,
  connection.h/cpp, data_writer_task.h/cpp
- Fix C++23 reference member initialization: use getLogger() instead of
  getNGLLogger() in constructor initializer lists
- Root CMakeLists.txt: Add Lts/DDS to include_directories
- Fix export header generation order (GENERATE_EXPORT_HEADER before
  TARGET_INCLUDE_DIRECTORIES)
- Remove auto-generated stub files (external deps collected separately)
This commit is contained in:
torsten committed 2026-08-21 21:57:27 +02:00
1 parent 6588fc7d3f
commit 3cc3129de0
27 files changed
+339 -92

No files matched your search

@@ -2,6 +2,8 @@
#pragma once
#if BUILD_RTI
#include "connext.h"
#include "generic_fts_internal.h"
@@ -255,3 +257,5 @@ class GenericFtsImpl final : public GenericFts<TOPICTYPE_REQUEST, TOPICTYPE_REPL
};
} // namespace FTS
#endif // BUILD_RTI
@@ -2,6 +2,9 @@
#include "generic_fts_internal.h"
#if BUILD_RTI
#include <DDS/QosProfile/DDS_DefaultQos.h>
#include <QMetaMethod>
#include <NGLLogger/INGLLogger.h>
@@ -45,4 +48,6 @@ void GenericFtsInternal::dataAvailable()
}
}
}
#endif // BUILD_RTI
@@ -8,9 +8,9 @@
#if BUILD_RTI
#include <DDS/Core/topic_lock_master.h>
#include <DDS/Generic/wait_set_handler.h>
#endif
#include <dds/sub/qos/DataReaderQos.hpp>
#include <dds/pub/qos/DataWriterQos.hpp>
#endif
#include <QObject>
@@ -25,9 +25,11 @@ namespace FTS
protected:
GenericFtsInternal() = default;
#if BUILD_RTI
static void printDefaultQos(NGL::INGLLogger &logger);
static dds::sub::qos::DataReaderQos readerQos(NGL::INGLLogger &logger);
static dds::pub::qos::DataWriterQos writerQos(NGL::INGLLogger &logger);
#endif
protected:
#if BUILD_RTI