ADTF Device Toolbox SDK
Loading...
Searching...
No Matches
stream_meta_type_raw_ethernet_properties.h
Go to the documentation of this file.
1
16
17#pragma once
18
22namespace adtf
23{
27namespace devicetb
28{
32namespace sdk
33{
37namespace someip
38{
42namespace brake
43{
44
45constexpr char ADTF_MEDIA_DESC_ETHERNET_DDL[] =
46R"(<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
47<adtf:ddl xmlns:adtf="adtf">
48 <structs>
49 <struct name="tEthernetSampleHeader" version="1" ddlversion="4.0">
50 <element name="tmTimestampBeginNs" type="tInt64" arraysize="1">
51 <deserialized alignment="1"/>
52 <serialized bytepos="0" byteorder="LE"/>
53 </element>
54 <element name="tmTimestampEndNs" type="tInt64" arraysize="1">
55 <deserialized alignment="1"/>
56 <serialized bytepos="8" byteorder="LE"/>
57 </element>
58 <element name="nErrorCode" type="tInt32" arraysize="1">
59 <deserialized alignment="1"/>
60 <serialized bytepos="16" byteorder="LE"/>
61 </element>
62 <element name="nFrameCheckSequence" type="tUInt32" arraysize="1">
63 <deserialized alignment="1"/>
64 <serialized bytepos="20" byteorder="LE"/>
65 </element>
66 <element name="nFrameSize" type="tUInt32" arraysize="1">
67 <deserialized alignment="1"/>
68 <serialized bytepos="24" byteorder="LE"/>
69 </element>
70 <element name="aFrameData" type="tUInt8" arraysize="nFrameSize">
71 <deserialized alignment="1"/>
72 <serialized bytepos="28" byteorder="LE"/>
73 </element>
74 </struct>
75 </structs>
76</adtf:ddl>)";
77
84{
85 static constexpr const char* const MetaTypeName = "adtf/devicetb/ethernet";
86
87 /*
88 * The name of the structure that is contained within the samples.
89 */
90 static constexpr const char* const DDLStructureName = "tEthernetSampleHeader";
91
92 /*
93 * Wether the samples contain the serialized or deserialized representation.
94 */
95 static constexpr const bool DDLSerialized = true;
96
97 /*
98 * The DDL defintion of the structure that is contained within the samples.
99 */
100 static constexpr const char* const DDLDefinitions = ADTF_MEDIA_DESC_ETHERNET_DDL;
101};
102
103}
106}
107}
108}
109}
Namespace for functionality provided by V3.1.0.
Definition raw_ethernet_types.h:45
Namespace for SOME/IP in ADTF-Devicetoolbox.
Definition raw_ethernet_types.h:40
brake::stream_meta_type_ethernet_properties stream_meta_type_ethernet_properties
Definition stream_meta_type_raw_ethernet_properties.h:105
Namespace for SDK of ADTF-Devicetoolbox.
Definition bus_database_intf.h:42
Devicetoolbox - Namespace.
Definition bus_database_intf.h:36
ADTF - Namespace.
Definition bus_database_intf.h:30
Definition stream_meta_type_raw_ethernet_properties.h:84