convertCauseCodeV2.h
Go to the documentation of this file.
1 
57 #pragma once
58 
61 #ifdef ROS1
62 #include <etsi_its_denm_ts_msgs/CauseCodeV2.h>
63 namespace denm_ts_msgs = etsi_its_denm_ts_msgs;
64 #else
65 #include <etsi_its_denm_ts_msgs/msg/cause_code_v2.hpp>
66 namespace denm_ts_msgs = etsi_its_denm_ts_msgs::msg;
67 #endif
68 
69 
71 
72 void toRos_CauseCodeV2(const denm_ts_CauseCodeV2_t& in, denm_ts_msgs::CauseCodeV2& out) {
73  toRos_CauseCodeChoice(in.ccAndScc, out.cc_and_scc);
74 }
75 
76 void toStruct_CauseCodeV2(const denm_ts_msgs::CauseCodeV2& in, denm_ts_CauseCodeV2_t& out) {
77  memset(&out, 0, sizeof(denm_ts_CauseCodeV2_t));
78  toStruct_CauseCodeChoice(in.cc_and_scc, out.ccAndScc);
79 }
80 
81 }
etsi_its_denm_ts_conversion
Definition: convertAcceleration3dWithConfidence.h:69
etsi_its_denm_ts_conversion::toRos_CauseCodeChoice
void toRos_CauseCodeChoice(const denm_ts_CauseCodeChoice_t &in, denm_ts_msgs::CauseCodeChoice &out)
Definition: convertCauseCodeChoice.h:260
etsi_its_denm_ts_conversion::toRos_CauseCodeV2
void toRos_CauseCodeV2(const denm_ts_CauseCodeV2_t &in, denm_ts_msgs::CauseCodeV2 &out)
Definition: convertCauseCodeV2.h:72
denm_ts_CauseCodeV2.h
denm_ts_CauseCodeV2::ccAndScc
denm_ts_CauseCodeChoice_t ccAndScc
etsi_its_denm_ts_conversion::toStruct_CauseCodeV2
void toStruct_CauseCodeV2(const denm_ts_msgs::CauseCodeV2 &in, denm_ts_CauseCodeV2_t &out)
Definition: convertCauseCodeV2.h:76
denm_ts_CauseCodeV2
convertCauseCodeChoice.h
etsi_its_denm_ts_conversion::toStruct_CauseCodeChoice
void toStruct_CauseCodeChoice(const denm_ts_msgs::CauseCodeChoice &in, denm_ts_CauseCodeChoice_t &out)
Definition: convertCauseCodeChoice.h:782


etsi_its_denm_ts_conversion
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:29:08