IDS peak ICV
v1.0.0
Loading...
Searching...
No Matches
peak_common_metadata_traits.hpp
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <
peak_common/types/peak_common_metadata_key.hpp
>
14
#include <cstdint>
15
16
namespace
peak
17
{
18
namespace
common
19
{
20
21
namespace
detail
22
{
23
25
26
template
<MetadataKey metadataKey>
27
struct
MetadataKeyTraits;
28
30
38
template
<>
39
struct
MetadataKeyTraits<
MetadataKey
::
DeviceTimestamp
>
40
{
41
using
type
= uint64_t;
42
static
constexpr
const
char
* name =
"DeviceTimestamp"
;
43
};
44
52
template
<>
53
struct
MetadataKeyTraits<
MetadataKey
::
DeviceFrameID
>
54
{
55
using
type
= uint64_t;
56
static
constexpr
const
char
* name =
"DeviceFrameID"
;
57
};
58
59
}
// namespace detail
60
61
}
// namespace common
62
}
// namespace peak
peak::common::MetadataKey
MetadataKey
Enumerates all compile-time known metadata keys.
Definition
peak_common_metadata_key.hpp:32
peak::common::MetadataKey::DeviceTimestamp
@ DeviceTimestamp
Device-provided image acquisition timestamp in nanoseconds.
peak::common::MetadataKey::DeviceFrameID
@ DeviceFrameID
A sequentially incremented identifier for the frame.
peak
Definition
peak_common_math.hpp:20
peak_common_metadata_key.hpp
peak::common::detail::MetadataKeyTraits< MetadataKey::DeviceFrameID >::type
uint64_t type
Definition
peak_common_metadata_traits.hpp:55
peak::common::detail::MetadataKeyTraits< MetadataKey::DeviceTimestamp >::type
uint64_t type
Definition
peak_common_metadata_traits.hpp:41
peak_common
detail
peak_common_metadata_traits.hpp
Send mail feedback
Generated on Fri Sep 5 2025 - ©
IDS Imaging Development Systems GmbH