- 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>
37 lines
595 B
C++
Executable File
37 lines
595 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <NGLLogger/INGLLogger.h>
|
|
#include <ddsgen_export.h>
|
|
|
|
namespace DDS
|
|
{
|
|
|
|
enum class DataType
|
|
{
|
|
DATA_TYPE_UNKNOWN = 0,
|
|
|
|
DATA_WRITER = 1,
|
|
DATA_READER = 2,
|
|
|
|
DYNAMIC_DATA_WRITER = 3,
|
|
DYNAMIC_DATA_READER = 4,
|
|
|
|
DATA_TOPIC_SERVER = 8,
|
|
DATA_TOPIC_CLIENT = 9,
|
|
|
|
FUNCTION_TOPIC_SERVER = 12,
|
|
FUNCTION_TOPIC_CLIENT = 13
|
|
};
|
|
|
|
using LOGGER_T = NGL::INGLLogger&;
|
|
|
|
DDSGEN_EXPORT LOGGER_T getLogger(const char *name, DataType dt);
|
|
inline LOGGER_T getLogger(const std::string &loggerName, DataType dt)
|
|
{
|
|
return getLogger(loggerName.data(), dt);
|
|
}
|
|
}
|