- 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>
41 lines
740 B
C++
Executable File
41 lines
740 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#if BUILD_RTI
|
|
#include <rti/core/SampleIdentity.hpp>
|
|
#endif
|
|
#include <QVector>
|
|
|
|
|
|
|
|
|
|
namespace FTS
|
|
{
|
|
|
|
template <typename TOPICTYPE_REQUEST, typename TOPICTYPE_REPLY>
|
|
class GenericFts
|
|
{
|
|
public:
|
|
GenericFts() = default;
|
|
virtual ~GenericFts() = default;
|
|
|
|
virtual bool sendReply(
|
|
#if BUILD_RTI
|
|
const rti::core::SampleIdentity &requestIdentity,
|
|
#else
|
|
const void *requestIdentity, // Stub when BUILD_RTI=OFF
|
|
#endif
|
|
const TOPICTYPE_REPLY &replyData) = 0;
|
|
virtual bool sendReply(
|
|
#if BUILD_RTI
|
|
const rti::core::SampleIdentity &requestIdentity,
|
|
#else
|
|
const void *requestIdentity, // Stub when BUILD_RTI=OFF
|
|
#endif
|
|
const QVector<TOPICTYPE_REPLY> &replyData) = 0;
|
|
};
|
|
|
|
}
|