70 virtual swarmio::data::discovery::Schema
DescribeEvent(
const std::string& name)
override;
Base class for all bridging services.
The Event service is responsible for triggering, handling and monitoring events.
virtual swarmio::data::discovery::Schema DescribeEvent(const std::string &name) override
Describe the event based on the configuration of this instance.
std::string _name
Event name.
virtual void EventWasTriggered(const swarmio::Node *node, const swarmio::data::event::Notification &event) override
Publish the event in the ROS topic.
Serializer for full-fledged message types.
const introspection::MessageSerializer * _serializer
Event name.
EventPublisher(ros::NodeHandle &nodeHandle, const std::string &suffix, const std::string &message, swarmio::services::event::Service &eventService, const std::string &name)
Construct a new EventPublisher object.
virtual ~EventPublisher() override
Destructor.
ros::Publisher _publisher
Publisher.
A Handler implementation that publishes events from the swarm to a ROS topic.
Abstract base class for Event handlers.
Represents a Node the Endpoint knows about and can send messages to.
swarmio::services::event::Service & _eventService
Event service.