RTC Toolkit  1.0.0
Public Member Functions | List of all members
rtctk::telSub::ShmPublisherIf Class Referenceabstract

Simple interface to class that owns the shared memory queue. More...

#include <shmPublisherIf.hpp>

Inheritance diagram for rtctk::telSub::ShmPublisherIf:
rtctk::telSub::ShmPublisher< UserTopicType, DataBlender, ShmWriter >

Public Member Functions

virtual ~ShmPublisherIf ()
 
virtual std::error_code Publish (DataSamplesView const &samples) RTCTK_NOEXCEPT=0
 Publish correlated data samples to shared memory. More...
 
virtual void CloseQueue () RTCTK_NOEXCEPT=0
 Close shared memory queue. More...
 

Detailed Description

Simple interface to class that owns the shared memory queue.

Thread Safety
thread-compatible

Constructor & Destructor Documentation

◆ ~ShmPublisherIf()

virtual rtctk::telSub::ShmPublisherIf::~ShmPublisherIf ( )
inlinevirtual

Member Function Documentation

◆ CloseQueue()

virtual void rtctk::telSub::ShmPublisherIf::CloseQueue ( )
pure virtual

Close shared memory queue.

Subsequent calls to Publish will fail.

Implemented in rtctk::telSub::ShmPublisher< UserTopicType, DataBlender, ShmWriter >.

◆ Publish()

virtual std::error_code rtctk::telSub::ShmPublisherIf::Publish ( DataSamplesView const &  samples)
pure virtual

Publish correlated data samples to shared memory.

Parameters
samplesCorrelated data samples to publish.
Returns
Error code.

Implemented in rtctk::telSub::ShmPublisher< UserTopicType, DataBlender, ShmWriter >.


The documentation for this class was generated from the following file: