DriveWorks SDK Reference
5.20.37 Release
For Test and Development only
MessageMetadata.h
Go to the documentation of this file.
1
2
// This code contains NVIDIA Confidential Information and is disclosed
3
// under the Mutual Non-Disclosure Agreement.
4
//
5
// Notice
6
// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS"
7
// NVIDIA MAKES NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY,
8
// OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY
9
// IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A
10
// PARTICULAR PURPOSE.
11
//
12
// NVIDIA Corporation assumes no responsibility for the consequences of use of
13
// such information or for any infringement of patents or other rights of third
14
// parties that may result from its use. No license is granted by implication or
15
// otherwise under any patent or patent rights of NVIDIA Corporation. No third
16
// party distribution is allowed unless expressly authorized by NVIDIA. Details
17
// are subject to change without notice. This code supersedes and replaces all
18
// information previously supplied. NVIDIA Corporation products are not
19
// authorized for use as critical components in life support devices or systems
20
// without express written approval of NVIDIA Corporation.
21
//
22
// Copyright (c) 2023-2024 NVIDIA Corporation. All rights reserved.
23
//
24
// NVIDIA Corporation and its licensors retain all intellectual property and
25
// proprietary rights in and to this software and related documentation and any
26
// modifications thereto. Any use, reproduction, disclosure or distribution of
27
// this software and related documentation without an express license agreement
28
// from NVIDIA Corporation is strictly prohibited.
29
//
31
#ifndef DW_CORE_SIGNAL_MESSAGEMETADATA_H_
32
#define DW_CORE_SIGNAL_MESSAGEMETADATA_H_
33
// Generated by dwProto from message_metadata.proto DO NOT EDIT BY HAND!
34
// See //3rdparty/shared/dwproto/README.md for more information
35
51
#include <
dw/core/base/TypesExtra.h
>
52
#include <
dw/core/base/BasicTypes.h
>
53
54
#ifdef __cplusplus
55
extern
"C"
{
56
#endif
57
62
// coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
63
// coverity[misra_c_2012_rule_2_4_violation] RFD Pending: TID-2140
64
typedef
enum
dwMessageMetadataFlags
{
66
DW_MESSAGE_METADATA_SEQUENCE_NUMBER
= 1 << 0,
67
69
DW_MESSAGE_METADATA_PUBLISH_TIMESTAMP
= 1 << 1,
70
72
DW_MESSAGE_METADATA_VALIDITY_STATUS
= 1 << 2,
73
75
DW_MESSAGE_METADATA_VALIDITY_FORCE16
= (1 << 15) - 1,
76
77
// coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
78
}
dwMessageMetadataFlags
;
79
83
// coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
84
// coverity[misra_c_2012_rule_2_4_violation] RFD Pending: TID-2140
85
typedef
struct
dwMessageMetadata
86
{
89
uint32_t
sequenceNum
;
90
92
dwTime_t
publishTimestamp
;
93
95
dwValidityStatus
validityStatus
;
96
98
uint16_t
validFields
;
99
100
// coverity[misra_c_2012_rule_2_3_violation] RFD Pending: TID-2140
101
}
dwMessageMetadata
;
102
103
#ifdef __cplusplus
104
}
105
#endif
106
110
#endif
// DW_CORE_SIGNAL_MESSAGEMETADATA_H_
BasicTypes.h
NVIDIA DriveWorks API: Core BasicTypes
TypesExtra.h
NVIDIA DriveWorks API: (Extra) Core Types
dwTime_t
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition:
BasicTypes.h:65
dwMessageMetadata::validFields
uint16_t validFields
Bit map defining which dwMessageMetadata fields are set. See dwMessageMetadataFlags.
Definition:
MessageMetadata.h:98
dwMessageMetadata::sequenceNum
uint32_t sequenceNum
Sequence number of the message.
Definition:
MessageMetadata.h:89
dwMessageMetadata::publishTimestamp
dwTime_t publishTimestamp
(Virtual) host time, when the data was published.
Definition:
MessageMetadata.h:92
dwMessageMetadata::validityStatus
dwValidityStatus validityStatus
Validity status of the message.
Definition:
MessageMetadata.h:95
dwMessageMetadataFlags
dwMessageMetadataFlags
Defines valid fields in dwMessageMetadata.
Definition:
MessageMetadata.h:64
DW_MESSAGE_METADATA_SEQUENCE_NUMBER
@ DW_MESSAGE_METADATA_SEQUENCE_NUMBER
Sequence counter field is set.
Definition:
MessageMetadata.h:66
DW_MESSAGE_METADATA_PUBLISH_TIMESTAMP
@ DW_MESSAGE_METADATA_PUBLISH_TIMESTAMP
Publish timestamp field is set.
Definition:
MessageMetadata.h:69
DW_MESSAGE_METADATA_VALIDITY_FORCE16
@ DW_MESSAGE_METADATA_VALIDITY_FORCE16
Force 16-bit representation. Do not use this value.
Definition:
MessageMetadata.h:75
DW_MESSAGE_METADATA_VALIDITY_STATUS
@ DW_MESSAGE_METADATA_VALIDITY_STATUS
Validity status field is set.
Definition:
MessageMetadata.h:72
dwMessageMetadata
Common metadata associated with a message.
Definition:
MessageMetadata.h:86
dwValidityStatus
A light weighted 16 Btyes status to be carried over along with each DW C struct instance that can ind...
Definition:
TypesExtra.h:229
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | PR-08397-V5.0