include
etsi_its_cam_ts_conversion
convertVehicleLengthValue.h
Go to the documentation of this file.
1
56
#pragma once
57
58
#include <
etsi_its_cam_ts_coding/cam_ts_VehicleLengthValue.h
>
59
#include <
etsi_its_cam_ts_coding/INTEGER.h
>
60
#include <
etsi_its_primitives_conversion/convertINTEGER.h
>
61
#ifdef ROS1
62
#include <etsi_its_cam_ts_msgs/VehicleLengthValue.h>
63
namespace
cam_ts_msgs = etsi_its_cam_ts_msgs;
64
#else
65
#include <etsi_its_cam_ts_msgs/msg/vehicle_length_value.hpp>
66
namespace
cam_ts_msgs = etsi_its_cam_ts_msgs::msg;
67
#endif
68
69
70
namespace
etsi_its_cam_ts_conversion
{
71
72
void
toRos_VehicleLengthValue
(
const
cam_ts_VehicleLengthValue_t
& in, cam_ts_msgs::VehicleLengthValue& out) {
73
etsi_its_primitives_conversion::toRos_INTEGER
(in, out.value);
74
}
75
76
void
toStruct_VehicleLengthValue
(
const
cam_ts_msgs::VehicleLengthValue& in,
cam_ts_VehicleLengthValue_t
& out) {
77
memset(&out, 0,
sizeof
(
cam_ts_VehicleLengthValue_t
));
78
etsi_its_primitives_conversion::toStruct_INTEGER
(in.value, out);
79
}
80
81
}
etsi_its_cam_ts_conversion::toRos_VehicleLengthValue
void toRos_VehicleLengthValue(const cam_ts_VehicleLengthValue_t &in, cam_ts_msgs::VehicleLengthValue &out)
Definition:
convertVehicleLengthValue.h:72
convertINTEGER.h
INTEGER.h
etsi_its_cam_ts_conversion::toStruct_VehicleLengthValue
void toStruct_VehicleLengthValue(const cam_ts_msgs::VehicleLengthValue &in, cam_ts_VehicleLengthValue_t &out)
Definition:
convertVehicleLengthValue.h:76
etsi_its_cam_ts_conversion
Definition:
convertAccelerationComponent.h:69
etsi_its_primitives_conversion::toRos_INTEGER
void toRos_INTEGER(const long &_INTEGER_in, int64_t &INTEGER_out)
cam_ts_VehicleLengthValue.h
etsi_its_primitives_conversion::toStruct_INTEGER
void toStruct_INTEGER(const int64_t &_INTEGER_in, long &INTEGER_out)
cam_ts_VehicleLengthValue_t
long cam_ts_VehicleLengthValue_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