27 lines
513 B
C++
Executable File
27 lines
513 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <rti/core/SampleIdentity.hpp>
|
|
#include <QVector>
|
|
|
|
|
|
|
|
|
|
namespace FTS
|
|
{
|
|
|
|
template <typename TOPICTYPE_REQUEST, typename TOPICTYPE_REPLY>
|
|
class GenericFts
|
|
{
|
|
public:
|
|
GenericFts() = default;
|
|
virtual ~GenericFts() = default;
|
|
|
|
virtual bool sendReply(const rti::core::SampleIdentity &requestIdentity, const TOPICTYPE_REPLY &replyData) = 0;
|
|
virtual bool sendReply(const rti::core::SampleIdentity &requestIdentity, const QVector<TOPICTYPE_REPLY> &replyData) = 0;
|
|
};
|
|
|
|
}
|