iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
error_handler.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_CUSTOM_ERROR_HANDLER_HPP
15
#define IOX2_BB_REPORTING_ERROR_REPORTING_CUSTOM_ERROR_HANDLER_HPP
16
17
#include "
iox2/legacy/polymorphic_handler.hpp
"
18
#include "
iox2/legacy/static_lifetime_guard.hpp
"
19
20
#include "
iox2/legacy/error_reporting/custom/default/default_error_handler.hpp
"
21
#include "
iox2/legacy/error_reporting/custom/default/error_handler_interface.hpp
"
22
23
namespace
iox2
{
24
namespace
legacy {
25
namespace
er {
26
27
using
ErrorHandler
=
iox2::legacy::PolymorphicHandler<ErrorHandlerInterface, DefaultErrorHandler>
;
28
29
using
DefaultErrorHandlerGuard
=
iox2::legacy::StaticLifetimeGuard<DefaultErrorHandler>
;
30
31
}
// namespace er
32
}
// namespace legacy
33
}
// namespace iox2
34
35
#endif
// IOX2_BB_REPORTING_ERROR_REPORTING_CUSTOM_ERROR_HANDLER_HPP
iox2::legacy::PolymorphicHandler
Implements a singleton handler that has a default instance and can be changed to another instance at ...
Definition
polymorphic_handler.hpp:57
iox2::legacy::StaticLifetimeGuard
Manages a static instance of type T in a way so that each existing StaticLifetimeGuard prevents the d...
Definition
static_lifetime_guard.hpp:49
default_error_handler.hpp
error_handler_interface.hpp
iox2
Definition
active_request.hpp:26
polymorphic_handler.hpp
static_lifetime_guard.hpp
iox2
legacy
error_reporting
custom
default
error_handler.hpp
Generated by
1.9.8