CARLA
Public Types | Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
geometry_msgs::msg::PointPubSubType Class Reference

This class represents the TopicDataType of the type Point defined by the user in the IDL file. More...

#include <PointPubSubTypes.h>

+ Inheritance diagram for geometry_msgs::msg::PointPubSubType:
+ Collaboration diagram for geometry_msgs::msg::PointPubSubType:

Public Types

typedef Point type
 

Public Member Functions

virtual eProsima_user_DllExport void * createData () override
 
virtual eProsima_user_DllExport void deleteData (void *data) override
 
virtual eProsima_user_DllExport bool deserialize (eprosima::fastrtps::rtps::SerializedPayload_t *payload, void *data) override
 
virtual eProsima_user_DllExport bool getKey (void *data, eprosima::fastrtps::rtps::InstanceHandle_t *ihandle, bool force_md5=false) override
 
virtual eProsima_user_DllExport std::function< uint32_t()> getSerializedSizeProvider (void *data) override
 
eProsima_user_DllExport PointPubSubType ()
 
virtual eProsima_user_DllExport bool serialize (void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload) override
 
virtual eProsima_user_DllExport ~PointPubSubType () override
 

Public Attributes

unsigned char * m_keyBuffer
 
MD5 m_md5
 

Static Private Member Functions

static constexpr bool is_plain_impl ()
 

Detailed Description

This class represents the TopicDataType of the type Point defined by the user in the IDL file.

Definition at line 72 of file PointPubSubTypes.h.

Member Typedef Documentation

◆ type

Definition at line 76 of file PointPubSubTypes.h.

Constructor & Destructor Documentation

◆ PointPubSubType()

geometry_msgs::msg::PointPubSubType::PointPubSubType ( )

Definition at line 32 of file PointPubSubTypes.cpp.

References geometry_msgs::msg::Point::getKeyMaxCdrSerializedSize(), geometry_msgs::msg::Point::getMaxCdrSerializedSize(), geometry_msgs::msg::Point::isKeyDefined(), and m_keyBuffer.

+ Here is the call graph for this function:

◆ ~PointPubSubType()

geometry_msgs::msg::PointPubSubType::~PointPubSubType ( )
overridevirtual

Definition at line 45 of file PointPubSubTypes.cpp.

References m_keyBuffer.

Member Function Documentation

◆ createData()

void * geometry_msgs::msg::PointPubSubType::createData ( )
overridevirtual

Definition at line 122 of file PointPubSubTypes.cpp.

◆ deleteData()

void geometry_msgs::msg::PointPubSubType::deleteData ( void *  data)
overridevirtual

Definition at line 127 of file PointPubSubTypes.cpp.

◆ deserialize()

bool geometry_msgs::msg::PointPubSubType::deserialize ( eprosima::fastrtps::rtps::SerializedPayload_t payload,
void *  data 
)
overridevirtual

Definition at line 82 of file PointPubSubTypes.cpp.

References geometry_msgs::msg::Point::deserialize().

+ Here is the call graph for this function:

◆ getKey()

bool geometry_msgs::msg::PointPubSubType::getKey ( void *  data,
eprosima::fastrtps::rtps::InstanceHandle_t ihandle,
bool  force_md5 = false 
)
overridevirtual

Definition at line 133 of file PointPubSubTypes.cpp.

References geometry_msgs::msg::Point::getKeyMaxCdrSerializedSize(), m_keyBuffer, m_md5, and geometry_msgs::msg::Point::serializeKey().

+ Here is the call graph for this function:

◆ getSerializedSizeProvider()

std::function< uint32_t()> geometry_msgs::msg::PointPubSubType::getSerializedSizeProvider ( void *  data)
overridevirtual

Definition at line 112 of file PointPubSubTypes.cpp.

References geometry_msgs::msg::Point::getCdrSerializedSize().

+ Here is the call graph for this function:

◆ is_plain_impl()

static constexpr bool geometry_msgs::msg::PointPubSubType::is_plain_impl ( )
inlinestaticprivate

Definition at line 134 of file PointPubSubTypes.h.

◆ serialize()

bool geometry_msgs::msg::PointPubSubType::serialize ( void *  data,
eprosima::fastrtps::rtps::SerializedPayload_t payload 
)
overridevirtual

Definition at line 53 of file PointPubSubTypes.cpp.

References geometry_msgs::msg::Point::serialize().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_keyBuffer

unsigned char* geometry_msgs::msg::PointPubSubType::m_keyBuffer

Definition at line 130 of file PointPubSubTypes.h.

Referenced by getKey(), PointPubSubType(), and ~PointPubSubType().

◆ m_md5

MD5 geometry_msgs::msg::PointPubSubType::m_md5

Definition at line 129 of file PointPubSubTypes.h.

Referenced by getKey().


The documentation for this class was generated from the following files: