- generic_base.h: Fix dds::topic namespace issue, move RTI includes inside BUILD_RTI guard - wait_set_handler.h: Remove duplicate m_logger declarations (3→1) - pub_sub_base.cpp: Fix constructor initializer list syntax (.→,), add m_logger initialization - training_area_telegrams.h: Fix field naming (m_ prefix) for accessor methods - PdmComboBox CMakeLists.txt: Add BUILD_RTI AND TARGET guards for svcPdmCommon/svcPdmClient - PdmDataPlugin CMakeLists.txt: Wrap svcPdmClient link in BUILD_RTI guard - CMakeLists.txt: Add RTI_UNIX, RTI_POSIX_THREADS compile definitions, remove duplicate add_subdirectory - alm_types.h, ppm_types.h: Copy missing type headers from include/ directories Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
59 lines
1.1 KiB
C++
Executable File
59 lines
1.1 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#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() {
|
|
#if BUILD_RTI
|
|
return dds::topic::topic_type_name<T>::value();
|
|
#else
|
|
return "";
|
|
#endif
|
|
}
|
|
};
|
|
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);
|
|
}
|
|
|
|
}
|