CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Private 属性 | 所有成员列表
sensor_msgs::msg::PointField类 参考

This class represents the structure PointField defined by the user in the IDL file. 更多...

#include <PointField.h>

+ sensor_msgs::msg::PointField 的协作图:

Public 成员函数

eProsima_user_DllExport uint32_t & count ()
 This function returns a reference to member count
 
eProsima_user_DllExport uint32_t count () const
 This function returns the value of member count
 
eProsima_user_DllExport void count (uint32_t _count)
 This function sets a value in member count
 
eProsima_user_DllExport uint8_t & datatype ()
 This function returns a reference to member datatype
 
eProsima_user_DllExport uint8_t datatype () const
 This function returns the value of member datatype
 
eProsima_user_DllExport void datatype (uint8_t _datatype)
 This function sets a value in member datatype
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport std::string & name ()
 This function returns a reference to member name
 
eProsima_user_DllExport const std::string & name () const
 This function returns a constant reference to member name
 
eProsima_user_DllExport void name (const std::string &_name)
 This function copies the value in member name
 
eProsima_user_DllExport void name (std::string &&_name)
 This function moves the value in member name
 
eProsima_user_DllExport uint32_t & offset ()
 This function returns a reference to member offset
 
eProsima_user_DllExport uint32_t offset () const
 This function returns the value of member offset
 
eProsima_user_DllExport void offset (uint32_t _offset)
 This function sets a value in member offset
 
eProsima_user_DllExport bool operator!= (const PointField &x) const
 Comparison operator.
 
eProsima_user_DllExport PointFieldoperator= (const PointField &x)
 Copy assignment.
 
eProsima_user_DllExport PointFieldoperator= (PointField &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const PointField &x) const
 Comparison operator.
 
eProsima_user_DllExport PointField ()
 Default constructor.
 
eProsima_user_DllExport PointField (const PointField &x)
 Copy constructor.
 
eProsima_user_DllExport PointField (PointField &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization.
 
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 ~PointField ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const sensor_msgs::msg::PointField &data, size_t current_alignment=0)
 This function returns the serialized size of a data 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 alignment.
 
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 bool isKeyDefined ()
 This function tells you if the Key has been defined for this type
 

Private 属性

uint32_t m_count
 
uint8_t m_datatype
 
std::string m_name
 
uint32_t m_offset
 

详细描述

This class represents the structure PointField defined by the user in the IDL file.

在文件 PointField.h79 行定义.

构造及析构函数说明

◆ PointField() [1/3]

sensor_msgs::msg::PointField::PointField ( )

Default constructor.

在文件 PointField.cpp40 行定义.

引用了 m_count, m_datatype, m_name , 以及 m_offset.

◆ ~PointField()

sensor_msgs::msg::PointField::~PointField ( )

Default destructor.

在文件 PointField.cpp52 行定义.

◆ PointField() [2/3]

sensor_msgs::msg::PointField::PointField ( const PointField & x)

Copy constructor.

参数
xReference to the object sensor_msgs::msg::PointField that will be copied.

在文件 PointField.cpp56 行定义.

引用了 m_count, m_datatype, m_name , 以及 m_offset.

◆ PointField() [3/3]

sensor_msgs::msg::PointField::PointField ( PointField && x)
noexcept

Move constructor.

参数
xReference to the object sensor_msgs::msg::PointField that will be copied.

在文件 PointField.cpp65 行定义.

成员函数说明

◆ count() [1/3]

uint32_t & sensor_msgs::msg::PointField::count ( )

This function returns a reference to member count

返回
Reference to member count

在文件 PointField.cpp263 行定义.

◆ count() [2/3]

uint32_t sensor_msgs::msg::PointField::count ( ) const

This function returns the value of member count

返回
Value of member count

在文件 PointField.cpp254 行定义.

◆ count() [3/3]

void sensor_msgs::msg::PointField::count ( uint32_t _count)

This function sets a value in member count

参数
_countNew value for member count

在文件 PointField.cpp244 行定义.

被这些函数引用 carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().

+ 这是这个函数的调用关系图:

◆ datatype() [1/3]

uint8_t & sensor_msgs::msg::PointField::datatype ( )

This function returns a reference to member datatype

返回
Reference to member datatype

在文件 PointField.cpp235 行定义.

◆ datatype() [2/3]

uint8_t sensor_msgs::msg::PointField::datatype ( ) const

This function returns the value of member datatype

返回
Value of member datatype

在文件 PointField.cpp226 行定义.

◆ datatype() [3/3]

void sensor_msgs::msg::PointField::datatype ( uint8_t _datatype)

This function sets a value in member datatype

参数
_datatypeNew value for member datatype

在文件 PointField.cpp216 行定义.

被这些函数引用 carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().

+ 这是这个函数的调用关系图:

◆ deserialize()

void sensor_msgs::msg::PointField::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 PointField.cpp137 行定义.

被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::deserialize().

+ 这是这个函数的调用关系图:

◆ getCdrSerializedSize()

size_t sensor_msgs::msg::PointField::getCdrSerializedSize ( const sensor_msgs::msg::PointField & data,
size_t current_alignment = 0 )
static

