iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
static_config_blackboard.hpp
Go to the documentation of this file.
1// Copyright (c) 2025 Contributors to the Eclipse Foundation
2//
3// See the NOTICE file(s) distributed with this work for additional
4// information regarding copyright ownership.
5//
6// This program and the accompanying materials are made available under the
7// terms of the Apache Software License 2.0 which is available at
8// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
9// which is available at https://opensource.org/licenses/MIT.
10//
11// SPDX-License-Identifier: Apache-2.0 OR MIT
12
13#ifndef IOX2_STATIC_CONFIG_BLACKBOARD_HPP
14#define IOX2_STATIC_CONFIG_BLACKBOARD_HPP
15
16#include "iox2/iceoryx2.h"
18
19namespace iox2 {
24 public:
27 auto max_nodes() const -> size_t;
28
30 auto max_readers() const -> size_t;
31
33 auto type_details() const -> TypeDetail;
34
35 private:
36 template <ServiceType, typename>
38 friend class StaticConfig;
39
40 explicit StaticConfigBlackboard(iox2_static_config_blackboard_t value);
41
42 iox2_static_config_blackboard_t m_value;
43};
44} // namespace iox2
45
46auto operator<<(std::ostream& stream, const iox2::StaticConfigBlackboard& value) -> std::ostream&;
47
48#endif
Represents the port factory of a [Service] with [MessagingPattern::Blackboard].
auto max_nodes() const -> size_t
auto max_readers() const -> size_t
Returns the maximum supported amount of [Reader] ports.
auto type_details() const -> TypeDetail
Returns the type details of the [Service].
Defines a common set of static service configuration details every service shares.