22#ifndef _FAST_DDS_GENERATED_CARLA_MSGS_MSG_CARLACOLLISIONEVENT_H_
23#define _FAST_DDS_GENERATED_CARLA_MSGS_MSG_CARLACOLLISIONEVENT_H_
28#include <fastrtps/utils/fixed_size_string.hpp>
38#if defined(EPROSIMA_USER_DLL_EXPORT)
39#define eProsima_user_DllExport __declspec( dllexport )
41#define eProsima_user_DllExport
44#define eProsima_user_DllExport
48#if defined(EPROSIMA_USER_DLL_EXPORT)
49#if defined(CarlaCollisionEvent_SOURCE)
50#define CarlaCollisionEvent_DllAPI __declspec( dllexport )
52#define CarlaCollisionEvent_DllAPI __declspec( dllimport )
55#define CarlaCollisionEvent_DllAPI
58#define CarlaCollisionEvent_DllAPI
160 uint32_t _other_actor_id);
207 size_t current_alignment = 0);
217 size_t current_alignment = 0);
224 eprosima::fastcdr::Cdr& cdr)
const;
231 eprosima::fastcdr::Cdr& cdr);
240 size_t current_alignment = 0);
252 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure CarlaCollisionEvent defined by the user in the IDL file.
eProsima_user_DllExport const std_msgs::msg::Header & header() const
This function returns a constant reference to member header
eProsima_user_DllExport uint32_t other_actor_id() const
This function returns the value of member other_actor_id
eProsima_user_DllExport bool operator==(const CarlaCollisionEvent &x) const
Comparison operator.
uint32_t m_other_actor_id
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
eProsima_user_DllExport CarlaCollisionEvent & operator=(const CarlaCollisionEvent &x)
Copy assignment.
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.
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 void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
eProsima_user_DllExport bool operator!=(const CarlaCollisionEvent &x) const
Comparison operator.
eProsima_user_DllExport const geometry_msgs::msg::Vector3 & normal_impulse() const
This function returns a constant reference to member normal_impulse
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport CarlaCollisionEvent()
Default constructor.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
geometry_msgs::msg::Vector3 m_normal_impulse
static eProsima_user_DllExport size_t getCdrSerializedSize(const carla_msgs::msg::CarlaCollisionEvent &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport ~CarlaCollisionEvent()
Default destructor.
std_msgs::msg::Header m_header
This class represents the structure Vector3 defined by the user in the IDL file.