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

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

#include <CarlaLineInvasion.h>

+ carla_msgs::msg::LaneInvasionEvent 的协作图:

Public 成员函数

eProsima_user_DllExport std::vector< int32_t > & crossed_lane_markings ()
 This function returns a reference to member crossed_lane_markings
 
eProsima_user_DllExport const std::vector< int32_t > & crossed_lane_markings () const
 This function returns a constant reference to member crossed_lane_markings
 
eProsima_user_DllExport void crossed_lane_markings (const std::vector< int32_t > &_crossed_lane_markings)
 This function copies the value in member crossed_lane_markings
 
eProsima_user_DllExport void crossed_lane_markings (std::vector< int32_t > &&_crossed_lane_markings)
 This function moves the value in member crossed_lane_markings
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport std_msgs::msg::Headerheader ()
 This function returns a reference to member header
 
eProsima_user_DllExport const std_msgs::msg::Headerheader () const
 This function returns a constant reference to member header
 
eProsima_user_DllExport void header (const std_msgs::msg::Header &_header)
 This function copies the value in member header
 
eProsima_user_DllExport void header (std_msgs::msg::Header &&_header)
 This function moves the value in member header
 
eProsima_user_DllExport LaneInvasionEvent ()
 Default constructor.
 
eProsima_user_DllExport LaneInvasionEvent (const LaneInvasionEvent &x)
 Copy constructor.
 
