- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
58 lines
1.2 KiB
C++
Executable File
58 lines
1.2 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <dds/core/xtypes/DynamicData.hpp>
|
|
#include <dds/core/xtypes/DynamicType.hpp>
|
|
#include <dds/topic/Topic.hpp>
|
|
|
|
#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();
|
|
}
|
|
};
|
|
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()";
|
|
}
|
|
};
|
|
|
|
|
|
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);
|
|
}
|
|
|
|
}
|