- 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)
62 lines
1.3 KiB
C++
Executable File
62 lines
1.3 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#if BUILD_RTI
|
|
#include <dds/core/xtypes/DynamicData.hpp>
|
|
#include <dds/core/xtypes/DynamicType.hpp>
|
|
#include <dds/topic/Topic.hpp>
|
|
#endif
|
|
|
|
#include <string>
|
|
#include <ddsgen_export.h>
|
|
|
|
class QObject;
|
|
class QMetaMethod;
|
|
|
|
namespace NGL {
|
|
class INGLLogger;
|
|
}
|
|
|
|
namespace DDS
|
|
{
|
|
|
|
template<typename T>
|
|
struct topic_type_name {
|
|
static std::string value() {
|
|
return dds::topic::topic_type_name<T>::value();
|
|
}
|
|
};
|
|
#if BUILD_RTI
|
|
template<>
|
|
struct topic_type_name<dds::core::xtypes::DynamicData> {
|
|
static std::string value() {
|
|
return "dds::topic::DynamicData::value()";
|
|
}
|
|
};
|
|
template<>
|
|
struct topic_type_name<rti::core::xtypes::DynamicTypeImpl> {
|
|
static std::string value() {
|
|
return "dds::topic::DynamicTypeImpl::value()";
|
|
}
|
|
};
|
|
#endif
|
|
|
|
|
|
namespace Helper
|
|
{
|
|
DDSGEN_EXPORT std::string getFunctionTopicName(const std::string &fqName);
|
|
DDSGEN_EXPORT std::string getShortTopicName(const std::string &fqName);
|
|
|
|
|
|
|
|
DDSGEN_EXPORT QMetaMethod getMethod(NGL::INGLLogger &logger,
|
|
QObject *objectToInform,
|
|
const char *slotToExecute,
|
|
const char *signalSignature,
|
|
bool bWarnOnEmptySlot = true);
|
|
}
|
|
|
|
}
|