17#ifndef IOX_POSH_POPO_PUBLISHER_OPTIONS_HPP
18#define IOX_POSH_POPO_PUBLISHER_OPTIONS_HPP
20#include "iceoryx_posh/iceoryx_posh_types.hpp"
21#include "port_queue_policies.hpp"
23#include "iceoryx_hoofs/cxx/serialization.hpp"
This struct is used to configure the publisher.
Definition: publisher_options.hpp:33
iox::NodeName_t nodeName
The name of the node where the publisher should belong to.
Definition: publisher_options.hpp:38
static cxx::expected< PublisherOptions, cxx::Serialization::Error > deserialize(const cxx::Serialization &serialized) noexcept
deserialization of the PublisherOptions
uint64_t historyCapacity
The size of the history chunk queue.
Definition: publisher_options.hpp:35
cxx::Serialization serialize() const noexcept
serialization of the PublisherOptions
bool offerOnCreate
The option whether the publisher should already be offered when creating it.
Definition: publisher_options.hpp:41
ConsumerTooSlowPolicy subscriberTooSlowPolicy
The option whether the publisher should block when the subscriber queue is full.
Definition: publisher_options.hpp:44