|
iceoryx2
C++ Language Bindings
|
#include <config.hpp>
Public Member Functions | |
| auto | max_subscribers () &&-> size_t |
The maximum amount of supported [Subscriber]s. | |
| void | set_max_subscribers (size_t value) && |
Set the maximum amount of supported [Subscriber]s. | |
| auto | max_publishers () &&-> size_t |
The maximum amount of supported [Publisher]s. | |
| void | set_max_publishers (size_t value) && |
Set the maximum amount of supported [Publisher]s. | |
| auto | max_nodes () &&-> size_t |
| void | set_max_nodes (size_t value) && |
Set the maximum amount of supported [Node]s. | |
| auto | subscriber_max_buffer_size () &&-> size_t |
The maximum buffer size a [Subscriber] can have. | |
| void | set_subscriber_max_buffer_size (size_t value) && |
Set the maximum buffer size a [Subscriber] can have. | |
| auto | subscriber_max_borrowed_samples () &&-> size_t |
The maximum amount of [Sample]s a [Subscriber] can hold at the same time. | |
| void | set_subscriber_max_borrowed_samples (size_t value) && |
Set the maximum amount of [Sample]s a [Subscriber] can hold at the same time. | |
| auto | publisher_max_loaned_samples () &&-> size_t |
The maximum amount of [SampleMut]s a [Publisher] can loan at the same time. | |
| void | set_publisher_max_loaned_samples (size_t value) && |
The maximum amount of [SampleMut]s a [Publisher] can loan at the same time. | |
| auto | publisher_history_size () &&-> size_t |
The maximum history size a [Subscriber] can request from a [Publisher]. | |
| void | set_publisher_history_size (size_t value) && |
Set the maximum history size a [Subscriber] can request from a [Publisher]. | |
| auto | enable_safe_overflow () &&-> bool |
| void | set_enable_safe_overflow (bool value) && |
| Enables/disables safe overflow. | |
| auto | backpressure_strategy () &&-> BackpressureStrategy |
| void | set_backpressure_strategy (BackpressureStrategy value) && |
| Define the backpressure strategy. | |
| auto | subscriber_expired_connection_buffer () &&-> size_t |
| void | set_subscriber_expired_connection_buffer (size_t value) && |
| Set the expired connection buffer size. | |
Friends | |
| class | Defaults |
Default settings for the publish-subscribe messaging pattern. These settings are used unless the user specifies custom QoS or port settings.
Definition at line 152 of file config.hpp.
| auto iox2::config::PublishSubscribe::backpressure_strategy | ( | ) | && -> BackpressureStrategy |
If safe overflow is deactivated it defines the deliver strategy of the [Publisher] when the [Subscriber]s buffer is full.
| auto iox2::config::PublishSubscribe::enable_safe_overflow | ( | ) | && -> bool |
Defines how the [Subscriber] buffer behaves when it is full. When safe overflow is activated, the [Publisher] will replace the oldest [Sample] with the newest one.
| auto iox2::config::PublishSubscribe::max_nodes | ( | ) | && -> size_t |
The maximum amount of supported [Node]s. Defines indirectly how many processes can open the service at the same time.
| auto iox2::config::PublishSubscribe::max_publishers | ( | ) | && -> size_t |
The maximum amount of supported [Publisher]s.
| auto iox2::config::PublishSubscribe::max_subscribers | ( | ) | && -> size_t |
The maximum amount of supported [Subscriber]s.
| auto iox2::config::PublishSubscribe::publisher_history_size | ( | ) | && -> size_t |
The maximum history size a [Subscriber] can request from a [Publisher].
| auto iox2::config::PublishSubscribe::publisher_max_loaned_samples | ( | ) | && -> size_t |
| void iox2::config::PublishSubscribe::set_backpressure_strategy | ( | BackpressureStrategy | value | ) | && |
Define the backpressure strategy.
| void iox2::config::PublishSubscribe::set_enable_safe_overflow | ( | bool | value | ) | && |
Enables/disables safe overflow.
| void iox2::config::PublishSubscribe::set_max_nodes | ( | size_t | value | ) | && |
Set the maximum amount of supported [Node]s.
| void iox2::config::PublishSubscribe::set_max_publishers | ( | size_t | value | ) | && |
Set the maximum amount of supported [Publisher]s.
| void iox2::config::PublishSubscribe::set_max_subscribers | ( | size_t | value | ) | && |
Set the maximum amount of supported [Subscriber]s.
| void iox2::config::PublishSubscribe::set_publisher_history_size | ( | size_t | value | ) | && |
Set the maximum history size a [Subscriber] can request from a [Publisher].
| void iox2::config::PublishSubscribe::set_publisher_max_loaned_samples | ( | size_t | value | ) | && |
| void iox2::config::PublishSubscribe::set_subscriber_expired_connection_buffer | ( | size_t | value | ) | && |
Set the expired connection buffer size.
| void iox2::config::PublishSubscribe::set_subscriber_max_borrowed_samples | ( | size_t | value | ) | && |
Set the maximum amount of [Sample]s a [Subscriber] can hold at the same time.
| void iox2::config::PublishSubscribe::set_subscriber_max_buffer_size | ( | size_t | value | ) | && |
Set the maximum buffer size a [Subscriber] can have.
| auto iox2::config::PublishSubscribe::subscriber_expired_connection_buffer | ( | ) | && -> size_t |
Defines the size of the internal [Subscriber] buffer that contains expired connections. An connection is expired when the [Publisher] disconnected from a service and the connection still contains unconsumed [Sample]s.
| auto iox2::config::PublishSubscribe::subscriber_max_borrowed_samples | ( | ) | && -> size_t |
The maximum amount of [Sample]s a [Subscriber] can hold at the same time.
| auto iox2::config::PublishSubscribe::subscriber_max_buffer_size | ( | ) | && -> size_t |
The maximum buffer size a [Subscriber] can have.
|
friend |
Definition at line 204 of file config.hpp.