#include <CarlaClockPublisher.h>
Public Member Functions | |
CarlaClockPublisher (const char *ros_name="", const char *parent="") | |
CarlaClockPublisher (const CarlaClockPublisher &) | |
CarlaClockPublisher (CarlaClockPublisher &&) | |
bool | Init () |
CarlaClockPublisher & | operator= (const CarlaClockPublisher &) |
CarlaClockPublisher & | operator= (CarlaClockPublisher &&) |
bool | Publish () |
void | SetData (int32_t sec, uint32_t nanosec) |
const char * | type () const override |
~CarlaClockPublisher () | |
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< CarlaClockPublisherImpl > | _impl |
Additional Inherited Members | |
Protected Attributes inherited from carla::ros2::CarlaPublisher | |
std::string | _frame_id = "" |
std::string | _name = "" |
std::string | _parent = "" |
Definition at line 18 of file CarlaClockPublisher.h.
carla::ros2::CarlaClockPublisher::CarlaClockPublisher | ( | const char * | ros_name = "" , |
const char * | parent = "" |
||
) |
Definition at line 150 of file CarlaClockPublisher.cpp.
References carla::ros2::CarlaPublisher::_name, carla::ros2::CarlaPublisher::_parent, and carla::ros2::CarlaPublisher::parent().
carla::ros2::CarlaClockPublisher::~CarlaClockPublisher | ( | ) |
Definition at line 156 of file CarlaClockPublisher.cpp.
References _impl.
carla::ros2::CarlaClockPublisher::CarlaClockPublisher | ( | const CarlaClockPublisher & | other | ) |
Definition at line 173 of file CarlaClockPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
carla::ros2::CarlaClockPublisher::CarlaClockPublisher | ( | CarlaClockPublisher && | other | ) |
Definition at line 189 of file CarlaClockPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
bool carla::ros2::CarlaClockPublisher::Init | ( | ) |
Definition at line 42 of file CarlaClockPublisher.cpp.
CarlaClockPublisher & carla::ros2::CarlaClockPublisher::operator= | ( | const CarlaClockPublisher & | other | ) |
Definition at line 180 of file CarlaClockPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
CarlaClockPublisher & carla::ros2::CarlaClockPublisher::operator= | ( | CarlaClockPublisher && | other | ) |
Definition at line 196 of file CarlaClockPublisher.cpp.
References carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name, and carla::ros2::CarlaPublisher::_parent.
bool carla::ros2::CarlaClockPublisher::Publish | ( | ) |
Definition at line 83 of file CarlaClockPublisher.cpp.
void carla::ros2::CarlaClockPublisher::SetData | ( | int32_t | sec, |
uint32_t | nanosec | ||
) |
Definition at line 145 of file CarlaClockPublisher.cpp.
|
inlineoverridevirtual |
Implements carla::ros2::CarlaPublisher.
Definition at line 30 of file CarlaClockPublisher.h.
|
private |
Definition at line 33 of file CarlaClockPublisher.h.
Referenced by CarlaClockPublisher(), operator=(), and ~CarlaClockPublisher().