This class represents the structure PointField defined by the user in the IDL file. 更多...
#include <PointField.h>
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 PointField & | operator= (const PointField &x) |
Copy assignment. | |
eProsima_user_DllExport PointField & | operator= (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.h 第 79 行定义.
sensor_msgs::msg::PointField::PointField | ( | ) |
sensor_msgs::msg::PointField::~PointField | ( | ) |
Default destructor.
在文件 PointField.cpp 第 52 行定义.
sensor_msgs::msg::PointField::PointField | ( | const PointField & | x | ) |
Copy constructor.
x | Reference to the object sensor_msgs::msg::PointField that will be copied. |
在文件 PointField.cpp 第 56 行定义.
引用了 m_count, m_datatype, m_name , 以及 m_offset.
|
noexcept |
Move constructor.
x | Reference to the object sensor_msgs::msg::PointField that will be copied. |
在文件 PointField.cpp 第 65 行定义.
uint32_t & sensor_msgs::msg::PointField::count | ( | ) |
This function returns a reference to member count
在文件 PointField.cpp 第 263 行定义.
uint32_t sensor_msgs::msg::PointField::count | ( | ) | const |
This function returns the value of member count
在文件 PointField.cpp 第 254 行定义.
void sensor_msgs::msg::PointField::count | ( | uint32_t | _count | ) |
This function sets a value in member count
_count | New value for member count |
在文件 PointField.cpp 第 244 行定义.
被这些函数引用 carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().
uint8_t & sensor_msgs::msg::PointField::datatype | ( | ) |
This function returns a reference to member datatype
在文件 PointField.cpp 第 235 行定义.
uint8_t sensor_msgs::msg::PointField::datatype | ( | ) | const |
This function returns the value of member datatype
在文件 PointField.cpp 第 226 行定义.
void sensor_msgs::msg::PointField::datatype | ( | uint8_t | _datatype | ) |
This function sets a value in member datatype
_datatype | New value for member datatype |
在文件 PointField.cpp 第 216 行定义.
被这些函数引用 carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().
void sensor_msgs::msg::PointField::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 PointField.cpp 第 137 行定义.
被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::deserialize().
|
static |
This function returns the serialized size of a data depending on the buffer alignment.
data | Data which is calculated its serialized size. |
current_alignment | Buffer alignment. |
在文件 PointField.cpp 第 115 行定义.
引用了 name().
被这些函数引用 sensor_msgs::msg::PointCloud2::getCdrSerializedSize() , 以及 sensor_msgs::msg::PointFieldPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 PointField.cpp 第 268 行定义.
引用了 sensor_msgs_msg_PointField_max_key_cdr_typesize.
被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::getKey() , 以及 sensor_msgs::msg::PointFieldPubSubType::PointFieldPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 PointField.cpp 第 108 行定义.
引用了 sensor_msgs_msg_PointField_max_cdr_typesize.
被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::PointFieldPubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 PointField.cpp 第 275 行定义.
被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::PointFieldPubSubType().
std::string & sensor_msgs::msg::PointField::name | ( | ) |
This function returns a reference to member name
在文件 PointField.cpp 第 179 行定义.
const std::string & sensor_msgs::msg::PointField::name | ( | ) | const |
This function returns a constant reference to member name
在文件 PointField.cpp 第 170 行定义.
void sensor_msgs::msg::PointField::name | ( | const std::string & | _name | ) |
This function copies the value in member name
_name | New value to be copied in member name |
在文件 PointField.cpp 第 150 行定义.
被这些函数引用 getCdrSerializedSize(), carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().
void sensor_msgs::msg::PointField::name | ( | std::string && | _name | ) |
This function moves the value in member name
_name | New value to be moved in member name |
在文件 PointField.cpp 第 160 行定义.
uint32_t & sensor_msgs::msg::PointField::offset | ( | ) |
This function returns a reference to member offset
在文件 PointField.cpp 第 207 行定义.
uint32_t sensor_msgs::msg::PointField::offset | ( | ) | const |
This function returns the value of member offset
在文件 PointField.cpp 第 198 行定义.
void sensor_msgs::msg::PointField::offset | ( | uint32_t | _offset | ) |
This function sets a value in member offset
_offset | New value for member offset |
在文件 PointField.cpp 第 188 行定义.
被这些函数引用 carla::ros2::CarlaRadarPublisher::SetData(), carla::ros2::CarlaLidarPublisher::SetData(), carla::ros2::CarlaSemanticLidarPublisher::SetData() , 以及 carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData().
bool sensor_msgs::msg::PointField::operator!= | ( | const PointField & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::PointField object to compare. |
在文件 PointField.cpp 第 102 行定义.
sensor_msgs::msg::PointField & sensor_msgs::msg::PointField::operator= | ( | const PointField & | x | ) |
Copy assignment.
x | Reference to the object sensor_msgs::msg::PointField that will be copied. |
在文件 PointField.cpp 第 74 行定义.
引用了 m_count, m_datatype, m_name , 以及 m_offset.
|
noexcept |
Move assignment.
x | Reference to the object sensor_msgs::msg::PointField that will be copied. |
在文件 PointField.cpp 第 85 行定义.
bool sensor_msgs::msg::PointField::operator== | ( | const PointField & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::PointField object to compare. |
在文件 PointField.cpp 第 96 行定义.
引用了 m_count, m_datatype, m_name , 以及 m_offset.
void sensor_msgs::msg::PointField::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 PointField.cpp 第 128 行定义.
被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::serialize().
void sensor_msgs::msg::PointField::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 PointField.cpp 第 280 行定义.
被这些函数引用 sensor_msgs::msg::PointFieldPubSubType::getKey().
|
private |
在文件 PointField.h 第 275 行定义.
被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().
|
private |
在文件 PointField.h 第 274 行定义.
被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().
|
private |
在文件 PointField.h 第 272 行定义.
被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().
|
private |
在文件 PointField.h 第 273 行定义.
被这些函数引用 operator=(), operator==(), PointField() , 以及 PointField().