22#ifndef _FAST_DDS_GENERATED_CARLA_MSGS_MSG_CARLAEGOCarlaEgoVehicleControl_H_
23#define _FAST_DDS_GENERATED_CARLA_MSGS_MSG_CARLAEGOCarlaEgoVehicleControl_H_
27#include <fastrtps/utils/fixed_size_string.hpp>
37#if defined(EPROSIMA_USER_DLL_EXPORT)
38#define eProsima_user_DllExport __declspec( dllexport )
40#define eProsima_user_DllExport
43#define eProsima_user_DllExport
47#if defined(EPROSIMA_USER_DLL_EXPORT)
48#if defined(CarlaEgoCarlaEgoVehicleControl_SOURCE)
49#define CarlaEgoCarlaEgoVehicleControl_DllAPI __declspec( dllexport )
51#define CarlaEgoCarlaEgoVehicleControl_DllAPI __declspec( dllimport )
54#define CarlaEgoCarlaEgoVehicleControl_DllAPI
57#define CarlaEgoCarlaEgoVehicleControl_DllAPI
272 bool _manual_gear_shift);
293 size_t current_alignment = 0);
303 size_t current_alignment = 0);
310 eprosima::fastcdr::Cdr& cdr)
const;
317 eprosima::fastcdr::Cdr& cdr);
326 size_t current_alignment = 0);
338 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure CarlaEgoVehicleControl defined by the user in the IDL file.
static eProsima_user_DllExport size_t getCdrSerializedSize(const carla_msgs::msg::CarlaEgoVehicleControl &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport float brake() const
This function returns the value of member brake
eProsima_user_DllExport float steer() const
This function returns the value of member steer
eProsima_user_DllExport ~CarlaEgoVehicleControl()
Default destructor.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport int32_t gear() const
This function returns the value of member gear
eProsima_user_DllExport bool operator==(const CarlaEgoVehicleControl &x) const
Comparison operator.
eProsima_user_DllExport bool hand_brake() const
This function returns the value of member hand_brake
eProsima_user_DllExport CarlaEgoVehicleControl & operator=(const CarlaEgoVehicleControl &x)
Copy assignment.
eProsima_user_DllExport CarlaEgoVehicleControl()
Default constructor.
eProsima_user_DllExport const std_msgs::msg::Header & header() const
This function returns a constant reference to member header
eProsima_user_DllExport float throttle() const
This function returns the value of member throttle
eProsima_user_DllExport bool reverse() const
This function returns the value of member reverse
static eProsima_user_DllExport size_t getMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of an object depending on the buffer alignment.
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
std_msgs::msg::Header m_header
eProsima_user_DllExport bool operator!=(const CarlaEgoVehicleControl &x) const
Comparison operator.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
eProsima_user_DllExport bool manual_gear_shift() const
This function returns the value of member manual_gear_shift
static eProsima_user_DllExport size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of the Key of an object depending on the buffer ali...