Qt6 Migration: BUILD_RTI guards und CMake fixes
- BUILD_RTI conditional compilation für RTI Connext DDS dependencies - Namespace fixes in core_dtc.h (Core:: → DDS::Core::) - CMakeLists.txt: BUILD_RTI option und conditional dependencies - Handler minelayer: namespace closing mit BUILD_RTI guard - Build erfolgreich mit BUILD_RTI=OFF validiert Signed-off-by: Torsten Wierschin <torsten.wierschin@life-maps.com>
This commit is contained in:
422 files changed
+1013
-599
No files matched your search
@@ -9,7 +9,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <QString>
|
||||
#if BUILD_RTI
|
||||
#include "connection.h"
|
||||
#endif
|
||||
|
||||
namespace RoutingService
|
||||
{
|
||||
@@ -19,17 +22,21 @@ public:
|
||||
explicit Session(const QString &partitionNameSv, const QString &partitionNameWs);
|
||||
~Session();
|
||||
|
||||
#if BUILD_RTI
|
||||
bool init(const dds::domain::DomainParticipant &dpIn,
|
||||
const dds::domain::DomainParticipant &dpOut,
|
||||
const std::vector<TopicDispatcherInterface *> &topicsToRouteToWs,
|
||||
const std::vector<TopicDispatcherInterface *> &topicsToRouteToSv);
|
||||
void shutdown();
|
||||
#endif
|
||||
|
||||
private:
|
||||
NGL::INGLLogger &m_logger;
|
||||
std::string m_partitionNameSv;
|
||||
std::string m_partitionNameWs;
|
||||
#if BUILD_RTI
|
||||
std::unique_ptr<Connection> m_connectionSvToWs;
|
||||
std::unique_ptr<Connection> m_connectionWsToSv;
|
||||
#endif
|
||||
};
|
||||
} // namespace RoutingService
|
||||
Reference in new issue
Block a user