CARLA
Public Types | Public Member Functions | Public Attributes | List of all members
tf2_msgs::msg::TF2ErrorPubSubType Class Reference

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

#include <TF2ErrorPubSubTypes.h>

+ Inheritance diagram for tf2_msgs::msg::TF2ErrorPubSubType:
+ Collaboration diagram for tf2_msgs::msg::TF2ErrorPubSubType:

Public Types

typedef TF2Error 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
 
virtual eProsima_user_DllExport bool serialize (void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload) override
 
eProsima_user_DllExport TF2ErrorPubSubType ()
 
virtual eProsima_user_DllExport ~TF2ErrorPubSubType () override
 

Public Attributes

unsigned char * m_keyBuffer
 
MD5 m_md5
 

Detailed Description

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

Definition at line 43 of file TF2ErrorPubSubTypes.h.

Member Typedef Documentation

◆ type

Definition at line 47 of file TF2ErrorPubSubTypes.h.

Constructor & Destructor Documentation

◆ TF2ErrorPubSubType()

tf2_msgs::msg::TF2ErrorPubSubType::TF2ErrorPubSubType ( )

Definition at line 32 of file TF2ErrorPubSubTypes.cpp.

References tf2_msgs::msg::TF2Error::getKeyMaxCdrSerializedSize(), tf2_msgs::msg::TF2Error::getMaxCdrSerializedSize(), tf2_msgs::msg::TF2Error::isKeyDefined(), and m_keyBuffer.

+ Here is the call graph for this function:

◆ ~TF2ErrorPubSubType()

tf2_msgs::msg::TF2ErrorPubSubType::~TF2ErrorPubSubType ( )
overridevirtual

Definition at line 45 of file TF2ErrorPubSubTypes.cpp.

References m_keyBuffer.

Member Function Documentation

◆ createData()

void * tf2_msgs::msg::TF2ErrorPubSubType::createData ( )
overridevirtual

Definition at line 122 of file TF2ErrorPubSubTypes.cpp.

◆ deleteData()

void tf2_msgs::msg::TF2ErrorPubSubType::deleteData ( void *  data)
overridevirtual

Definition at line 127 of file TF2ErrorPubSubTypes.cpp.

◆ deserialize()

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

Definition at line 82 of file TF2ErrorPubSubTypes.cpp.

References tf2_msgs::msg::TF2Error::deserialize().

+ Here is the call graph for this function:

◆ getKey()

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

Definition at line 133 of file TF2ErrorPubSubTypes.cpp.

References tf2_msgs::msg::TF2Error::getKeyMaxCdrSerializedSize(), m_keyBuffer, m_md5, and tf2_msgs::msg::TF2Error::serializeKey().

+ Here is the call graph for this function:

◆ getSerializedSizeProvider()

std::function< uint32_t()> tf2_msgs::msg::TF2ErrorPubSubType::getSerializedSizeProvider ( void *  data)
overridevirtual

Definition at line 112 of file TF2ErrorPubSubTypes.cpp.

References tf2_msgs::msg::TF2Error::getCdrSerializedSize().

+ Here is the call graph for this function:

◆ serialize()

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

Definition at line 53 of file TF2ErrorPubSubTypes.cpp.

References tf2_msgs::msg::TF2Error::serialize().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_keyBuffer

unsigned char* tf2_msgs::msg::TF2ErrorPubSubType::m_keyBuffer

Definition at line 100 of file TF2ErrorPubSubTypes.h.

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

◆ m_md5

MD5 tf2_msgs::msg::TF2ErrorPubSubType::m_md5

Definition at line 99 of file TF2ErrorPubSubTypes.h.

Referenced by getKey().


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