ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
stream_meta_type_someip.h
Go to the documentation of this file.
1 
8 #pragma once
9 
11 #include <adtf_utils.h>
12 #include <adtf_mediadescription.h>
13 
17 namespace adtf
18 {
22 namespace devicetb
23 {
27 namespace sdk
28 {
32 namespace someip
33 {
37 namespace brake
38 {
39 
46 {
47  stream_meta_type_someip() = default;
48 
53  static constexpr adtf::base::IHashValueMap::tHashKey DeviceTimestampBeginNs()
54  {
55  return 3607465393; // create_hash_value_key("DeviceTimestampBeginNs");
56  }
57 
62  static constexpr adtf::base::IHashValueMap::tHashKey DeviceTimestampEndNs()
63  {
64  return 773520180; // create_hash_value_key("DeviceTimestampEndNs");
65  }
66 
72  static void SetProperties(const adtf::ucom::iobject_ptr<adtf::base::ant::IProperties>& pProperties)
73  {
74  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(SomeIpDatabaseName, adtf::util::cString()));
75  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(adtf::mediadescription::stream_meta_type_default::strMDDefinitionsProperty, DDLDefinitions));
76  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(adtf::mediadescription::stream_meta_type_default::strMDStructProperty, DDLStructureName));
77  pProperties->SetProperty(adtf::base::property<bool>(adtf::mediadescription::stream_meta_type_default::strMDDataSerialized, DDLSerialized));
78  }
79 };
80 }
81 
84 
85 }
86 }
87 }
88 }
brake::stream_meta_type_someip stream_meta_type_someip
Definition of Stream Meta Type for SOME/IP.
ADTF - Namespace.
Copyright 2024 CARIAD SE.
static constexpr const char *const SomeIpDatabaseName
SOME/IP database name.
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::ant::IProperties > &pProperties)
Adds the properties of this meta type.
static constexpr adtf::base::IHashValueMap::tHashKey DeviceTimestampBeginNs()
Returns the hash key for accessing the optional hardware timestamp (begin of reception) in the ISampl...
static constexpr adtf::base::IHashValueMap::tHashKey DeviceTimestampEndNs()
Returns the hash key for accessing the optional hardware timestamp (end of reception) in the ISampleI...