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


etsi_its_cam_ts_conversion
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:28:52