include
etsi_its_mapem_ts_conversion
convertAllowedManeuvers.h
Go to the documentation of this file.
1
56
#pragma once
57
58
#include <
etsi_its_mapem_ts_coding/mapem_ts_AllowedManeuvers.h
>
59
#include <
etsi_its_mapem_ts_coding/BIT_STRING.h
>
60
#include <
etsi_its_primitives_conversion/convertBIT_STRING.h
>
61
#ifdef ROS1
62
#include <etsi_its_mapem_ts_msgs/AllowedManeuvers.h>
63
namespace
mapem_ts_msgs = etsi_its_mapem_ts_msgs;
64
#else
65
#include <etsi_its_mapem_ts_msgs/msg/allowed_maneuvers.hpp>
66
namespace
mapem_ts_msgs = etsi_its_mapem_ts_msgs::msg;
67
#endif
68
69
70
namespace
etsi_its_mapem_ts_conversion
{
71
72
void
toRos_AllowedManeuvers
(
const
mapem_ts_AllowedManeuvers_t
& in, mapem_ts_msgs::AllowedManeuvers& out) {
73
etsi_its_primitives_conversion::toRos_BIT_STRING
(in, out.value);
74
out.bits_unused = in.
bits_unused
;
75
}
76
77
void
toStruct_AllowedManeuvers
(
const
mapem_ts_msgs::AllowedManeuvers& in,
mapem_ts_AllowedManeuvers_t
& out) {
78
memset(&out, 0,
sizeof
(
mapem_ts_AllowedManeuvers_t
));
79
etsi_its_primitives_conversion::toStruct_BIT_STRING
(in.value, out);
80
out.
bits_unused
= in.bits_unused;
81
}
82
83
}
etsi_its_mapem_ts_conversion::toRos_AllowedManeuvers
void toRos_AllowedManeuvers(const mapem_ts_AllowedManeuvers_t &in, mapem_ts_msgs::AllowedManeuvers &out)
Definition:
convertAllowedManeuvers.h:72
convertBIT_STRING.h
BIT_STRING_s
BIT_STRING.h
etsi_its_mapem_ts_conversion
Definition:
convertAllowedManeuvers.h:70
mapem_ts_AllowedManeuvers.h
etsi_its_mapem_ts_conversion::toStruct_AllowedManeuvers
void toStruct_AllowedManeuvers(const mapem_ts_msgs::AllowedManeuvers &in, mapem_ts_AllowedManeuvers_t &out)
Definition:
convertAllowedManeuvers.h:77
BIT_STRING_s::bits_unused
int bits_unused
etsi_its_primitives_conversion::toStruct_BIT_STRING
void toStruct_BIT_STRING(const std::vector< uint8_t > &_BIT_STRING_in, T &BIT_STRING_out)
etsi_its_primitives_conversion::toRos_BIT_STRING
void toRos_BIT_STRING(const T &_BIT_STRING_in, std::vector< uint8_t > &BIT_STRING_out)
etsi_its_mapem_ts_conversion
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:29:18