13#ifndef IOX2_ATTRIBUTE_SET_HPP
14#define IOX2_ATTRIBUTE_SET_HPP
61 template <
ServiceType, typename, typename, typename, typename>
74 iox2_attribute_set_ptr m_handle =
nullptr;
115 iox2_attribute_set_h m_handle =
nullptr;
121auto operator<<(std::ostream& stream, const
iox2::AttributeSetView& value) -> std::ostream&;
friend class AttributeSet
auto number_of_key_values(const Attribute::Key &key) const -> uint64_t
auto number_of_attributes() const -> uint64_t
Returns the number of [Attribute]s stored inside the [AttributeSet].
void iter_key_values(const Attribute::Key &key, const iox2::bb::StaticFunction< CallbackProgression(const Attribute::Value &)> &callback) const
Returns all values to a specific key.
auto to_owned() const -> AttributeSet
Creates a copy of the [AttributeSetView] that owns the attributes.
auto key_value(const Attribute::Key &key, uint64_t idx) -> bb::Optional< Attribute::Value >
Represents all service attributes. They can be set when the service is created.
auto operator=(const AttributeSet &) -> AttributeSet &=delete
AttributeSet(AttributeSet &&rhs) noexcept
auto operator=(AttributeSet &&rhs) noexcept -> AttributeSet &
AttributeSet(const AttributeSet &)=delete
auto number_of_attributes() const -> uint64_t
Returns the number of [Attribute]s stored inside the [AttributeSet].
Represents the port factory of a [Service] with [MessagingPattern::Blackboard].
Represents the port factory of a [Service] with [MessagingPattern::Event].
Defines a common set of static service configuration details every service shares.