iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
waitset_hash.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_WAITSET_HASH_HPP
14
#define IOX2_WAITSET_HASH_HPP
15
16
#include "
iox2/waitset.hpp
"
17
18
template
<>
19
struct
std::hash<
iox2
::WaitSetAttachmentId<iox2::ServiceType::Ipc>> {
20
auto
operator()
(
const
iox2::WaitSetAttachmentId<iox2::ServiceType::Ipc>
& self) -> std::size_t {
21
return
self.hash();
22
}
23
};
24
25
template
<>
26
struct
std::hash<
iox2
::WaitSetAttachmentId<iox2::ServiceType::Local>> {
27
auto
operator()
(
const
iox2::WaitSetAttachmentId<iox2::ServiceType::Local>
& self) -> std::size_t {
28
return
self.hash();
29
}
30
};
31
32
#endif
iox2::WaitSetAttachmentId
Represents an attachment to the [WaitSet].
Definition
waitset.hpp:57
iox2
Definition
active_request.hpp:26
std::hash< iox2::WaitSetAttachmentId< iox2::ServiceType::Ipc > >::operator()
auto operator()(const iox2::WaitSetAttachmentId< iox2::ServiceType::Ipc > &self) -> std::size_t
Definition
waitset_hash.hpp:20
std::hash< iox2::WaitSetAttachmentId< iox2::ServiceType::Local > >::operator()
auto operator()(const iox2::WaitSetAttachmentId< iox2::ServiceType::Local > &self) -> std::size_t
Definition
waitset_hash.hpp:27
waitset.hpp
iox2
waitset_hash.hpp
Generated by
1.9.8