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,12 +9,13 @@
|
||||
#include "partition_handler.h"
|
||||
#include <DDS/DDSConnector/dds_connector.h>
|
||||
|
||||
#if BUILD_RTI
|
||||
namespace RoutingService
|
||||
{
|
||||
PartitionHandler::PartitionHandler(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector, QObject *parent) : QObject(parent)
|
||||
, m_exmDtc(ExerciseManagement::Interface::Dtc::create(ddsConnector))
|
||||
, m_destroyTimer(new QTimer(this)),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
m_logger(NGL::NGLLoggerBootstrap::getNGLRootLogger()) {
|
||||
m_exmDtc->enableExercise();
|
||||
|
||||
m_destroyTimer->setInterval(1000);
|
||||
@@ -101,3 +102,4 @@ void PartitionHandler::onDestroyTimerTimeout()
|
||||
|
||||
|
||||
} // namespace RoutingService
|
||||
#endif // BUILD_RTI
|
||||
Reference in new issue
Block a user