convertProtectedZoneType.h
Go to the documentation of this file.
1 
40 #pragma once
41 
43 
44 #ifdef ROS1
45 #include <etsi_its_cam_msgs/ProtectedZoneType.h>
46 namespace cam_msgs = etsi_its_cam_msgs;
47 #else
48 #include <etsi_its_cam_msgs/msg/protected_zone_type.hpp>
49 namespace cam_msgs = etsi_its_cam_msgs::msg;
50 #endif
51 
52 
53 namespace etsi_its_cam_conversion {
54 
55 void toRos_ProtectedZoneType(const cam_ProtectedZoneType_t& in, cam_msgs::ProtectedZoneType& out) {
56  out.value = in;
57 }
58 
59 void toStruct_ProtectedZoneType(const cam_msgs::ProtectedZoneType& in, cam_ProtectedZoneType_t& out) {
60  memset(&out, 0, sizeof(cam_ProtectedZoneType_t));
61  out = in.value;
62 }
63 
64 }
etsi_its_cam_conversion
Definition: convertAccelerationConfidence.h:54
etsi_its_cam_conversion::toStruct_ProtectedZoneType
void toStruct_ProtectedZoneType(const cam_msgs::ProtectedZoneType &in, cam_ProtectedZoneType_t &out)
Definition: convertProtectedZoneType.h:59
cam_ProtectedZoneType_t
long cam_ProtectedZoneType_t
etsi_its_cam_conversion::toRos_ProtectedZoneType
void toRos_ProtectedZoneType(const cam_ProtectedZoneType_t &in, cam_msgs::ProtectedZoneType &out)
Definition: convertProtectedZoneType.h:55
cam_ProtectedZoneType.h


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