|
| 1 | +// Copyright (c) 2023 by Apex.AI Inc. All rights reserved. |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | +// |
| 15 | +// SPDX-License-Identifier: Apache-2.0 |
| 16 | +#ifndef IOX_HOOFS_CXX_FUNCTIONAL_INTERFACE_HPP |
| 17 | +#define IOX_HOOFS_CXX_FUNCTIONAL_INTERFACE_HPP |
| 18 | + |
| 19 | +#include "iox/functional_interface.hpp" |
| 20 | + |
| 21 | +namespace iox |
| 22 | +{ |
| 23 | +/// @todo iox-#1593 Deprecate include |
| 24 | +/// [[deprecated("Deprecated in 3.0, removed in 4.0, please include 'iox/functional_interface.hpp' instead")]] |
| 25 | +namespace cxx |
| 26 | +{ |
| 27 | +namespace internal |
| 28 | +{ |
| 29 | +/// @deprecated use `iox::internal::HasValueMethod` instead of `iox::cxx::internal::HasValueMethod` |
| 30 | +using iox::internal::HasValueMethod; |
| 31 | + |
| 32 | +/// @deprecated use `iox::internal::HasGetErrorMethod` instead of `iox::cxx::internal::HasGetErrorMethod` |
| 33 | +using iox::internal::HasGetErrorMethod; |
| 34 | + |
| 35 | +/// @deprecated use `iox::internal::Expect` instead of `iox::cxx::internal::Expect` |
| 36 | +using iox::internal::Expect; |
| 37 | + |
| 38 | +/// @deprecated use `iox::internal::ExpectWithValue` instead of `iox::cxx::internal::ExpectWithValue` |
| 39 | +using iox::internal::ExpectWithValue; |
| 40 | + |
| 41 | +/// @deprecated use `iox::internal::ValueOr` instead of `iox::cxx::internal::ValueOr` |
| 42 | +using iox::internal::ValueOr; |
| 43 | + |
| 44 | +/// @deprecated use `iox::internal::AndThenWithValue` instead of `iox::cxx::internal::AndThenWithValue` |
| 45 | +using iox::internal::AndThenWithValue; |
| 46 | + |
| 47 | +/// @deprecated use `iox::internal::AndThen` instead of `iox::cxx::internal::AndThen` |
| 48 | +using iox::internal::AndThen; |
| 49 | + |
| 50 | +/// @deprecated use `iox::internal::OrElseWithValue` instead of `iox::cxx::internal::OrElseWithValue` |
| 51 | +using iox::internal::OrElseWithValue; |
| 52 | + |
| 53 | +/// @deprecated use `iox::internal::OrElse` instead of `iox::cxx::internal::OrElse` |
| 54 | +using iox::internal::OrElse; |
| 55 | + |
| 56 | +/// @deprecated use `iox::internal::FunctionalInterfaceImpl` instead of `iox::cxx::internal::FunctionalInterfaceImpl` |
| 57 | +using iox::internal::FunctionalInterfaceImpl; |
| 58 | +} // namespace internal |
| 59 | + |
| 60 | +/// @deprecated use `iox::FunctionalInterface` instead of `iox::cxx::FunctionalInterface` |
| 61 | +using iox::FunctionalInterface; |
| 62 | + |
| 63 | +} // namespace cxx |
| 64 | +} // namespace iox |
| 65 | + |
| 66 | +#endif |
0 commit comments