Go to the documentation of this file.
29 #ifndef ROSCPP_SINGLE_SUBSCRIBER_PUBLISHER_H
30 #define ROSCPP_SINGLE_SUBSCRIBER_PUBLISHER_H
32 #include "ros/forwards.h"
33 #include "ros/serialization.h"
60 void publish(
const std::shared_ptr<M const>& message)
const
74 void publish(
const std::shared_ptr<M>& message)
const
85 using namespace serialization;
93 std::string getTopic()
const;
98 std::string getSubscriberName()
const;
108 #endif // ROSCPP_PUBLISHER_HANDLE_H
def message(msg, *args, **kwargs)
Allows publication of a message to a single subscriber. Only available inside subscriber connection c...
std::shared_ptr< SubscriberLink > SubscriberLinkPtr
SerializedMessage serializeMessage(const M &message)
void publish(const M &message) const
Publish a message on the topic associated with this Publisher.
void publish(const std::shared_ptr< M const > &message) const
Publish a message on the topic associated with this Publisher.
void publish(const std::shared_ptr< M > &message) const
Publish a message on the topic associated with this Publisher.
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:12