12#ifndef RTCTK_TELSUB_SHMPUBLISHERIF_HPP
13#define RTCTK_TELSUB_SHMPUBLISHERIF_HPP
14#include <numapp/mempolicy.hpp>
18#include <system_error>
36 return r.code ==
code;
42 return r.code ==
code;
Simple interface to class that owns the shared memory queue.
Definition shmPublisherIf.hpp:31
virtual ~ShmPublisherIf()
Definition shmPublisherIf.hpp:46
virtual void CloseQueue() RTCTK_NOEXCEPT=0
Close shared memory queue.
virtual PublisherError Publish(const DataSamplesView &samples) RTCTK_NOEXCEPT=0
Publish correlated data samples to shared memory.
std::variant< std::monostate, BlenderError, ShmError > PublisherError
Definition shmPublisherIf.hpp:45
Project-wide configuration header.
#define RTCTK_NOEXCEPT
Definition config.hpp:63
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
A set of correlated agnostic non-owning data samples references.
Definition dataSampleView.hpp:52
Definition shmPublisherIf.hpp:33
std::error_code code
Definition shmPublisherIf.hpp:34
bool operator==(const BlenderError &r) const
Definition shmPublisherIf.hpp:35
Definition shmPublisherIf.hpp:39
std::error_code code
Definition shmPublisherIf.hpp:40
bool operator==(const ShmError &r) const
Definition shmPublisherIf.hpp:41