RTC Toolkit 4.0.2
Loading...
Searching...
No Matches
mockShmPublisherIf.hpp
Go to the documentation of this file.
1
12#ifndef RTCTK_TELSUB_MOCKSHMPUBLISHERIF_HPP
13#define RTCTK_TELSUB_MOCKSHMPUBLISHERIF_HPP
14#include <gmock/gmock.h>
16
17namespace rtctk::telSub {
19 MOCK_METHOD1(Publish, std::error_code(DataSamplesView const&));
21};
22
23} // namespace rtctk::telSub
24#endif // #ifndef RTCTK_TELSUB_MOCKSHMPUBLISHERIF_HPP
Simple interface to class that owns the shared memory queue.
Definition: shmPublisherIf.hpp:29
virtual void CloseQueue() RTCTK_NOEXCEPT=0
Close shared memory queue.
virtual std::error_code Publish(DataSamplesView const &samples) RTCTK_NOEXCEPT=0
Publish correlated data samples to shared memory.
Definition: main.cpp:18
Declares ShmPublisher.
A set of correlated agnostic non-owning data samples references.
Definition: dataSampleView.hpp:49
Definition: mockShmPublisherIf.hpp:18
MOCK_METHOD0(CloseQueue, void())
MOCK_METHOD1(Publish, std::error_code(DataSamplesView const &))