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

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

#include <RegionOfInterest.h>

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

Public 成员函数

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport bool & do_rectify ()
 This function returns a reference to member do_rectify
 
eProsima_user_DllExport bool do_rectify () const
 This function returns the value of member do_rectify
 
eProsima_user_DllExport void do_rectify (bool _do_rectify)
 This function sets a value in member do_rectify
 
eProsima_user_DllExport uint32_t & height ()
 This function returns a reference to member height
 
eProsima_user_DllExport uint32_t height () const
 This function returns the value of member height
 
eProsima_user_DllExport void height (uint32_t _height)
 This function sets a value in member height
 
eProsima_user_DllExport bool operator!= (const RegionOfInterest &x) const
 Comparison operator.
 
eProsima_user_DllExport RegionOfInterestoperator= (const RegionOfInterest &x)
 Copy assignment.
 
eProsima_user_DllExport RegionOfInterestoperator= (RegionOfInterest &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const RegionOfInterest &x) const
 Comparison operator.
 
eProsima_user_DllExport RegionOfInterest ()
 Default constructor.
 
eProsima_user_DllExport RegionOfInterest (const RegionOfInterest &x)
 Copy constructor.
 
eProsima_user_DllExport RegionOfInterest (RegionOfInterest &&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 uint32_t & width ()
 This function returns a reference to member width
 
eProsima_user_DllExport uint32_t width () const
 This function returns the value of member width
 
eProsima_user_DllExport void width (uint32_t _width)
 This function sets a value in member width
 
eProsima_user_DllExport uint32_t & x_offset ()
 This function returns a reference to member x_offset
 
eProsima_user_DllExport uint32_t x_offset () const
 This function returns the value of member x_offset
 
eProsima_user_DllExport void x_offset (uint32_t _x_offset)
 This function sets a value in member x_offset
 
eProsima_user_DllExport uint32_t & y_offset ()
 This function returns a reference to member y_offset
 
eProsima_user_DllExport uint32_t y_offset () const
 This function returns the value of member y_offset
 
eProsima_user_DllExport void y_offset (uint32_t _y_offset)
 This function sets a value in member y_offset
 
eProsima_user_DllExport ~RegionOfInterest ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const sensor_msgs::msg::RegionOfInterest &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 属性

bool m_do_rectify
 
uint32_t m_height
 
uint32_t m_width
 
uint32_t m_x_offset
 
uint32_t m_y_offset
 

详细描述

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

在文件 RegionOfInterest.h70 行定义.

构造及析构函数说明

◆ RegionOfInterest() [1/3]

sensor_msgs::msg::RegionOfInterest::RegionOfInterest ( )

Default constructor.

在文件 RegionOfInterest.cpp40 行定义.

引用了 m_do_rectify, m_height, m_width, m_x_offset , 以及 m_y_offset.

◆ ~RegionOfInterest()

sensor_msgs::msg::RegionOfInterest::~RegionOfInterest ( )

Default destructor.

在文件 RegionOfInterest.cpp54 行定义.

◆ RegionOfInterest() [2/3]

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

Copy constructor.

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

在文件 RegionOfInterest.cpp58 行定义.

引用了 m_do_rectify, m_height, m_width, m_x_offset , 以及 m_y_offset.

◆ RegionOfInterest() [3/3]

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

Move constructor.

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

在文件 RegionOfInterest.cpp68 行定义.

成员函数说明

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 RegionOfInterest.cpp146 行定义.

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

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

◆ do_rectify() [1/3]

bool & sensor_msgs::msg::RegionOfInterest::do_rectify ( )

This function returns a reference to member do_rectify

返回
Reference to member do_rectify

在文件 RegionOfInterest.cpp291 行定义.

◆ do_rectify() [2/3]

bool sensor_msgs::msg::RegionOfInterest::do_rectify ( ) const

This function returns the value of member do_rectify

返回
Value of member do_rectify

在文件 RegionOfInterest.cpp282 行定义.

◆ do_rectify() [3/3]

void sensor_msgs::msg::RegionOfInterest::do_rectify ( bool _do_rectify)

◆ getCdrSerializedSize()

size_t sensor_msgs::msg::RegionOfInterest::getCdrSerializedSize ( const sensor_msgs::msg::RegionOfInterest & 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.

在文件 RegionOfInterest.cpp121 行定义.

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

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

◆ getKeyMaxCdrSerializedSize()

size_t sensor_msgs::msg::RegionOfInterest::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.

在文件 RegionOfInterest.cpp296 行定义.

引用了 sensor_msgs_msg_RegionOfInterest_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

size_t sensor_msgs::msg::RegionOfInterest::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.

在文件 RegionOfInterest.cpp114 行定义.

引用了 sensor_msgs_msg_RegionOfInterest_max_cdr_typesize.

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

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

◆ height() [1/3]

uint32_t & sensor_msgs::msg::RegionOfInterest::height ( )

This function returns a reference to member height

返回
Reference to member height

在文件 RegionOfInterest.cpp235 行定义.

◆ height() [2/3]

uint32_t sensor_msgs::msg::RegionOfInterest::height ( ) const

This function returns the value of member height

返回
Value of member height

在文件 RegionOfInterest.cpp226 行定义.

◆ height() [3/3]

void sensor_msgs::msg::RegionOfInterest::height ( uint32_t _height)

◆ isKeyDefined()

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

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

在文件 RegionOfInterest.cpp303 行定义.

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

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

◆ operator!=()

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

Comparison operator.

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

在文件 RegionOfInterest.cpp108 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 RegionOfInterest.cpp78 行定义.

引用了 m_do_rectify, m_height, m_width, m_x_offset , 以及 m_y_offset.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 RegionOfInterest.cpp90 行定义.

引用了 m_x_offset.

◆ operator==()

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

Comparison operator.

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

在文件 RegionOfInterest.cpp102 行定义.

引用了 m_do_rectify, m_height, m_width, m_x_offset , 以及 m_y_offset.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 RegionOfInterest.cpp136 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 RegionOfInterest.cpp308 行定义.

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

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

◆ width() [1/3]

uint32_t & sensor_msgs::msg::RegionOfInterest::width ( )

This function returns a reference to member width

返回
Reference to member width

在文件 RegionOfInterest.cpp263 行定义.

◆ width() [2/3]

uint32_t sensor_msgs::msg::RegionOfInterest::width ( ) const

This function returns the value of member width

返回
Value of member width

在文件 RegionOfInterest.cpp254 行定义.

◆ width() [3/3]

void sensor_msgs::msg::RegionOfInterest::width ( uint32_t _width)

◆ x_offset() [1/3]

uint32_t & sensor_msgs::msg::RegionOfInterest::x_offset ( )

This function returns a reference to member x_offset

返回
Reference to member x_offset

在文件 RegionOfInterest.cpp179 行定义.

◆ x_offset() [2/3]

uint32_t sensor_msgs::msg::RegionOfInterest::x_offset ( ) const

This function returns the value of member x_offset

返回
Value of member x_offset

在文件 RegionOfInterest.cpp170 行定义.

◆ x_offset() [3/3]

void sensor_msgs::msg::RegionOfInterest::x_offset ( uint32_t _x_offset)

◆ y_offset() [1/3]

uint32_t & sensor_msgs::msg::RegionOfInterest::y_offset ( )

This function returns a reference to member y_offset

返回
Reference to member y_offset

在文件 RegionOfInterest.cpp207 行定义.

◆ y_offset() [2/3]

uint32_t sensor_msgs::msg::RegionOfInterest::y_offset ( ) const

This function returns the value of member y_offset

返回
Value of member y_offset

在文件 RegionOfInterest.cpp198 行定义.

◆ y_offset() [3/3]

void sensor_msgs::msg::RegionOfInterest::y_offset ( uint32_t _y_offset)

类成员变量说明

◆ m_do_rectify

bool sensor_msgs::msg::RegionOfInterest::m_do_rectify
private

在文件 RegionOfInterest.h281 行定义.

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

◆ m_height

uint32_t sensor_msgs::msg::RegionOfInterest::m_height
private

在文件 RegionOfInterest.h279 行定义.

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

◆ m_width

uint32_t sensor_msgs::msg::RegionOfInterest::m_width
private

在文件 RegionOfInterest.h280 行定义.

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

◆ m_x_offset

uint32_t sensor_msgs::msg::RegionOfInterest::m_x_offset
private

在文件 RegionOfInterest.h277 行定义.

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

◆ m_y_offset

uint32_t sensor_msgs::msg::RegionOfInterest::m_y_offset
private

在文件 RegionOfInterest.h278 行定义.

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


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