#include <CarlaMapSensorPublisher.h>
Public Member Functions | |
CarlaMapSensorPublisher (const char *ros_name="", const char *parent="") | |
CarlaMapSensorPublisher (const CarlaMapSensorPublisher &) | |
CarlaMapSensorPublisher (CarlaMapSensorPublisher &&) | |
bool | Init () |
CarlaMapSensorPublisher & | operator= (const CarlaMapSensorPublisher &) |
CarlaMapSensorPublisher & | operator= (CarlaMapSensorPublisher &&) |
bool | Publish () |
void | SetData (const char *data) |
const char * | type () const override |
~CarlaMapSensorPublisher () | |
Public Member Functions inherited from 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 Attributes | |
std::shared_ptr< CarlaMapSensorPublisherImpl > | _impl |
Additional Inherited Members | |
Protected Attributes inherited from carla::ros2::CarlaPublisher | |
std::string | _frame_id = "" |
std::string | _name = "" |
std::string | _parent = "" |
Definition at line 17 of file CarlaMapSensorPublisher.h.
carla::ros2::CarlaMapSensorPublisher::CarlaMapSensorPublisher | ( | const char * | ros_name = "" , |
const char * | parent = "" |
||
) |
Definition at line 155 of file CarlaMapSensorPublisher.cpp.
References carla::ros2::CarlaPublisher::_name, carla::ros2::CarlaPublisher::_parent, and carla::ros2::CarlaPublisher::parent().
carla::ros2::CarlaMapSensorPublisher::~CarlaMapSensorPublisher | ( | ) |
Definition at line 161 of file CarlaMapSensorPublisher.cpp.
References _impl.
carla::ros2::CarlaMapSensorPublisher::CarlaMapSensorPublisher | ( | const CarlaMapSensorPublisher & | other | ) |
Definition at line 178 of file CarlaMapSensorPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
carla::ros2::CarlaMapSensorPublisher::CarlaMapSensorPublisher | ( | CarlaMapSensorPublisher && | other | ) |
Definition at line 194 of file CarlaMapSensorPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
bool carla::ros2::CarlaMapSensorPublisher::Init | ( | ) |
Definition at line 42 of file CarlaMapSensorPublisher.cpp.
CarlaMapSensorPublisher & carla::ros2::CarlaMapSensorPublisher::operator= | ( | const CarlaMapSensorPublisher & | other | ) |
Definition at line 185 of file CarlaMapSensorPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
CarlaMapSensorPublisher & carla::ros2::CarlaMapSensorPublisher::operator= | ( | CarlaMapSensorPublisher && | other | ) |
Definition at line 201 of file CarlaMapSensorPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
bool carla::ros2::CarlaMapSensorPublisher::Publish | ( | ) |
Definition at line 89 of file CarlaMapSensorPublisher.cpp.
void carla::ros2::CarlaMapSensorPublisher::SetData | ( | const char * | data | ) |
Definition at line 151 of file CarlaMapSensorPublisher.cpp.
|
inlineoverridevirtual |
Implements carla::ros2::CarlaPublisher.
Definition at line 29 of file CarlaMapSensorPublisher.h.
|
private |
Definition at line 32 of file CarlaMapSensorPublisher.h.
Referenced by CarlaMapSensorPublisher(), operator=(), and ~CarlaMapSensorPublisher().