|
iceoryx2
C++ Language Bindings
|
Builder to create new [MessagingPattern::Blackboard] based [Service]s.
More...
#include <service_builder_blackboard.hpp>
Public Member Functions | |
| auto | max_readers (const uint64_t value) -> decltype(auto) |
Defines how many [Reader]s shall be supported at most. | |
| auto | max_nodes (const uint64_t value) -> decltype(auto) |
Defines how many [Node]s shall be able to open it in parallel. | |
| template<typename ValueType > | |
| auto | add (KeyType key, ValueType value) -> ServiceBuilderBlackboardCreator && |
| Adds key-value pairs to the blackboard. | |
| template<typename ValueType > | |
| auto | add_with_default (KeyType key) -> ServiceBuilderBlackboardCreator && |
| Adds key-value pairs to the blackboard where value is a default value. | |
| auto | create () &&-> bb::Expected< PortFactoryBlackboard< S, KeyType >, BlackboardCreateError > |
Creates a new [Service]. | |
| auto | create_with_attributes (const AttributeSpecifier &attributes) &&-> bb::Expected< PortFactoryBlackboard< S, KeyType >, BlackboardCreateError > |
Creates a new [Service] with a set of attributes. | |
Friends | |
| template<ServiceType > | |
| class | ServiceBuilder |
Builder to create new [MessagingPattern::Blackboard] based [Service]s.
Definition at line 31 of file service_builder_blackboard.hpp.
|
inline |
Adds key-value pairs to the blackboard.
Definition at line 157 of file service_builder_blackboard.hpp.
|
inline |
Adds key-value pairs to the blackboard where value is a default value.
Definition at line 188 of file service_builder_blackboard.hpp.
|
inline |
Creates a new [Service].
Definition at line 194 of file service_builder_blackboard.hpp.
References iox2::bb::err().
|
inline |
Creates a new [Service] with a set of attributes.
Definition at line 209 of file service_builder_blackboard.hpp.
References iox2::bb::err().
| auto iox2::ServiceBuilderBlackboardCreator< KeyType, S >::max_nodes | ( | const uint64_t | value | ) | -> decltype(auto) |
Defines how many [Node]s shall be able to open it in parallel.
| auto iox2::ServiceBuilderBlackboardCreator< KeyType, S >::max_readers | ( | const uint64_t | value | ) | -> decltype(auto) |
Defines how many [Reader]s shall be supported at most.
|
friend |
Definition at line 74 of file service_builder_blackboard.hpp.