Template Class EventPublisher

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class EventPublisher : public vimbax_camera_events::EventPublisherBase

Public Types

using SharedPtr = std::shared_ptr<EventPublisher<T>>

Public Functions

inline EventPublisher(rclcpp::Node::SharedPtr node, const std::string &topic_name, OnEventSubscribed on_event_subscribed, OnEventUnsubscribed on_event_unsubscribed)
inline void publish_event(const std::string &event_name, const T &event)

Protected Functions

inline virtual rclcpp::PublisherBase::SharedPtr create_event_publisher(std::shared_ptr<rclcpp::Node> node, const std::string &topic_name, const rclcpp::QoS &qos) override