18 #ifndef IOX_POSH_POPO_UNTYPED_SUBSCRIBER_HPP
19 #define IOX_POSH_POPO_UNTYPED_SUBSCRIBER_HPP
21 #include "iceoryx_posh/capro/service_description.hpp"
22 #include "iceoryx_posh/iceoryx_posh_types.hpp"
23 #include "iceoryx_posh/popo/base_subscriber.hpp"
24 #include "iceoryx_utils/cxx/expected.hpp"
25 #include "iceoryx_utils/cxx/unique_ptr.hpp"
35 template <
typename BaseSubscriber_t = BaseSubscriber<>>
39 using BaseSubscriber = BaseSubscriber_t;
56 cxx::expected<const void*, ChunkReceiveResult>
take() noexcept;
66 void release(
const void*
const userPayload) noexcept;
77 #include "iceoryx_posh/internal/popo/untyped_subscriber.inl"
class for the identification of a communication event including information on the service,...
Definition: service_description.hpp:86
base class for all types of subscriber
Definition: base_subscriber.hpp:51
const port_t & port() const noexcept
const accessor of the underlying port
Definition: base_subscriber.inl:199
Definition: untyped_subscriber.hpp:37
cxx::expected< const void *, ChunkReceiveResult > take() noexcept
Take the chunk from the top of the receive queue.
Definition: untyped_subscriber.inl:33
void release(const void *const userPayload) noexcept
Releases the ownership of the chunk provided by the user-payload pointer.
Definition: untyped_subscriber.inl:44
Definition: untyped_subscriber.hpp:32
Definition: service_description.hpp:29
This struct is used to configure the subscriber.
Definition: subscriber_options.hpp:31