convertCenDsrcTollingZoneID.h
Go to the documentation of this file.
1 
40 #pragma once
41 
44 #ifdef ROS1
45 #include <etsi_its_cam_msgs/CenDsrcTollingZoneID.h>
46 namespace cam_msgs = etsi_its_cam_msgs;
47 #else
48 #include <etsi_its_cam_msgs/msg/cen_dsrc_tolling_zone_id.hpp>
49 namespace cam_msgs = etsi_its_cam_msgs::msg;
50 #endif
51 
52 
53 namespace etsi_its_cam_conversion {
54 
55 void toRos_CenDsrcTollingZoneID(const cam_CenDsrcTollingZoneID_t& in, cam_msgs::CenDsrcTollingZoneID& out) {
56  toRos_ProtectedZoneID(in, out.value);
57 }
58 
59 void toStruct_CenDsrcTollingZoneID(const cam_msgs::CenDsrcTollingZoneID& in, cam_CenDsrcTollingZoneID_t& out) {
60  memset(&out, 0, sizeof(cam_CenDsrcTollingZoneID_t));
61  toStruct_ProtectedZoneID(in.value, out);
62 }
63 
64 }
etsi_its_cam_conversion::toStruct_ProtectedZoneID
void toStruct_ProtectedZoneID(const cam_msgs::ProtectedZoneID &in, cam_ProtectedZoneID_t &out)
Definition: convertProtectedZoneID.h:60
etsi_its_cam_conversion
Definition: convertAccelerationConfidence.h:54
cam_CenDsrcTollingZoneID_t
cam_ProtectedZoneID_t cam_CenDsrcTollingZoneID_t
cam_CenDsrcTollingZoneID.h
etsi_its_cam_conversion::toStruct_CenDsrcTollingZoneID
void toStruct_CenDsrcTollingZoneID(const cam_msgs::CenDsrcTollingZoneID &in, cam_CenDsrcTollingZoneID_t &out)
Definition: convertCenDsrcTollingZoneID.h:59
etsi_its_cam_conversion::toRos_CenDsrcTollingZoneID
void toRos_CenDsrcTollingZoneID(const cam_CenDsrcTollingZoneID_t &in, cam_msgs::CenDsrcTollingZoneID &out)
Definition: convertCenDsrcTollingZoneID.h:55
etsi_its_cam_conversion::toRos_ProtectedZoneID
void toRos_ProtectedZoneID(const cam_ProtectedZoneID_t &in, cam_msgs::ProtectedZoneID &out)
Definition: convertProtectedZoneID.h:56
convertProtectedZoneID.h


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