CARLA
Public Types | Public Member Functions | Public Attributes | List of all members
sensor_msgs::msg::ImuPubSubType Class Reference

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

#include <ImuPubSubTypes.h>

+ Inheritance diagram for sensor_msgs::msg::ImuPubSubType:
+ Collaboration diagram for sensor_msgs::msg::ImuPubSubType:

Public Types

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

Public Attributes

unsigned char * m_keyBuffer
 
MD5 m_md5
 

Detailed Description

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

Definition at line 49 of file ImuPubSubTypes.h.

Member Typedef Documentation

◆ type

Definition at line 53 of file ImuPubSubTypes.h.

Constructor & Destructor Documentation

◆ ImuPubSubType()

sensor_msgs::msg::ImuPubSubType::ImuPubSubType ( )

Definition at line 33 of file ImuPubSubTypes.cpp.

References sensor_msgs::msg::Imu::getKeyMaxCdrSerializedSize(), sensor_msgs::msg::Imu::getMaxCdrSerializedSize(), sensor_msgs::msg::Imu::isKeyDefined(), and m_keyBuffer.

+ Here is the call graph for this function:

◆ ~ImuPubSubType()

sensor_msgs::msg::ImuPubSubType::~ImuPubSubType ( )
overridevirtual

Definition at line 46 of file ImuPubSubTypes.cpp.

References m_keyBuffer.

Member Function Documentation

◆ createData()

void * sensor_msgs::msg::ImuPubSubType::createData ( )
overridevirtual

Definition at line 123 of file ImuPubSubTypes.cpp.

◆ deleteData()

void sensor_msgs::msg::ImuPubSubType::deleteData ( void *  data)
overridevirtual

Definition at line 128 of file ImuPubSubTypes.cpp.

◆ deserialize()

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

Definition at line 83 of file ImuPubSubTypes.cpp.

References sensor_msgs::msg::Imu::deserialize().

+ Here is the call graph for this function:

◆ getKey()

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

Definition at line 134 of file ImuPubSubTypes.cpp.

References sensor_msgs::msg::Imu::getKeyMaxCdrSerializedSize(), m_keyBuffer, m_md5, and sensor_msgs::msg::Imu::serializeKey().

+ Here is the call graph for this function:

◆ getSerializedSizeProvider()

std::function< uint32_t()> sensor_msgs::msg::ImuPubSubType::getSerializedSizeProvider ( void *  data)
overridevirtual

Definition at line 113 of file ImuPubSubTypes.cpp.

References sensor_msgs::msg::Imu::getCdrSerializedSize().

+ Here is the call graph for this function:

◆ serialize()

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

Definition at line 54 of file ImuPubSubTypes.cpp.

References sensor_msgs::msg::Imu::serialize().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_keyBuffer

unsigned char* sensor_msgs::msg::ImuPubSubType::m_keyBuffer

Definition at line 106 of file ImuPubSubTypes.h.

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

◆ m_md5

MD5 sensor_msgs::msg::ImuPubSubType::m_md5

Definition at line 105 of file ImuPubSubTypes.h.

Referenced by getKey().


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