include
etsi_its_mcm_uulm_conversion
convertSpeedValue.h
Go to the documentation of this file.
1
59
#pragma once
60
61
#include <
etsi_its_mcm_uulm_coding/mcm_uulm_SpeedValue.h
>
62
#include <
etsi_its_mcm_uulm_coding/INTEGER.h
>
63
#include <
etsi_its_primitives_conversion/convertINTEGER.h
>
64
#ifdef ROS1
65
#include <etsi_its_mcm_uulm_msgs/SpeedValue.h>
66
namespace
mcm_uulm_msgs = etsi_its_mcm_uulm_msgs;
67
#else
68
#include <etsi_its_mcm_uulm_msgs/msg/speed_value.hpp>
69
namespace
mcm_uulm_msgs = etsi_its_mcm_uulm_msgs::msg;
70
#endif
71
72
73
namespace
etsi_its_mcm_uulm_conversion
{
74
75
void
toRos_SpeedValue
(
const
mcm_uulm_SpeedValue_t
& in, mcm_uulm_msgs::SpeedValue& out) {
76
etsi_its_primitives_conversion::toRos_INTEGER
(in, out.value);
77
}
78
79
void
toStruct_SpeedValue
(
const
mcm_uulm_msgs::SpeedValue& in,
mcm_uulm_SpeedValue_t
& out) {
80
memset(&out, 0,
sizeof
(
mcm_uulm_SpeedValue_t
));
81
etsi_its_primitives_conversion::toStruct_INTEGER
(in.value, out);
82
}
83
84
}
etsi_its_mcm_uulm_conversion
Definition:
convertAdviceResponse.h:59
convertINTEGER.h
INTEGER.h
etsi_its_mcm_uulm_conversion::toRos_SpeedValue
void toRos_SpeedValue(const mcm_uulm_SpeedValue_t &in, mcm_uulm_msgs::SpeedValue &out)
Definition:
convertSpeedValue.h:75
etsi_its_primitives_conversion::toRos_INTEGER
void toRos_INTEGER(const long &_INTEGER_in, int64_t &INTEGER_out)
mcm_uulm_SpeedValue.h
mcm_uulm_SpeedValue_t
long mcm_uulm_SpeedValue_t
etsi_its_primitives_conversion::toStruct_INTEGER
void toStruct_INTEGER(const int64_t &_INTEGER_in, long &INTEGER_out)
etsi_its_mcm_uulm_conversion::toStruct_SpeedValue
void toStruct_SpeedValue(const mcm_uulm_msgs::SpeedValue &in, mcm_uulm_SpeedValue_t &out)
Definition:
convertSpeedValue.h:79
etsi_its_mcm_uulm_conversion
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:29:22