Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/DDS/FTC/generic_ftc.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

33 lines
717 B
C++
Executable File

/**
* @RDE_HEADER@
* FTC GenericFTC_Interface
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <DDS/Core/core.hpp>
#include <future>
class Request2;
namespace FTC
{
// uses FTC (static)
template <typename RequestTopicType, typename ReplyTopicType>
class GenericFtc
{
public:
GenericFtc() = default;
virtual ~GenericFtc() = default;
virtual bool requestDataClassic(const RequestTopicType &data,
const char *replySlot,
const char *errorSlot,
int &uniqueId) = 0;
virtual std::future<ReplyTopicType> requestDataModern(const RequestTopicType &requestTopic, Request2 *requestWatcher) = 0;
};
} // namespace FTC