eProsima_user_DllExport LaneInvasionEvent (LaneInvasionEvent &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport bool operator!= (const LaneInvasionEvent &x) const
 Comparison operator.
 
eProsima_user_DllExport LaneInvasionEventoperator= (const LaneInvasionEvent &x)
 Copy assignment.
 
eProsima_user_DllExport LaneInvasionEventoperator= (LaneInvasionEvent &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const LaneInvasionEvent &x) const
 Comparison operator.
 
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 ~LaneInvasionEvent ()
 Default destructor.
 

静态 Public 成员函数

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

std::vector< int32_t > m_crossed_lane_markings
 
std_msgs::msg::Header m_header
 

详细描述

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

在文件 CarlaLineInvasion.h75 行定义.

构造及析构函数说明

◆ LaneInvasionEvent() [1/3]

carla_msgs::msg::LaneInvasionEvent::LaneInvasionEvent ( )

Default constructor.

在文件 CarlaLineInvasion.cpp44 行定义.

◆ ~LaneInvasionEvent()

carla_msgs::msg::LaneInvasionEvent::~LaneInvasionEvent ( )

Default destructor.

在文件 CarlaLineInvasion.cpp48 行定义.

◆ LaneInvasionEvent() [2/3]

carla_msgs::msg::LaneInvasionEvent::LaneInvasionEvent ( const LaneInvasionEvent & x)

Copy constructor.

参数
xReference to the object carla_msgs::msg::LaneInvasionEvent that will be copied.

在文件 CarlaLineInvasion.cpp52 行定义.

引用了 m_crossed_lane_markings , 以及 m_header.

◆ LaneInvasionEvent() [3/3]

carla_msgs::msg::LaneInvasionEvent::LaneInvasionEvent ( LaneInvasionEvent && x)
noexcept

Move constructor.

参数
xReference to the object carla_msgs::msg::LaneInvasionEvent that will be copied.

在文件 CarlaLineInvasion.cpp59 行定义.

成员函数说明

◆ crossed_lane_markings() [1/4]

std::vector< int32_t > & carla_msgs::msg::LaneInvasionEvent::crossed_lane_markings ( )

This function returns a reference to member crossed_lane_markings

返回
Reference to member crossed_lane_markings

在文件 CarlaLineInvasion.cpp203 行定义.

◆ crossed_lane_markings() [2/4]

const std::vector< int32_t > & carla_msgs::msg::LaneInvasionEvent::crossed_lane_markings ( ) const

This function returns a constant reference to member crossed_lane_markings

返回
Constant reference to member crossed_lane_markings

在文件 CarlaLineInvasion.cpp194 行定义.

◆ crossed_lane_markings() [3/4]

void carla_msgs::msg::LaneInvasionEvent::crossed_lane_markings ( const std::vector< int32_t > & _crossed_lane_markings)

This function copies the value in member crossed_lane_markings

参数
_crossed_lane_markingsNew value to be copied in member crossed_lane_markings

在文件 CarlaLineInvasion.cpp174 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ crossed_lane_markings() [4/4]

void carla_msgs::msg::LaneInvasionEvent::crossed_lane_markings ( std::vector< int32_t > && _crossed_lane_markings)

This function moves the value in member crossed_lane_markings

参数
_crossed_lane_markingsNew value to be moved in member crossed_lane_markings

在文件 CarlaLineInvasion.cpp184 行定义.

◆ deserialize()

void carla_msgs::msg::LaneInvasionEvent::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 CarlaLineInvasion.cpp126 行定义.

被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::deserialize().

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

◆ getCdrSerializedSize()

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

在文件 CarlaLineInvasion.cpp103 行定义.

引用了 crossed_lane_markings(), std_msgs::msg::Header::getCdrSerializedSize() , 以及 header().

被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::getSerializedSizeProvider().

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

◆ getKeyMaxCdrSerializedSize()

size_t carla_msgs::msg::LaneInvasionEvent::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.

在文件 CarlaLineInvasion.cpp209 行定义.

引用了 carla_msgs_msg_LaneInvasionEvent_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

size_t carla_msgs::msg::LaneInvasionEvent::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.

在文件 CarlaLineInvasion.cpp96 行定义.

引用了 carla_msgs_msg_LaneInvasionEvent_max_cdr_typesize.

被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::LaneInvasionEventPubSubType().

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

◆ header() [1/4]

std_msgs::msg::Header & carla_msgs::msg::LaneInvasionEvent::header ( )

This function returns a reference to member header

返回
Reference to member header

在文件 CarlaLineInvasion.cpp166 行定义.

◆ header() [2/4]

const std_msgs::msg::Header & carla_msgs::msg::LaneInvasionEvent::header ( ) const

This function returns a constant reference to member header

返回
Constant reference to member header

在文件 CarlaLineInvasion.cpp157 行定义.

◆ header() [3/4]

void carla_msgs::msg::LaneInvasionEvent::header ( const std_msgs::msg::Header & _header)

This function copies the value in member header

参数
_headerNew value to be copied in member header

在文件 CarlaLineInvasion.cpp137 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ header() [4/4]

void carla_msgs::msg::LaneInvasionEvent::header ( std_msgs::msg::Header && _header)

This function moves the value in member header

参数
_headerNew value to be moved in member header

在文件 CarlaLineInvasion.cpp147 行定义.

◆ isKeyDefined()

bool carla_msgs::msg::LaneInvasionEvent::isKeyDefined ( )
static

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

在文件 CarlaLineInvasion.cpp216 行定义.

被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::LaneInvasionEventPubSubType().

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

◆ operator!=()

bool carla_msgs::msg::LaneInvasionEvent::operator!= ( const LaneInvasionEvent & x) const

Comparison operator.

参数
xcarla_msgs::msg::LaneInvasionEvent object to compare.

在文件 CarlaLineInvasion.cpp90 行定义.

◆ operator=() [1/2]

carla_msgs::msg::LaneInvasionEvent & carla_msgs::msg::LaneInvasionEvent::operator= ( const LaneInvasionEvent & x)

Copy assignment.

参数
xReference to the object carla_msgs::msg::LaneInvasionEvent that will be copied.

在文件 CarlaLineInvasion.cpp66 行定义.

引用了 m_crossed_lane_markings , 以及 m_header.

◆ operator=() [2/2]

carla_msgs::msg::LaneInvasionEvent & carla_msgs::msg::LaneInvasionEvent::operator= ( LaneInvasionEvent && x)
noexcept

Move assignment.

参数
xReference to the object carla_msgs::msg::LaneInvasionEvent that will be copied.

在文件 CarlaLineInvasion.cpp75 行定义.

◆ operator==()

bool carla_msgs::msg::LaneInvasionEvent::operator== ( const LaneInvasionEvent & x) const

Comparison operator.

参数
xcarla_msgs::msg::LaneInvasionEvent object to compare.

在文件 CarlaLineInvasion.cpp84 行定义.

引用了 m_crossed_lane_markings , 以及 m_header.

◆ serialize()

void carla_msgs::msg::LaneInvasionEvent::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 CarlaLineInvasion.cpp119 行定义.

被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::serialize().

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

◆ serializeKey()

void carla_msgs::msg::LaneInvasionEvent::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

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

参数
cdrCDR serialization object.

在文件 CarlaLineInvasion.cpp221 行定义.

被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::getKey().

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

类成员变量说明

◆ m_crossed_lane_markings

std::vector<int32_t> carla_msgs::msg::LaneInvasionEvent::m_crossed_lane_markings
private

在文件 CarlaLineInvasion.h237 行定义.

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

◆ m_header

std_msgs::msg::Header carla_msgs::msg::LaneInvasionEvent::m_header
private

在文件 CarlaLineInvasion.h236 行定义.

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


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