iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
configuration.hpp
Go to the documentation of this file.
1// Copyright (c) 2023 by Apex.AI Inc. All rights reserved.
2// Copyright (c) 2025 Contributors to the Eclipse Foundation
3//
4// See the NOTICE file(s) distributed with this work for additional
5// information regarding copyright ownership.
6//
7// This program and the accompanying materials are made available under the
8// terms of the Apache Software License 2.0 which is available at
9// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
10// which is available at https://opensource.org/licenses/MIT.
11//
12// SPDX-License-Identifier: Apache-2.0 OR MIT
13
14#ifndef IOX2_BB_REPORTING_ERROR_REPORTING_CONFIGURATION_HPP
15#define IOX2_BB_REPORTING_ERROR_REPORTING_CONFIGURATION_HPP
16
17#include <type_traits>
18
19// ***
20// * Configure active checks and other compile time parameters
21// ***
22
23namespace iox2 {
24namespace legacy {
25namespace er {
26
27// tag type that can be used to override the configuration in a custom implementation
29
30// can be specialized here to change parameters at compile time
31template <typename T>
33 static_assert(std::is_same<T, ConfigurationTag>::value, "Incorrect configuration tag type");
34
35 static constexpr bool CHECK_ASSERT { true };
36};
37
38// used by the API to obtain the compile time parameters
40
41} // namespace er
42} // namespace legacy
43} // namespace iox2
44
45#endif // IOX2_BB_REPORTING_ERROR_REPORTING_CONFIGURATION_HPP