17 #ifndef IOX_POSH_POPO_UNTYPED_CLIENT_IMPL_HPP
18 #define IOX_POSH_POPO_UNTYPED_CLIENT_IMPL_HPP
20 #include "iceoryx_posh/capro/service_description.hpp"
21 #include "iceoryx_posh/internal/popo/base_client.hpp"
22 #include "iceoryx_posh/popo/client_options.hpp"
23 #include "iceoryx_posh/popo/trigger_handle.hpp"
24 #include "iceoryx_posh/runtime/posh_runtime.hpp"
32 template <
typename BaseClientT = BaseClient<>>
51 cxx::expected<void*, AllocationError>
loan(
const uint32_t payloadSize,
const uint32_t payloadAlignment) noexcept;
63 cxx::expected<ClientSendError>
send(
void*
const requestPayload) noexcept;
69 cxx::expected<const void*, ChunkReceiveResult>
take() noexcept;
79 using BaseClientT::
port;
84 #include "iceoryx_posh/internal/popo/untyped_client_impl.inl"
class for the identification of a communication event including information on the service,...
Definition: service_description.hpp:81
const PortT & port() const noexcept
const accessor of the underlying port
The UntypedClientImpl class implements the untyped client API.
Definition: untyped_client_impl.hpp:34
void releaseRequest(void *const requestPayload) noexcept
Releases the ownership of the request chunk provided by the payload pointer.
cxx::expected< void *, AllocationError > loan(const uint32_t payloadSize, const uint32_t payloadAlignment) noexcept
Get a request chunk from loaned shared memory.
cxx::expected< ClientSendError > send(void *const requestPayload) noexcept
Sends the provided memory chunk as request to the server.
void releaseResponse(const void *const responsePayload) noexcept
Releases the ownership of the response chunk provided by the payload pointer.
cxx::expected< const void *, ChunkReceiveResult > take() noexcept
Take the response chunk from the top of the receive queue.
This struct is used to configure the client.
Definition: client_options.hpp:33