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.
33 lines
717 B
C++
Executable File
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
|