#include <CarlaCollisionPublisher.h>
Public 成员函数 | |
CarlaCollisionPublisher (CarlaCollisionPublisher &&) | |
CarlaCollisionPublisher (const CarlaCollisionPublisher &) | |
CarlaCollisionPublisher (const char *ros_name="", const char *parent="") | |
bool | Init () |
CarlaCollisionPublisher & | operator= (CarlaCollisionPublisher &&) |
CarlaCollisionPublisher & | operator= (const CarlaCollisionPublisher &) |
bool | Publish () |
void | SetData (int32_t seconds, uint32_t nanoseconds, uint32_t actor_id, float x, float y, float z) |
const char * | type () const override |
~CarlaCollisionPublisher () | |
Public 成员函数 继承自 carla::ros2::CarlaPublisher | |
CarlaPublisher ()=default | |
const std::string & | frame_id () const |
void | frame_id (std::string &&frame_id) |
const std::string & | name () const |
void | name (std::string &&name) |
const std::string & | parent () const |
void | parent (std::string &&parent) |
virtual | ~CarlaPublisher ()=default |
Private 成员函数 | |
void | SetData (int32_t seconds, uint32_t nanoseconds, uint32_t actor_id, std::vector< float > &&data) |
Private 属性 | |
std::shared_ptr< CarlaCollisionPublisherImpl > | _impl |
额外继承的成员函数 | |
Protected 属性 继承自 carla::ros2::CarlaPublisher | |
std::string | _frame_id = "" |
std::string | _name = "" |
std::string | _parent = "" |
在文件 CarlaCollisionPublisher.h 第 18 行定义.
carla::ros2::CarlaCollisionPublisher::CarlaCollisionPublisher | ( | const char * | ros_name = "", |
const char * | parent = "" ) |
carla::ros2::CarlaCollisionPublisher::~CarlaCollisionPublisher | ( | ) |
在文件 CarlaCollisionPublisher.cpp 第 182 行定义.
引用了 _impl.
carla::ros2::CarlaCollisionPublisher::CarlaCollisionPublisher | ( | const CarlaCollisionPublisher & | other | ) |
carla::ros2::CarlaCollisionPublisher::CarlaCollisionPublisher | ( | CarlaCollisionPublisher && | other | ) |
bool carla::ros2::CarlaCollisionPublisher::Init | ( | ) |
CarlaCollisionPublisher & carla::ros2::CarlaCollisionPublisher::operator= | ( | CarlaCollisionPublisher && | other | ) |
CarlaCollisionPublisher & carla::ros2::CarlaCollisionPublisher::operator= | ( | const CarlaCollisionPublisher & | other | ) |
bool carla::ros2::CarlaCollisionPublisher::Publish | ( | ) |
在文件 CarlaCollisionPublisher.cpp 第 91 行定义.
引用了 _impl.
void carla::ros2::CarlaCollisionPublisher::SetData | ( | int32_t | seconds, |
uint32_t | nanoseconds, | ||
uint32_t | actor_id, | ||
float | x, | ||
float | y, | ||
float | z ) |
|
private |
在文件 CarlaCollisionPublisher.cpp 第 158 行定义.
引用了 carla::ros2::CarlaPublisher::_frame_id, _impl, std_msgs::msg::Header::frame_id(), builtin_interfaces::msg::Time::nanosec(), builtin_interfaces::msg::Time::sec(), std_msgs::msg::Header::stamp(), geometry_msgs::msg::Vector3::x(), geometry_msgs::msg::Vector3::y() , 以及 geometry_msgs::msg::Vector3::z().
|
inlineoverridevirtual |
实现了 carla::ros2::CarlaPublisher.
在文件 CarlaCollisionPublisher.h 第 30 行定义.
|
private |
在文件 CarlaCollisionPublisher.h 第 36 行定义.
被这些函数引用 CarlaCollisionPublisher(), CarlaCollisionPublisher(), Init(), operator=(), operator=(), Publish(), SetData() , 以及 ~CarlaCollisionPublisher().