ADTF Device Toolbox SDK
Loading...
Searching...
No Matches
stream_meta_type_someip_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_SOMEIP_DDL[] =
46R"(<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
47<adtf:ddl xmlns:adtf="adtf">
48 <structs>
49 <struct name="tSomeIpSampleHeader" version="1" ddlversion="4.0">
50 <element name="nVLANId" type="tUInt16" arraysize="1">
51 <deserialized alignment="1"/>
52 <serialized bytepos="0" byteorder="LE"/>
53 </element>
54 <element name="bIsTCP" type="bool" arraysize="1">
55 <deserialized alignment="1"/>
56 <serialized bytepos="2" byteorder="LE"/>
57 </element>
58 <element name="bIsIPv6" type="bool" arraysize="1">
59 <deserialized alignment="1"/>
60 <serialized bytepos="3" byteorder="LE"/>
61 </element>
62 <element name="nMessageCount" type="tUInt16" arraysize="1">
63 <deserialized alignment="1"/>
64 <serialized bytepos="4" byteorder="LE"/>
65 </element>
66 <element name="aSrcIP" type="tUInt8" arraysize="16">
67 <deserialized alignment="1"/>
68 <serialized bytepos="6" byteorder="LE"/>
69 </element>
70 <element name="aDstIP" type="tUInt8" arraysize="16">
71 <deserialized alignment="1"/>
72 <serialized bytepos="22" byteorder="LE"/>
73 </element>
74 <element name="nSrcPort" type="tUInt16" arraysize="1">
75 <deserialized alignment="1"/>
76 <serialized bytepos="38" byteorder="LE"/>
77 </element>
78 <element name="nDstPort" type="tUInt16" arraysize="1">
79 <deserialized alignment="1"/>
80 <serialized bytepos="40" byteorder="LE"/>
81 </element>
82 <element name="nMessageDataSize" type="tUInt32" arraysize="1">
83 <deserialized alignment="1"/>
84 <serialized bytepos="42" byteorder="LE"/>
85 </element>
86 <element name="aMessageData" type="tUInt8" arraysize="nMessageDataSize">
87 <deserialized alignment="1"/>
88 <serialized bytepos="46" byteorder="LE"/>
89 </element>
90 </struct>
91 </structs>
92</adtf:ddl>)";
93
99struct stream_meta_type_someip_properties
100{
101 stream_meta_type_someip_properties() = default;
102
103
104 static constexpr const char* const MetaTypeName = "adtf/devicetb/someip";
105
109 static constexpr const char* const SomeIpDatabaseName = "database";
110
111 /*
112 * The name of the structure that is contained within the samples.
113 */
114 static constexpr const char* const DDLStructureName = "tSomeIpSampleHeader";
115
116 /*
117 * Wether the samples contain the serialized or deserialized representation.
118 */
119 static constexpr const bool DDLSerialized = true;
120
121 /*
122 * The DDL defintion of the structure that is contained within the samples.
123 */
124 static constexpr const char* const DDLDefinitions = ADTF_MEDIA_DESC_SOMEIP_DDL;
125};
126}
127
130
131}
132}
133}
134}
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_someip_properties stream_meta_type_someip_properties
Definition stream_meta_type_someip_properties.h:129
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_someip_properties.h:100
static constexpr const char *const SomeIpDatabaseName
Definition stream_meta_type_someip_properties.h:109