22#ifndef _FAST_DDS_GENERATED_CARLA_MSGS_MSG_CARLALINEINVASION_H_
23#define _FAST_DDS_GENERATED_CARLA_MSGS_MSG_CARLALINEINVASION_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(CarlaLineInvasion_SOURCE)
49#define CarlaLineInvasion_DllAPI __declspec( dllexport )
51#define CarlaLineInvasion_DllAPI __declspec( dllimport )
54#define CarlaLineInvasion_DllAPI
57#define CarlaLineInvasion_DllAPI
160 const std::vector<int32_t>& _crossed_lane_markings);
167 std::vector<int32_t>&& _crossed_lane_markings);
188 size_t current_alignment = 0);
198 size_t current_alignment = 0);
205 eprosima::fastcdr::Cdr& cdr)
const;
212 eprosima::fastcdr::Cdr& cdr);
221 size_t current_alignment = 0);
233 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure LaneInvasionEvent defined by the user in the IDL file.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport const std::vector< int32_t > & crossed_lane_markings() const
This function returns a constant reference to member crossed_lane_markings
eProsima_user_DllExport LaneInvasionEvent()
Default constructor.
eProsima_user_DllExport ~LaneInvasionEvent()
Default destructor.
eProsima_user_DllExport bool operator==(const LaneInvasionEvent &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 size_t getCdrSerializedSize(const carla_msgs::msg::LaneInvasionEvent &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport bool operator!=(const LaneInvasionEvent &x) const
Comparison operator.
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 LaneInvasionEvent & operator=(const LaneInvasionEvent &x)
Copy assignment.
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...
eProsima_user_DllExport const std_msgs::msg::Header & header() const
This function returns a constant reference to member header
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
std::vector< int32_t > m_crossed_lane_markings
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
std_msgs::msg::Header m_header
const int32_t LANE_MARKING_OTHER
const int32_t LANE_MARKING_SOLID
const int32_t LANE_MARKING_BROKEN