RTC Toolkit  1.0.0
shmPublisherIf.hpp
Go to the documentation of this file.
1 
11 #ifndef RTCKT_TELSUB_SHMPUBLISHERIF_HPP
12 #define RTCKT_TELSUB_SHMPUBLISHERIF_HPP
13 #include <rtctk/config.hpp>
14 #include <numapp/mempolicy.hpp>
15 
17 
18 namespace rtctk::telSub {
19 
28 public:
29  virtual ~ShmPublisherIf() {};
36  virtual std::error_code Publish(DataSamplesView const& samples) RTCTK_NOEXCEPT = 0;
37 
43  virtual void CloseQueue() RTCTK_NOEXCEPT = 0;
44 };
45 
46 } // namespace rtctk::telSub
47 #endif // #ifndef RTCKT_TELSUB_SHMPUBLISHERIF_HPP
dataSampleView.hpp
Declares ShmPublisher.
config.hpp
Project-wide configuration header.
rtctk::telSub::ShmPublisherIf
Simple interface to class that owns the shared memory queue.
Definition: shmPublisherIf.hpp:27
rtctk::telSub::ShmPublisherIf::~ShmPublisherIf
virtual ~ShmPublisherIf()
Definition: shmPublisherIf.hpp:29
rtctk::telSub::ShmPublisherIf::Publish
virtual std::error_code Publish(DataSamplesView const &samples) RTCTK_NOEXCEPT=0
Publish correlated data samples to shared memory.
rtctk::telSub::DataSamplesView
A set of correlated agnostic non-owning data samples references.
Definition: dataSampleView.hpp:46
rtctk::telSub::ShmPublisherIf::CloseQueue
virtual void CloseQueue() RTCTK_NOEXCEPT=0
Close shared memory queue.
rtctk::telSub
Definition: main.cpp:6
RTCTK_NOEXCEPT
#define RTCTK_NOEXCEPT
Definition: config.hpp:15