|
CARLA
|
#include <CarlaClockPublisher.h>
Public Member Functions | |
| CarlaClockPublisher () | |
| CarlaClockPublisher (CarlaClockPublisher &&) noexcept=default | |
| CarlaClockPublisher (const CarlaClockPublisher &)=delete | |
| bool | IsReady () const |
| False when the writer could not be created, i.e. | |
| CarlaClockPublisher & | operator= (CarlaClockPublisher &&) noexcept=default |
| CarlaClockPublisher & | operator= (const CarlaClockPublisher &)=delete |
| bool | Publish () override |
| bool | Write (std::int32_t seconds, std::uint32_t nanoseconds) |
| ~CarlaClockPublisher () override | |
| Public Member Functions inherited from carla::ros2::BasePublisher | |
| BasePublisher ()=default | |
| BasePublisher (BasePublisher &&)=delete | |
| BasePublisher (const BasePublisher &)=delete | |
| BasePublisher (std::string base_topic_name) | |
| BasePublisher (std::string base_topic_name, std::string frame_id) | |
| BasePublisher (void *actor, std::string base_topic_name, std::string frame_id) | |
| void * | GetActor () const noexcept |
| const std::string & | GetBaseTopicName () const noexcept |
| const std::string & | GetFrameId () const noexcept |
| BasePublisher & | operator= (BasePublisher &&)=delete |
| BasePublisher & | operator= (const BasePublisher &)=delete |
| virtual | ~BasePublisher ()=default |
Private Attributes | |
| std::shared_ptr< PublisherImpl< CarlaClockMsgTraits > > | _impl |
| bool | _ready = false |
Additional Inherited Members | |
| Protected Attributes inherited from carla::ros2::BasePublisher | |
| void * | _actor {nullptr} |
| std::string | _base_topic_name |
| std::string | _frame_id |
Definition at line 23 of file CarlaClockPublisher.h.
| carla::ros2::CarlaClockPublisher::CarlaClockPublisher | ( | ) |
Definition at line 20 of file CarlaClockPublisher.cpp.
References _impl, _ready, carla::ros2::BasePublisher::BasePublisher(), and carla::ros2::BasePublisher::GetBaseTopicName().
Referenced by CarlaClockPublisher(), CarlaClockPublisher(), operator=(), and operator=().
|
overridedefault |
|
delete |
References CarlaClockPublisher().
|
defaultnoexcept |
References CarlaClockPublisher().
|
inline |
False when the writer could not be created, i.e.
the middleware failed to start (no participant or session).
Definition at line 38 of file CarlaClockPublisher.h.
References _ready, and IsReady().
Referenced by IsReady().
|
defaultnoexcept |
References CarlaClockPublisher(), Publish(), and Write().
|
delete |
References CarlaClockPublisher().
|
overridevirtual |
Implements carla::ros2::BasePublisher.
Definition at line 31 of file CarlaClockPublisher.cpp.
References _impl.
Referenced by operator=().
| bool carla::ros2::CarlaClockPublisher::Write | ( | std::int32_t | seconds, |
| std::uint32_t | nanoseconds ) |
|
private |
Definition at line 41 of file CarlaClockPublisher.h.
Referenced by CarlaClockPublisher(), Publish(), and Write().
|
private |
Definition at line 42 of file CarlaClockPublisher.h.
Referenced by CarlaClockPublisher(), and IsReady().