ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
stream_meta_type_can.h
Go to the documentation of this file.
1 
8 #pragma once
10 #include <adtfmediadescription/stream_meta_type_default.h>
11 
15 namespace adtf
16 {
20 namespace devicetb
21 {
25 namespace sdk
26 {
30 namespace can
31 {
35 namespace axle
36 {
37 
42 {
43  stream_meta_type_can() = default;
44 
50  static void SetProperties(const adtf::ucom::iobject_ptr<adtf::base::ant::IProperties>& pProperties)
51  {
52  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(CanChannelNumber, "1"));
53  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(CanDatabaseName, ""));
54  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(CanNetworkName, ""));
55  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(adtf::mediadescription::stream_meta_type_default::strMDDefinitionsProperty, DDLDefinitions));
56  pProperties->SetProperty(adtf::base::property<adtf::util::cString>(adtf::mediadescription::stream_meta_type_default::strMDStructProperty, DDLStructureName));
57  pProperties->SetProperty(adtf::base::property<bool>(adtf::mediadescription::stream_meta_type_default::strMDDataSerialized, DDLSerialized));
58  }
59 };
60 
61 } // end namespace axle
62 
64 
65 } // end namespace can
66 
67 } // end namespace sdk
68 
69 } // end namespace devicetb
70 
71 } // end namespace adtf
axle::stream_meta_type_can stream_meta_type_can
Definition of Stream Meta Type CAN Messages.
ADTF - Namespace.
Copyright 2024 CARIAD SE.
static constexpr const char *const CanDatabaseName
CAN database name.
static constexpr const char *const CanChannelNumber
CAN communication channel number.
static constexpr const char *const CanNetworkName
CAN database network name.
Definition of Stream Meta Type CAN Messages.
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::ant::IProperties > &pProperties)
Adds the properties of this meta type.