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

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

#include <Float32PubSubTypes.h>

+ Inheritance diagram for std_msgs::msg::Float32PubSubType:
+ Collaboration diagram for std_msgs::msg::Float32PubSubType:

Public Types

typedef Float32 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
 
eProsima_user_DllExport Float32PubSubType ()
 
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
 
virtual eProsima_user_DllExport ~Float32PubSubType () 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 Float32 defined by the user in the IDL file.

Definition at line 71 of file Float32PubSubTypes.h.

Member Typedef Documentation

◆ type

Definition at line 75 of file Float32PubSubTypes.h.

Constructor & Destructor Documentation

◆ Float32PubSubType()

std_msgs::msg::Float32PubSubType::Float32PubSubType ( )

Definition at line 32 of file Float32PubSubTypes.cpp.

References std_msgs::msg::Float32::getKeyMaxCdrSerializedSize(), std_msgs::msg::Float32::getMaxCdrSerializedSize(), std_msgs::msg::Float32::isKeyDefined(), and m_keyBuffer.

+ Here is the call graph for this function:

◆ ~Float32PubSubType()

std_msgs::msg::Float32PubSubType::~Float32PubSubType ( )
overridevirtual

Definition at line 45 of file Float32PubSubTypes.cpp.

References m_keyBuffer.

Member Function Documentation

◆ createData()

void * std_msgs::msg::Float32PubSubType::createData ( )
overridevirtual

Definition at line 122 of file Float32PubSubTypes.cpp.

◆ deleteData()

void std_msgs::msg::Float32PubSubType::deleteData ( void *  data)
overridevirtual

Definition at line 127 of file Float32PubSubTypes.cpp.

◆ deserialize()

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

Definition at line 82 of file Float32PubSubTypes.cpp.

References std_msgs::msg::Float32::deserialize().

+ Here is the call graph for this function:

◆ getKey()

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

Definition at line 133 of file Float32PubSubTypes.cpp.

References std_msgs::msg::Float32::getKeyMaxCdrSerializedSize(), m_keyBuffer, m_md5, and std_msgs::msg::Float32::serializeKey().

+ Here is the call graph for this function:

◆ getSerializedSizeProvider()

std::function< uint32_t()> std_msgs::msg::Float32PubSubType::getSerializedSizeProvider ( void *  data)
overridevirtual

Definition at line 112 of file Float32PubSubTypes.cpp.

References std_msgs::msg::Float32::getCdrSerializedSize().

+ Here is the call graph for this function:

◆ is_plain_impl()

static constexpr bool std_msgs::msg::Float32PubSubType::is_plain_impl ( )
inlinestaticprivate

Definition at line 131 of file Float32PubSubTypes.h.

◆ serialize()

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

Definition at line 53 of file Float32PubSubTypes.cpp.

References std_msgs::msg::Float32::serialize().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_keyBuffer

unsigned char* std_msgs::msg::Float32PubSubType::m_keyBuffer

Definition at line 128 of file Float32PubSubTypes.h.

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

◆ m_md5

MD5 std_msgs::msg::Float32PubSubType::m_md5

Definition at line 127 of file Float32PubSubTypes.h.

Referenced by getKey().


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