iceoryx2
C++ Bindings
Loading...
Searching...
No Matches
iox2::StaticConfigPublishSubscribe Class Reference

#include <static_config_publish_subscribe.hpp>

Public Member Functions

auto max_nodes () const -> uint64_t
auto max_publishers () const -> uint64_t
 Returns the maximum supported amount of [Publisher] ports.
auto max_subscribers () const -> uint64_t
 Returns the maximum supported amount of [Subscriber] ports.
auto history_size () const -> uint64_t
 Returns the maximum history size that can be requested on connect.
auto subscriber_max_buffer_size () const -> uint64_t
 Returns the maximum supported buffer size for [Subscriber] port.
auto subscriber_max_borrowed_samples () const -> uint64_t
 Returns how many [Sample]s a [Subscriber] port can borrow in parallel at most.
auto has_safe_overflow () const -> bool
auto message_type_details () const -> MessageTypeDetails
 Returns the type details of the [Service].

Friends

template<ServiceType, typename, typename>
class PortFactoryPublishSubscribe
class StaticConfig

Detailed Description

The static configuration of an [MessagingPattern::PublishSubscribe] based service. Contains all parameters that do not change during the lifetime of a [Service].

Definition at line 26 of file static_config_publish_subscribe.hpp.

Member Function Documentation

◆ has_safe_overflow()

auto iox2::StaticConfigPublishSubscribe::has_safe_overflow ( ) const->bool

Returns true if the [Service] safely overflows, otherwise false. Safe overflow means that the [Publisher] will recycle the oldest [Sample] from the [Subscriber] when its buffer is full.

References has_safe_overflow().

Referenced by has_safe_overflow().

◆ history_size()

auto iox2::StaticConfigPublishSubscribe::history_size ( ) const->uint64_t

Returns the maximum history size that can be requested on connect.

References history_size().

Referenced by history_size().

◆ max_nodes()

auto iox2::StaticConfigPublishSubscribe::max_nodes ( ) const->uint64_t

Returns the maximum supported amount of [Node]s that can open the [Service] in parallel.

◆ max_publishers()

auto iox2::StaticConfigPublishSubscribe::max_publishers ( ) const->uint64_t

Returns the maximum supported amount of [Publisher] ports.

References max_publishers().

Referenced by max_publishers().

◆ max_subscribers()

auto iox2::StaticConfigPublishSubscribe::max_subscribers ( ) const->uint64_t

Returns the maximum supported amount of [Subscriber] ports.

References max_subscribers().

Referenced by max_subscribers().

◆ message_type_details()

auto iox2::StaticConfigPublishSubscribe::message_type_details ( ) const->MessageTypeDetails

Returns the type details of the [Service].

References message_type_details().

Referenced by message_type_details().

◆ subscriber_max_borrowed_samples()

auto iox2::StaticConfigPublishSubscribe::subscriber_max_borrowed_samples ( ) const->uint64_t

Returns how many [Sample]s a [Subscriber] port can borrow in parallel at most.

References subscriber_max_borrowed_samples().

Referenced by subscriber_max_borrowed_samples().

◆ subscriber_max_buffer_size()

auto iox2::StaticConfigPublishSubscribe::subscriber_max_buffer_size ( ) const->uint64_t

Returns the maximum supported buffer size for [Subscriber] port.

References subscriber_max_buffer_size().

Referenced by subscriber_max_buffer_size().

◆ PortFactoryPublishSubscribe

template<ServiceType, typename, typename>
friend class PortFactoryPublishSubscribe
friend

◆ StaticConfig

friend class StaticConfig
friend

Definition at line 58 of file static_config_publish_subscribe.hpp.

References StaticConfig.

Referenced by StaticConfig.


The documentation for this class was generated from the following file: