Kept: TetraIF/, Z/src, Lts/Common, Lts/Proxies/TrainingAreaBase (tabTelegrams dependency of TetraIF) plus build scaffolding (cmake/, include/, external/, doxygen/, tests/, translations/, lts-cc.conf, CTestCustom.ctest, new_docker_build.sh, rti_license.dat). Removed: out-of-scope Lts modules (Application, DDS, Plugins, Projects, Services, Tools, Viewer, all Proxies except TrainingAreaBase), top-level src/, specs/, Qt5 tree (qt5-before + .gitmodules entry), migration reports and leftover scripts.
34 lines
718 B
C++
Executable File
34 lines
718 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
|