Publisher.hh
Go to the documentation of this file.
friend std::ostream & operator<<(std::ostream &_out, const Publisher &_msg)
Stream insertion operator.
Definition: Publisher.hh:148
virtual const AdvertiseMessageOptions & Options() const
Get the advertised options.
A class for customizing the publication options for a topic advertised. E.g.: Set the rate of message...
Definition: AdvertiseOptions.hh:136
This class stores all the information about a publisher. It stores the topic name that publishes,...
Definition: Publisher.hh:37
virtual const AdvertiseServiceOptions & Options() const
Get the advertised options.
std::string MsgTypeName() const
Get the message type advertised by this publisher.
T endl(T... args)
std::string RepTypeName() const
Get the name of the response's protobuf message advertised.
virtual const AdvertiseOptions & Options() const
Get the advertised options.
STL class.
A class for customizing the publication options for a topic or service advertised....
Definition: AdvertiseOptions.hh:54
std::string PUuid() const
Get the process UUID of the publisher. return Process UUID.
std::string Addr() const
Get the ZeroMQ address of the publisher.
std::string Topic() const
Get the topic published by this publisher.
std::string nUuid
Node UUID of the publisher.
Definition: Publisher.hh:188
std::string SocketId() const
Get the ZeroMQ socket ID used by this publisher.
A class for customizing the publication options for a service advertised.
Definition: AdvertiseOptions.hh:224
std::string Ctrl() const
Get the ZeroMQ control address. This address is used by the subscribers to notify the publisher about...
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param [in] _topic Topic name associated to the service *param [in] _cb Callback to handle the service request with the *following void(*) const AdvertiseServiceOptions ReplyT const std::string _topic)
Definition: Node.hh:528
This class stores all the information about a message publisher.
Definition: Publisher.hh:198
std::string pUuid
Process UUID of the publisher.
Definition: Publisher.hh:185
This class stores all the information about a service publisher.
Definition: Publisher.hh:314
friend std::ostream & operator<<(std::ostream &_out, const ServicePublisher &_msg)
Stream insertion operator.
Definition: Publisher.hh:396
Definition: AdvertiseOptions.hh:27
std::string addr
ZeroMQ address of the publisher.
Definition: Publisher.hh:182
STL class.
std::string ReqTypeName() const
Get the name of the request's protobuf message advertised.
friend std::ostream & operator<<(std::ostream &_out, const MessagePublisher &_msg)
Stream insertion operator.
Definition: Publisher.hh:268