|
CARLA
|
#include <PublisherImpl.h>
Public Types | |
| using | msg_type = typename Traits::msg_type |
Public Member Functions | |
| msg_type * | GetMessage () |
| std::string | GetTopicName () |
| bool | Init (std::string topic_name) |
| bool | Init (std::string topic_name, const QosProfile &qos) |
| Init with an explicit per-topic QoS profile (see QosProfile.h). | |
| bool | IsAlive () |
| bool | Publish () |
Private Member Functions | |
| bool | EnsureMiddleware () |
Private Attributes | |
| msg_type | _message {} |
| std::unique_ptr< IPublisherMiddleware > | _middleware |
Definition at line 28 of file PublisherImpl.h.
| using carla::ros2::PublisherImpl< Traits >::msg_type = typename Traits::msg_type |
Definition at line 30 of file PublisherImpl.h.
|
inlineprivate |
Definition at line 78 of file PublisherImpl.h.
References _middleware, and carla::ros2::MiddlewareFactory::CreatePublisher().
|
inline |
|
inline |
|
inline |
Definition at line 32 of file PublisherImpl.h.
References _middleware, and EnsureMiddleware().
|
inline |
Init with an explicit per-topic QoS profile (see QosProfile.h).
Definition at line 40 of file PublisherImpl.h.
References _middleware, and EnsureMiddleware().
|
inline |
|
inline |
Definition at line 63 of file PublisherImpl.h.
References _message, and _middleware.
|
private |
Definition at line 95 of file PublisherImpl.h.
Referenced by GetMessage(), and Publish().
|
private |
Definition at line 94 of file PublisherImpl.h.
Referenced by EnsureMiddleware(), GetTopicName(), Init(), Init(), IsAlive(), and Publish().