Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/DDS/FTS/generic_fts.h
T
berrux-dev b1662eddfa Clean up stale comments and blank lines in FTC/FTS and nglapplication unit-test
Drop the Qt6-migration explanatory comments (rtiddsgen setter notes,
Log4Qt/BUILDING_NGLLOGGER notes, the INTERFACE-to-STATIC note, the
return_loan comment block) and the stray blank lines. No code changes:
this is the state the last full green run (build + 22/22 ctest +
coverage + DEB) was built from.
2026-11-21 09:25:55 +01:00

43 lines
829 B
C++
Executable File

/**
* @RDE_HEADER@
* GenericFTS Interface
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#if BUILD_RTI
#include <rti/core/SampleIdentity.hpp>
#endif
#include <QtCore/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;
};
}