#include "published_event.hpp"
|
| | PublishedEvent (rclcpp::Publisher< capabilities2_msgs::msg::CapabilityEventStamped >::SharedPtr event_pub) |
| |
| | ~PublishedEvent ()=default |
| |
| void | emit (const std::string &connection_id, const uint8_t &event_code, const capabilities2_msgs::msg::Capability &source, const capabilities2_msgs::msg::Capability &target, EventBase::event_callback_t callback) override |
| | see EventBase::emit, specialised to publish events
|
| |
| void | on_server_ready (const std::string &msg) |
| | on server ready event
|
| |
| void | on_process_launched (const std::string &pid) |
| | on process launched event
|
| |
| void | on_process_terminated (const std::string &pid) |
| | on process terminated event
|
| |
| void | on_triggered (const std::string &trigger_id) |
| | on triggered event from server
|
| |
| void | on_connected (const std::string &source, const std::string &target) |
| | on connected event from server
|
| |
| void | on_disconnected (const std::string &source, const std::string &target) |
| | on disconnected event from server
|
| |
| | EventBase () |
| |
| | ~EventBase ()=default |
| |
|
| rclcpp::Publisher< capabilities2_msgs::msg::CapabilityEventStamped >::SharedPtr | event_pub_ |
| |
◆ PublishedEvent()
| capabilities2_events::PublishedEvent::PublishedEvent |
( |
rclcpp::Publisher< capabilities2_msgs::msg::CapabilityEventStamped >::SharedPtr |
event_pub | ) |
|
|
inline |
◆ ~PublishedEvent()
| capabilities2_events::PublishedEvent::~PublishedEvent |
( |
| ) |
|
|
default |
◆ emit()
| void capabilities2_events::PublishedEvent::emit |
( |
const std::string & |
connection_id, |
|
|
const uint8_t & |
event_code, |
|
|
const capabilities2_msgs::msg::Capability & |
source, |
|
|
const capabilities2_msgs::msg::Capability & |
target, |
|
|
EventBase::event_callback_t |
callback |
|
) |
| |
|
inlineoverridevirtual |
◆ on_connected()
| void capabilities2_events::PublishedEvent::on_connected |
( |
const std::string & |
source, |
|
|
const std::string & |
target |
|
) |
| |
|
inlinevirtual |
◆ on_disconnected()
| void capabilities2_events::PublishedEvent::on_disconnected |
( |
const std::string & |
source, |
|
|
const std::string & |
target |
|
) |
| |
|
inlinevirtual |
◆ on_process_launched()
| void capabilities2_events::PublishedEvent::on_process_launched |
( |
const std::string & |
pid | ) |
|
|
inlinevirtual |
◆ on_process_terminated()
| void capabilities2_events::PublishedEvent::on_process_terminated |
( |
const std::string & |
pid | ) |
|
|
inlinevirtual |
◆ on_server_ready()
| void capabilities2_events::PublishedEvent::on_server_ready |
( |
const std::string & |
msg | ) |
|
|
inlinevirtual |
◆ on_triggered()
| void capabilities2_events::PublishedEvent::on_triggered |
( |
const std::string & |
trigger_id | ) |
|
|
inlinevirtual |
◆ event_pub_
| rclcpp::Publisher<capabilities2_msgs::msg::CapabilityEventStamped>::SharedPtr capabilities2_events::PublishedEvent::event_pub_ |
|
private |
The documentation for this class was generated from the following file: