18#ifndef IOX_POSH_POPO_UNTYPED_SUBSCRIBER_IMPL_HPP
19#define IOX_POSH_POPO_UNTYPED_SUBSCRIBER_IMPL_HPP
21#include "iceoryx_hoofs/cxx/expected.hpp"
22#include "iceoryx_hoofs/cxx/unique_ptr.hpp"
23#include "iceoryx_posh/capro/service_description.hpp"
24#include "iceoryx_posh/iceoryx_posh_types.hpp"
25#include "iceoryx_posh/internal/popo/base_subscriber.hpp"
37template <
typename BaseSubscriberType = BaseSubscriber<>>
41 using BaseSubscriber = BaseSubscriberType;
58 cxx::expected<const void*, ChunkReceiveResult>
take() noexcept;
68 void release(const
void* const userPayload) noexcept;
71 using BaseSubscriber::
port;
77#include "iceoryx_posh/internal/popo/untyped_subscriber_impl.inl"
class for the identification of a communication event including information on the service,...
Definition service_description.hpp:81
const port_t & port() const noexcept
const accessor of the underlying port
The UntypedSubscriberImpl class implements the untyped subscriber API.
Definition untyped_subscriber_impl.hpp:39
void release(const void *const userPayload) noexcept
Releases the ownership of the chunk provided by the user-payload pointer.
cxx::expected< const void *, ChunkReceiveResult > take() noexcept
Take the chunk from the top of the receive queue.
Definition untyped_subscriber_impl.hpp:32
This struct is used to configure the subscriber.
Definition subscriber_options.hpp:33