Bring the validation-scope line (in-tree Jenkins CI copy, lcov coverage wiring, step-by-step release-scope README, TetraIF unit tests, the LogView runtime icon/resource fix, Dockerfile, rpmbuild and the new_docker_build.sh driver with the DEB output path) on top of the XmlPatterns branch pruned to the Release 2 scope. Conflict policy: - Out-of-scope targets/modules: keep the prune (deletion wins). - In-scope files that validation had deleted: restored from story/release-2-cleanup (the Release 2 closure, with the pruned-module guards). - In-scope sources carrying migration work: XmlPatterns versions (Qt XmlPatterns rework on QDomDocument, DDS member and logger fixes, first-build fixes). - Scope-aware CMakeLists (top level, PluginInterfaces, LtsWidgets) and .envrc: story/release-2-cleanup / ours versions.
35 lines
720 B
C++
Executable File
35 lines
720 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Interface for DataTopicServers (DTSs) - generic
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <dds/domain/DomainParticipant.hpp>
|
|
#include <dds/pub/Publisher.hpp>
|
|
#include <dds/sub/SampleInfo.hpp>
|
|
|
|
namespace DTS
|
|
{
|
|
class Base
|
|
{
|
|
public:
|
|
Base() = default;
|
|
virtual ~Base() = default;
|
|
};
|
|
|
|
template <typename TopicType>
|
|
class GenericDts : public Base
|
|
{
|
|
public:
|
|
GenericDts() = default;
|
|
virtual ~GenericDts() = default;
|
|
|
|
virtual bool write(const TopicType &data,
|
|
const dds::core::optional<dds::sub::SampleInfo> &si = dds::core::optional<dds::sub::SampleInfo>()) = 0;
|
|
virtual bool remove(const TopicType &data, bool errorMsgIfNotExists = true) = 0;
|
|
};
|
|
}
|