This class represents the structure CarlaEgoVehicleControl defined by the user in the IDL file. 更多...
#include <CarlaEgoVehicleControl.h>
Public 成员函数 | |
eProsima_user_DllExport float & | brake () |
This function returns a reference to member brake | |
eProsima_user_DllExport float | brake () const |
This function returns the value of member brake | |
eProsima_user_DllExport void | brake (float _brake) |
This function sets a value in member brake | |
eProsima_user_DllExport | CarlaEgoVehicleControl () |
Default constructor. | |
eProsima_user_DllExport | CarlaEgoVehicleControl (CarlaEgoVehicleControl &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport | CarlaEgoVehicleControl (const CarlaEgoVehicleControl &x) |
Copy constructor. | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport int32_t & | gear () |
This function returns a reference to member gear | |
eProsima_user_DllExport int32_t | gear () const |
This function returns the value of member gear | |
eProsima_user_DllExport void | gear (int32_t _gear) |
This function sets a value in member gear | |
eProsima_user_DllExport bool & | hand_brake () |
This function returns a reference to member hand_brake | |
eProsima_user_DllExport bool | hand_brake () const |
This function returns the value of member hand_brake | |
eProsima_user_DllExport void | hand_brake (bool _hand_brake) |
This function sets a value in member hand_brake | |
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 bool & | manual_gear_shift () |
This function returns a reference to member manual_gear_shift | |
eProsima_user_DllExport bool | manual_gear_shift () const |
This function returns the value of member manual_gear_shift | |
eProsima_user_DllExport void | manual_gear_shift (bool _manual_gear_shift) |
This function sets a value in member manual_gear_shift | |
eProsima_user_DllExport bool | operator!= (const CarlaEgoVehicleControl &x) const |
Comparison operator. | |
eProsima_user_DllExport CarlaEgoVehicleControl & | operator= (CarlaEgoVehicleControl &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport CarlaEgoVehicleControl & | operator= (const CarlaEgoVehicleControl &x) |
Copy assignment. | |
eProsima_user_DllExport bool | operator== (const CarlaEgoVehicleControl &x) const |
Comparison operator. | |
eProsima_user_DllExport bool & | reverse () |
This function returns a reference to member reverse | |
eProsima_user_DllExport bool | reverse () const |
This function returns the value of member reverse | |
eProsima_user_DllExport void | reverse (bool _reverse) |
This function sets a value in member reverse | |
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 float & | steer () |
This function returns a reference to member steer | |
eProsima_user_DllExport float | steer () const |
This function returns the value of member steer | |
eProsima_user_DllExport void | steer (float _steer) |
This function sets a value in member steer | |
eProsima_user_DllExport float & | throttle () |
This function returns a reference to member throttle | |
eProsima_user_DllExport float | throttle () const |
This function returns the value of member throttle | |
eProsima_user_DllExport void | throttle (float _throttle) |
This function sets a value in member throttle | |
eProsima_user_DllExport | ~CarlaEgoVehicleControl () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const carla_msgs::msg::CarlaEgoVehicleControl &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 属性 | |
float | m_brake |
int32_t | m_gear |
bool | m_hand_brake |
std_msgs::msg::Header | m_header |
bool | m_manual_gear_shift |
bool | m_reverse |
float | m_steer |
float | m_throttle |
This class represents the structure CarlaEgoVehicleControl defined by the user in the IDL file.
在文件 CarlaEgoVehicleControl.h 第 72 行定义.
carla_msgs::msg::CarlaEgoVehicleControl::CarlaEgoVehicleControl | ( | ) |
Default constructor.
在文件 CarlaEgoVehicleControl.cpp 第 44 行定义.
引用了 m_brake, m_gear, m_hand_brake, m_manual_gear_shift, m_reverse, m_steer , 以及 m_throttle.
carla_msgs::msg::CarlaEgoVehicleControl::~CarlaEgoVehicleControl | ( | ) |
Default destructor.
在文件 CarlaEgoVehicleControl.cpp 第 65 行定义.
carla_msgs::msg::CarlaEgoVehicleControl::CarlaEgoVehicleControl | ( | const CarlaEgoVehicleControl & | x | ) |
Copy constructor.
x | Reference to the object carla_msgs::msg::CarlaEgoVehicleControl that will be copied. |
在文件 CarlaEgoVehicleControl.cpp 第 69 行定义.
引用了 m_brake, m_gear, m_hand_brake, m_header, m_manual_gear_shift, m_reverse, m_steer , 以及 m_throttle.
|
noexcept |
Move constructor.
x | Reference to the object carla_msgs::msg::CarlaEgoVehicleControl that will be copied. |
在文件 CarlaEgoVehicleControl.cpp 第 82 行定义.
float & carla_msgs::msg::CarlaEgoVehicleControl::brake | ( | ) |
This function returns a reference to member brake
在文件 CarlaEgoVehicleControl.cpp 第 302 行定义.
float carla_msgs::msg::CarlaEgoVehicleControl::brake | ( | ) | const |
This function returns the value of member brake
在文件 CarlaEgoVehicleControl.cpp 第 293 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::brake | ( | float | _brake | ) |
This function sets a value in member brake
_brake | New value for member brake |
在文件 CarlaEgoVehicleControl.cpp 第 283 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
void carla_msgs::msg::CarlaEgoVehicleControl::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CarlaEgoVehicleControl.cpp 第 173 行定义.
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::deserialize().
int32_t & carla_msgs::msg::CarlaEgoVehicleControl::gear | ( | ) |
This function returns a reference to member gear
在文件 CarlaEgoVehicleControl.cpp 第 386 行定义.
int32_t carla_msgs::msg::CarlaEgoVehicleControl::gear | ( | ) | const |
This function returns the value of member gear
在文件 CarlaEgoVehicleControl.cpp 第 377 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::gear | ( | int32_t | _gear | ) |
This function sets a value in member gear
_gear | New value for member gear |
在文件 CarlaEgoVehicleControl.cpp 第 367 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
|
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. |
在文件 CarlaEgoVehicleControl.cpp 第 144 行定义.
引用了 std_msgs::msg::Header::getCdrSerializedSize() , 以及 header().
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 CarlaEgoVehicleControl.cpp 第 419 行定义.
引用了 carla_msgs_msg_CarlaEgoVehicleControl_max_key_cdr_typesize.
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::CarlaEgoVehicleControlPubSubType() , 以及 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::getKey().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 CarlaEgoVehicleControl.cpp 第 137 行定义.
引用了 carla_msgs_msg_CarlaEgoVehicleControl_max_cdr_typesize.
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::CarlaEgoVehicleControlPubSubType().
bool & carla_msgs::msg::CarlaEgoVehicleControl::hand_brake | ( | ) |
This function returns a reference to member hand_brake
在文件 CarlaEgoVehicleControl.cpp 第 330 行定义.
bool carla_msgs::msg::CarlaEgoVehicleControl::hand_brake | ( | ) | const |
This function returns the value of member hand_brake
在文件 CarlaEgoVehicleControl.cpp 第 321 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::hand_brake | ( | bool | _hand_brake | ) |
This function sets a value in member hand_brake
_hand_brake | New value for member hand_brake |
在文件 CarlaEgoVehicleControl.cpp 第 311 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
std_msgs::msg::Header & carla_msgs::msg::CarlaEgoVehicleControl::header | ( | ) |
This function returns a reference to member header
在文件 CarlaEgoVehicleControl.cpp 第 219 行定义.
const std_msgs::msg::Header & carla_msgs::msg::CarlaEgoVehicleControl::header | ( | ) | const |
This function returns a constant reference to member header
在文件 CarlaEgoVehicleControl.cpp 第 210 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::header | ( | const std_msgs::msg::Header & | _header | ) |
This function copies the value in member header
_header | New value to be copied in member header |
在文件 CarlaEgoVehicleControl.cpp 第 190 行定义.
被这些函数引用 getCdrSerializedSize().
void carla_msgs::msg::CarlaEgoVehicleControl::header | ( | std_msgs::msg::Header && | _header | ) |
This function moves the value in member header
_header | New value to be moved in member header |
在文件 CarlaEgoVehicleControl.cpp 第 200 行定义.
|
static |
This function tells you if the Key has been defined for this type
在文件 CarlaEgoVehicleControl.cpp 第 426 行定义.
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::CarlaEgoVehicleControlPubSubType().
bool & carla_msgs::msg::CarlaEgoVehicleControl::manual_gear_shift | ( | ) |
This function returns a reference to member manual_gear_shift
在文件 CarlaEgoVehicleControl.cpp 第 414 行定义.
bool carla_msgs::msg::CarlaEgoVehicleControl::manual_gear_shift | ( | ) | const |
This function returns the value of member manual_gear_shift
在文件 CarlaEgoVehicleControl.cpp 第 405 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::manual_gear_shift | ( | bool | _manual_gear_shift | ) |
This function sets a value in member manual_gear_shift
_manual_gear_shift | New value for member manual_gear_shift |
在文件 CarlaEgoVehicleControl.cpp 第 395 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
bool carla_msgs::msg::CarlaEgoVehicleControl::operator!= | ( | const CarlaEgoVehicleControl & | x | ) | const |
Comparison operator.
x | carla_msgs::msg::CarlaEgoVehicleControl object to compare. |
在文件 CarlaEgoVehicleControl.cpp 第 131 行定义.
|
noexcept |
Move assignment.
x | Reference to the object carla_msgs::msg::CarlaEgoVehicleControl that will be copied. |
在文件 CarlaEgoVehicleControl.cpp 第 110 行定义.
carla_msgs::msg::CarlaEgoVehicleControl & carla_msgs::msg::CarlaEgoVehicleControl::operator= | ( | const CarlaEgoVehicleControl & | x | ) |
Copy assignment.
x | Reference to the object carla_msgs::msg::CarlaEgoVehicleControl that will be copied. |
在文件 CarlaEgoVehicleControl.cpp 第 95 行定义.
引用了 m_brake, m_gear, m_hand_brake, m_header, m_manual_gear_shift, m_reverse, m_steer , 以及 m_throttle.
bool carla_msgs::msg::CarlaEgoVehicleControl::operator== | ( | const CarlaEgoVehicleControl & | x | ) | const |
Comparison operator.
x | carla_msgs::msg::CarlaEgoVehicleControl object to compare. |
在文件 CarlaEgoVehicleControl.cpp 第 125 行定义.
引用了 m_brake, m_gear, m_hand_brake, m_header, m_manual_gear_shift, m_reverse, m_steer , 以及 m_throttle.
bool & carla_msgs::msg::CarlaEgoVehicleControl::reverse | ( | ) |
This function returns a reference to member reverse
在文件 CarlaEgoVehicleControl.cpp 第 358 行定义.
bool carla_msgs::msg::CarlaEgoVehicleControl::reverse | ( | ) | const |
This function returns the value of member reverse
在文件 CarlaEgoVehicleControl.cpp 第 349 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::reverse | ( | bool | _reverse | ) |
This function sets a value in member reverse
_reverse | New value for member reverse |
在文件 CarlaEgoVehicleControl.cpp 第 339 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
void carla_msgs::msg::CarlaEgoVehicleControl::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CarlaEgoVehicleControl.cpp 第 160 行定义.
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::serialize().
void carla_msgs::msg::CarlaEgoVehicleControl::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CarlaEgoVehicleControl.cpp 第 431 行定义.
被这些函数引用 carla_msgs::msg::CarlaEgoVehicleControlPubSubType::getKey().
float & carla_msgs::msg::CarlaEgoVehicleControl::steer | ( | ) |
This function returns a reference to member steer
在文件 CarlaEgoVehicleControl.cpp 第 274 行定义.
float carla_msgs::msg::CarlaEgoVehicleControl::steer | ( | ) | const |
This function returns the value of member steer
在文件 CarlaEgoVehicleControl.cpp 第 265 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::steer | ( | float | _steer | ) |
This function sets a value in member steer
_steer | New value for member steer |
在文件 CarlaEgoVehicleControl.cpp 第 255 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
float & carla_msgs::msg::CarlaEgoVehicleControl::throttle | ( | ) |
This function returns a reference to member throttle
在文件 CarlaEgoVehicleControl.cpp 第 246 行定义.
float carla_msgs::msg::CarlaEgoVehicleControl::throttle | ( | ) | const |
This function returns the value of member throttle
在文件 CarlaEgoVehicleControl.cpp 第 237 行定义.
void carla_msgs::msg::CarlaEgoVehicleControl::throttle | ( | float | _throttle | ) |
This function sets a value in member throttle
_throttle | New value for member throttle |
在文件 CarlaEgoVehicleControl.cpp 第 227 行定义.
被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().
|
private |
在文件 CarlaEgoVehicleControl.h 第 344 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 347 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 345 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 341 行定义.
被这些函数引用 CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 348 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 346 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 343 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().
|
private |
在文件 CarlaEgoVehicleControl.h 第 342 行定义.
被这些函数引用 CarlaEgoVehicleControl(), CarlaEgoVehicleControl(), operator=() , 以及 operator==().