Class EventPublisherBase

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Class Documentation

class EventPublisherBase

Subclassed by vimbax_camera_events::EventPublisher< T >

Public Types

using OnEventSubscribed = std::function<Error(const std::string&)>
using OnEventUnsubscribed = std::function<void(const std::string&)>

Public Functions

EventPublisherBase(std::shared_ptr<rclcpp::Node> node, const std::string &topic_name, OnEventSubscribed on_event_subscribed, OnEventUnsubscribed on_event_unsubscribed)

Protected Functions

rclcpp::PublisherBase::SharedPtr get_event_publisher(const std::string &event)
virtual rclcpp::PublisherBase::SharedPtr create_event_publisher(std::shared_ptr<rclcpp::Node> node, const std::string &topic_name, const rclcpp::QoS &qos) = 0