include
etsi_its_cam_ts_conversion
convertProtectedZoneId.h
Go to the documentation of this file.
1
47
#pragma once
48
49
#include <
etsi_its_cam_ts_coding/cam_ts_ProtectedZoneId.h
>
50
#include <
etsi_its_cam_ts_coding/INTEGER.h
>
51
#include <
etsi_its_primitives_conversion/convertINTEGER.h
>
52
#ifdef ROS1
53
#include <etsi_its_cam_ts_msgs/ProtectedZoneId.h>
54
namespace
cam_ts_msgs = etsi_its_cam_ts_msgs;
55
#else
56
#include <etsi_its_cam_ts_msgs/msg/protected_zone_id.hpp>
57
namespace
cam_ts_msgs = etsi_its_cam_ts_msgs::msg;
58
#endif
59
60
61
namespace
etsi_its_cam_ts_conversion
{
62
63
void
toRos_ProtectedZoneId
(
const
cam_ts_ProtectedZoneId_t
& in, cam_ts_msgs::ProtectedZoneId& out) {
64
etsi_its_primitives_conversion::toRos_INTEGER
(in, out.value);
65
}
66
67
void
toStruct_ProtectedZoneId
(
const
cam_ts_msgs::ProtectedZoneId& in,
cam_ts_ProtectedZoneId_t
& out) {
68
memset(&out, 0,
sizeof
(
cam_ts_ProtectedZoneId_t
));
69
etsi_its_primitives_conversion::toStruct_INTEGER
(in.value, out);
70
}
71
72
}
convertINTEGER.h
INTEGER.h
cam_ts_ProtectedZoneId.h
etsi_its_cam_ts_conversion
Definition:
convertAccelerationComponent.h:69
etsi_its_cam_ts_conversion::toRos_ProtectedZoneId
void toRos_ProtectedZoneId(const cam_ts_ProtectedZoneId_t &in, cam_ts_msgs::ProtectedZoneId &out)
Definition:
convertProtectedZoneId.h:63
etsi_its_primitives_conversion::toRos_INTEGER
void toRos_INTEGER(const long &_INTEGER_in, int64_t &INTEGER_out)
etsi_its_cam_ts_conversion::toStruct_ProtectedZoneId
void toStruct_ProtectedZoneId(const cam_ts_msgs::ProtectedZoneId &in, cam_ts_ProtectedZoneId_t &out)
Definition:
convertProtectedZoneId.h:67
etsi_its_primitives_conversion::toStruct_INTEGER
void toStruct_INTEGER(const int64_t &_INTEGER_in, long &INTEGER_out)
cam_ts_ProtectedZoneId_t
long cam_ts_ProtectedZoneId_t
etsi_its_cam_ts_conversion
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:28:52