|
iceoryx2
C++ Bindings
|
Builder to create new [MessagingPattern::Event] based [Service]s. More...
#include <service_builder_event.hpp>
Friends | |
| template<ServiceType> | |
| class | ServiceBuilder |
Builder to create new [MessagingPattern::Event] based [Service]s.
Definition at line 32 of file service_builder_event.hpp.
|
noexcept |
References ServiceBuilderEvent().
Referenced by deadline(), disable_deadline(), disable_notifier_created_event(), disable_notifier_dead_event(), disable_notifier_dropped_event(), notifier_created_event(), notifier_dead_event(), notifier_dropped_event(), operator=(), operator=(), ServiceBuilderEvent(), and ServiceBuilderEvent().
| iox2::ServiceBuilderEvent< S >::~ServiceBuilderEvent | ( | ) |
|
delete |
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::create | ( | ) | &&->bb::Expected< PortFactoryEvent< S >, EventCreateError > |
Creates a new [Service].
| auto iox2::ServiceBuilderEvent< S >::create_with_attributes | ( | const AttributeSpecifier & | attributes | ) | &&->bb::Expected< PortFactoryEvent< S >, EventCreateError > |
Creates a new [Service] with a set of attributes.
| auto iox2::ServiceBuilderEvent< S >::deadline | ( | iox2::bb::Duration | deadline | ) | &&->ServiceBuilderEvent && |
Enables the deadline property of the service. There must be a notification emitted by any [Notifier] after at least the provided deadline.
References deadline(), and ServiceBuilderEvent().
Referenced by deadline().
| auto iox2::ServiceBuilderEvent< S >::disable_deadline | ( | ) | &&->ServiceBuilderEvent && |
Disables the deadline property of the service. [Notifier] can signal notifications at any rate.
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::disable_notifier_created_event | ( | ) | &&->ServiceBuilderEvent && |
If the [Service] is created it disables sending an event when a new notifier was created.
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::disable_notifier_dead_event | ( | ) | &&->ServiceBuilderEvent && |
If the [Service] is created it disables sending an event when a notifier was identified as dead.
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::disable_notifier_dropped_event | ( | ) | &&->ServiceBuilderEvent && |
If the [Service] is created it disables sending an event when a notifier was dropped.
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::event_id_max_value | ( | const uint64_t | value | ) | ->decltype(auto) |
If the [Service] is created it set the greatest supported [NodeId] value If an existing [Service] is opened it defines the value size the [NodeId] must at least support.
References event_id_max_value().
Referenced by event_id_max_value().
| auto iox2::ServiceBuilderEvent< S >::max_listeners | ( | const uint64_t | value | ) | ->decltype(auto) |
If the [Service] is created it defines how many [Listener] shall be supported at most. If an existing [Service] is opened it defines how many [Listener] must be at least supported.
References max_listeners().
Referenced by max_listeners().
| auto iox2::ServiceBuilderEvent< S >::max_nodes | ( | const uint64_t | value | ) | ->decltype(auto) |
If the [Service] is created it defines how many [Node]s shall be able to open it in parallel. If an existing [Service] is opened it defines how many [Node]s must be at least supported.
References max_nodes().
Referenced by max_nodes().
| auto iox2::ServiceBuilderEvent< S >::max_notifiers | ( | const uint64_t | value | ) | ->decltype(auto) |
If the [Service] is created it defines how many [Notifier] shall be supported at most. If an existing [Service] is opened it defines how many [Notifier] must be at least supported.
References max_notifiers().
Referenced by max_notifiers().
| auto iox2::ServiceBuilderEvent< S >::notifier_created_event | ( | EventId | event_id | ) | &&->ServiceBuilderEvent && |
If the [Service] is created it defines the event that shall be emitted by every newly created [Notifier].
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::notifier_dead_event | ( | EventId | event_id | ) | &&->ServiceBuilderEvent && |
If the [Service] is created it defines the event that shall be emitted when a [Notifier] is identified as dead. If [None] is provided no event will be emitted.
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::notifier_dropped_event | ( | EventId | event_id | ) | &&->ServiceBuilderEvent && |
If the [Service] is created it defines the event that shall be emitted by every [Notifier] before it is dropped. If [None] is provided a [Notifier] will not emit an event.
References ServiceBuilderEvent().
| auto iox2::ServiceBuilderEvent< S >::open | ( | ) | &&->bb::Expected< PortFactoryEvent< S >, EventOpenError > |
Opens an existing [Service].
| auto iox2::ServiceBuilderEvent< S >::open_or_create | ( | ) | &&->bb::Expected< PortFactoryEvent< S >, EventOpenOrCreateError > |
| auto iox2::ServiceBuilderEvent< S >::open_or_create_with_attributes | ( | const AttributeVerifier & | required_attributes | ) | &&->bb::Expected< PortFactoryEvent< S >, EventOpenOrCreateError > |
If the [Service] exists, it will be opened otherwise a new [Service] will be created. It defines a set of attributes. If the [Service] already exists all attribute requirements must be satisfied otherwise the open process will fail. If the [Service] does not exist the required attributes will be defined in the [Service].
| auto iox2::ServiceBuilderEvent< S >::open_with_attributes | ( | const AttributeVerifier & | required_attributes | ) | &&->bb::Expected< PortFactoryEvent< S >, EventOpenError > |
Opens an existing [Service] with attribute requirements. If the defined attribute requirements are not satisfied the open process will fail.
|
delete |
References ServiceBuilderEvent().
|
noexcept |
References ServiceBuilderEvent().
Definition at line 138 of file service_builder_event.hpp.
References ServiceBuilder.
Referenced by ServiceBuilder.