This class represents the structure LaneInvasionEvent defined by the user in the IDL file. 更多...
#include <CarlaLineInvasion.h>
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::Header & | header () |
This function returns a reference to member header | |
eProsima_user_DllExport const std_msgs::msg::Header & | header () 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 LaneInvasionEvent & | operator= (const LaneInvasionEvent &x) |
Copy assignment. | |
eProsima_user_DllExport LaneInvasionEvent & | operator= (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.h 第 75 行定义.
carla_msgs::msg::LaneInvasionEvent::LaneInvasionEvent | ( | ) |
Default constructor.
在文件 CarlaLineInvasion.cpp 第 44 行定义.
carla_msgs::msg::LaneInvasionEvent::~LaneInvasionEvent | ( | ) |
Default destructor.
在文件 CarlaLineInvasion.cpp 第 48 行定义.
carla_msgs::msg::LaneInvasionEvent::LaneInvasionEvent | ( | const LaneInvasionEvent & | x | ) |
Copy constructor.
x | Reference to the object carla_msgs::msg::LaneInvasionEvent that will be copied. |
在文件 CarlaLineInvasion.cpp 第 52 行定义.
引用了 m_crossed_lane_markings , 以及 m_header.
|
noexcept |
Move constructor.
x | Reference to the object carla_msgs::msg::LaneInvasionEvent that will be copied. |
在文件 CarlaLineInvasion.cpp 第 59 行定义.
std::vector< int32_t > & carla_msgs::msg::LaneInvasionEvent::crossed_lane_markings | ( | ) |
This function returns a reference to member crossed_lane_markings
在文件 CarlaLineInvasion.cpp 第 203 行定义.
const std::vector< int32_t > & carla_msgs::msg::LaneInvasionEvent::crossed_lane_markings | ( | ) | const |
This function returns a constant reference to member crossed_lane_markings
在文件 CarlaLineInvasion.cpp 第 194 行定义.
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_markings | New value to be copied in member crossed_lane_markings |
在文件 CarlaLineInvasion.cpp 第 174 行定义.
被这些函数引用 getCdrSerializedSize().
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_markings | New value to be moved in member crossed_lane_markings |
在文件 CarlaLineInvasion.cpp 第 184 行定义.
void carla_msgs::msg::LaneInvasionEvent::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CarlaLineInvasion.cpp 第 126 行定义.
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::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. |
在文件 CarlaLineInvasion.cpp 第 103 行定义.
引用了 crossed_lane_markings(), std_msgs::msg::Header::getCdrSerializedSize() , 以及 header().
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 CarlaLineInvasion.cpp 第 209 行定义.
引用了 carla_msgs_msg_LaneInvasionEvent_max_key_cdr_typesize.
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::getKey() , 以及 carla_msgs::msg::LaneInvasionEventPubSubType::LaneInvasionEventPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 CarlaLineInvasion.cpp 第 96 行定义.
引用了 carla_msgs_msg_LaneInvasionEvent_max_cdr_typesize.
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::LaneInvasionEventPubSubType().
std_msgs::msg::Header & carla_msgs::msg::LaneInvasionEvent::header | ( | ) |
This function returns a reference to member header
在文件 CarlaLineInvasion.cpp 第 166 行定义.
const std_msgs::msg::Header & carla_msgs::msg::LaneInvasionEvent::header | ( | ) | const |
This function returns a constant reference to member header
在文件 CarlaLineInvasion.cpp 第 157 行定义.
void carla_msgs::msg::LaneInvasionEvent::header | ( | const std_msgs::msg::Header & | _header | ) |
This function copies the value in member header
_header | New value to be copied in member header |
在文件 CarlaLineInvasion.cpp 第 137 行定义.
被这些函数引用 getCdrSerializedSize().
void carla_msgs::msg::LaneInvasionEvent::header | ( | std_msgs::msg::Header && | _header | ) |
This function moves the value in member header
_header | New value to be moved in member header |
在文件 CarlaLineInvasion.cpp 第 147 行定义.
|
static |
This function tells you if the Key has been defined for this type
在文件 CarlaLineInvasion.cpp 第 216 行定义.
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::LaneInvasionEventPubSubType().
bool carla_msgs::msg::LaneInvasionEvent::operator!= | ( | const LaneInvasionEvent & | x | ) | const |
Comparison operator.
x | carla_msgs::msg::LaneInvasionEvent object to compare. |
在文件 CarlaLineInvasion.cpp 第 90 行定义.
carla_msgs::msg::LaneInvasionEvent & carla_msgs::msg::LaneInvasionEvent::operator= | ( | const LaneInvasionEvent & | x | ) |
Copy assignment.
x | Reference to the object carla_msgs::msg::LaneInvasionEvent that will be copied. |
在文件 CarlaLineInvasion.cpp 第 66 行定义.
引用了 m_crossed_lane_markings , 以及 m_header.
|
noexcept |
Move assignment.
x | Reference to the object carla_msgs::msg::LaneInvasionEvent that will be copied. |
在文件 CarlaLineInvasion.cpp 第 75 行定义.
bool carla_msgs::msg::LaneInvasionEvent::operator== | ( | const LaneInvasionEvent & | x | ) | const |
Comparison operator.
x | carla_msgs::msg::LaneInvasionEvent object to compare. |
在文件 CarlaLineInvasion.cpp 第 84 行定义.
引用了 m_crossed_lane_markings , 以及 m_header.
void carla_msgs::msg::LaneInvasionEvent::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CarlaLineInvasion.cpp 第 119 行定义.
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::serialize().
void carla_msgs::msg::LaneInvasionEvent::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CarlaLineInvasion.cpp 第 221 行定义.
被这些函数引用 carla_msgs::msg::LaneInvasionEventPubSubType::getKey().
|
private |
在文件 CarlaLineInvasion.h 第 237 行定义.
被这些函数引用 LaneInvasionEvent(), operator=() , 以及 operator==().
|
private |
在文件 CarlaLineInvasion.h 第 236 行定义.
被这些函数引用 LaneInvasionEvent(), operator=() , 以及 operator==().