This function returns the serialized size of a data depending on the buffer alignment.

参数
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
返回
Serialized size.

在文件 PointField.cpp115 行定义.

引用了 name().

被这些函数引用 sensor_msgs::msg::PointCloud2::getCdrSerializedSize() , 以及 sensor_msgs::msg::PointFieldPubSubType::getSerializedSizeProvider().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ getKeyMaxCdrSerializedSize()

size_t sensor_msgs::msg::PointField::getKeyMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 PointField.cpp268 行定义.

引用了 sensor_msgs_msg_PointField_max_key_cdr_typesize.

被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::getKey() , 以及 sensor_msgs::msg::PointFieldPubSubType::PointFieldPubSubType().

+ 这是这个函数的调用关系图:

◆ getMaxCdrSerializedSize()

size_t sensor_msgs::msg::PointField::getMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 PointField.cpp108 行定义.

引用了 sensor_msgs_msg_PointField_max_cdr_typesize.

被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::PointFieldPubSubType().

+ 这是这个函数的调用关系图:

◆ isKeyDefined()

bool sensor_msgs::msg::PointField::isKeyDefined ( )
static

This function tells you if the Key has been defined for this type

在文件 PointField.cpp275 行定义.

被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::PointFieldPubSubType().

+ 这是这个函数的调用关系图:

◆ name() [1/4]

std::string & sensor_msgs::msg::PointField::name ( )

This function returns a reference to member name

返回
Reference to member name

在文件 PointField.cpp179 行定义.

◆ name() [2/4]

const std::string & sensor_msgs::msg::PointField::name ( ) const

This function returns a constant reference to member name

返回
Constant reference to member name

在文件 PointField.cpp170 行定义.

◆ name() [3/4]

void sensor_msgs::msg::PointField::name ( const std::string & _name)

This function copies the value in member name

参数
_nameNew value to be copied in member name

在文件 PointField.cpp150 行定义.

被这些函数引用 getCdrSerializedSize(), carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().

+ 这是这个函数的调用关系图:

◆ name() [4/4]

void sensor_msgs::msg::PointField::name ( std::string && _name)

This function moves the value in member name

参数
_nameNew value to be moved in member name

在文件 PointField.cpp160 行定义.

◆ offset() [1/3]

uint32_t & sensor_msgs::msg::PointField::offset ( )

This function returns a reference to member offset

返回
Reference to member offset

在文件 PointField.cpp207 行定义.

◆ offset() [2/3]

uint32_t sensor_msgs::msg::PointField::offset ( ) const

This function returns the value of member offset

返回
Value of member offset

在文件 PointField.cpp198 行定义.

◆ offset() [3/3]

void sensor_msgs::msg::PointField::offset ( uint32_t _offset)

This function sets a value in member offset

参数
_offsetNew value for member offset

在文件 PointField.cpp188 行定义.

被这些函数引用 carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().

+ 这是这个函数的调用关系图:

◆ operator!=()

bool sensor_msgs::msg::PointField::operator!= ( const PointField & x) const

Comparison operator.

参数
xsensor_msgs::msg::PointField object to compare.

在文件 PointField.cpp102 行定义.

◆ operator=() [1/2]

sensor_msgs::msg::PointField & sensor_msgs::msg::PointField::operator= ( const PointField & x)

Copy assignment.

参数
xReference to the object sensor_msgs::msg::PointField that will be copied.

在文件 PointField.cpp74 行定义.

引用了 m_count, m_datatype, m_name , 以及 m_offset.

◆ operator=() [2/2]

sensor_msgs::msg::PointField & sensor_msgs::msg::PointField::operator= ( PointField && x)
noexcept

Move assignment.

参数
xReference to the object sensor_msgs::msg::PointField that will be copied.

在文件 PointField.cpp85 行定义.

◆ operator==()

bool sensor_msgs::msg::PointField::operator== ( const PointField & x) const

Comparison operator.

参数
xsensor_msgs::msg::PointField object to compare.

在文件 PointField.cpp96 行定义.

引用了 m_count, m_datatype, m_name , 以及 m_offset.

◆ serialize()

void sensor_msgs::msg::PointField::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 PointField.cpp128 行定义.

被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::serialize().

+ 这是这个函数的调用关系图:

◆ serializeKey()

void sensor_msgs::msg::PointField::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

This function serializes the key members of an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 PointField.cpp280 行定义.

被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::getKey().

+ 这是这个函数的调用关系图:

类成员变量说明

◆ m_count

uint32_t sensor_msgs::msg::PointField::m_count
private

在文件 PointField.h275 行定义.

被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().

◆ m_datatype

uint8_t sensor_msgs::msg::PointField::m_datatype
private

在文件 PointField.h274 行定义.

被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().

◆ m_name

std::string sensor_msgs::msg::PointField::m_name
private

在文件 PointField.h272 行定义.

被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().

◆ m_offset

uint32_t sensor_msgs::msg::PointField::m_offset
private

在文件 PointField.h273 行定义.

被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().


该类的文档由以下文件生成: