iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
payload_info.hpp
Go to the documentation of this file.
1
// Copyright (c) 2024 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_PAYLOAD_INFO_HPP
14
#define IOX2_PAYLOAD_INFO_HPP
15
16
#include "
iox2/bb/slice.hpp
"
17
18
namespace
iox2
{
19
20
template
<
typename
T>
21
struct
PayloadInfo
{
22
using
ValueType
= T;
23
};
24
25
template
<
typename
T>
26
struct
PayloadInfo
<bb::Slice<T>> {
27
using
ValueType
=
typename
bb::Slice<T>::ValueType
;
28
};
29
30
}
// namespace iox2
31
#endif
iox2::bb::Slice::ValueType
std::remove_const_t< T > ValueType
Definition
slice.hpp:35
iox2
Definition
active_request.hpp:26
slice.hpp
iox2::PayloadInfo< bb::Slice< T > >::ValueType
typename bb::Slice< T >::ValueType ValueType
Definition
payload_info.hpp:27
iox2::PayloadInfo
Definition
payload_info.hpp:21
iox2::PayloadInfo::ValueType
T ValueType
Definition
payload_info.hpp:22
iox2
payload_info.hpp
Generated by
1.9.8