|
| | MessagePublisher ()=default |
| | Default constructor. More...
|
| |
| | MessagePublisher (const std::string &_topic, const std::string &_addr, const std::string &_ctrl, const std::string &_pUuid, const std::string &_nUuid, const std::string &_msgTypeName, const AdvertiseMessageOptions &_opts) |
| | Constructor. More...
|
| |
| virtual | ~MessagePublisher ()=default |
| | Destructor. More...
|
| |
| std::string | Ctrl () const |
| | Get the ZeroMQ control address. This address is used by the subscribers to notify the publisher about the new subscription. More...
|
| |
| virtual void | FillDiscovery (msgs::Discovery &_msg) const final |
| | Populate a discovery message. More...
|
| |
| std::string | MsgTypeName () const |
| | Get the message type advertised by this publisher. More...
|
| |
| bool | operator!= (const MessagePublisher &_pub) const |
| | Inequality operator. This function checks if the given message publisher does not have identical Topic, Addr, PUuid, NUuid, Scope, Ctrl, and MsgTypeName strings to this object. More...
|
| |
| bool | operator== (const MessagePublisher &_pub) const |
| | Equality operator. This function checks if the given message publisher has identical Topic, Addr, PUuid, NUuid, Scope, Ctrl, and MsgTypeName strings to this object. More...
|
| |
| virtual const AdvertiseMessageOptions & | Options () const |
| | Get the advertised options. More...
|
| |
| void | SetCtrl (const std::string &_ctrl) |
| | Set the ZeroMQ control address of the publisher. More...
|
| |
| virtual void | SetFromDiscovery (const msgs::Discovery &_msg) |
| | Set data from a discovery message. More...
|
| |
| void | SetMsgTypeName (const std::string &_msgTypeName) |
| | Set the message type advertised by this publisher. More...
|
| |
| void | SetOptions (const AdvertiseMessageOptions &_opts) |
| | Set the advertised options. More...
|
| |
| | Publisher ()=default |
| | Default constructor. More...
|
| |
| | Publisher (const std::string &_topic, const std::string &_addr, const std::string &_pUuid, const std::string &_nUuid, const AdvertiseOptions &_opts) |
| | Constructor. More...
|
| |
| virtual | ~Publisher ()=default |
| | Destructor. More...
|
| |
| std::string | Addr () const |
| | Get the ZeroMQ address of the publisher. More...
|
| |
| std::string | NUuid () const |
| | Get the node UUID of the publisher. More...
|
| |
| bool | operator!= (const Publisher &_pub) const |
| | Inequality operator. This function checks if the given publisher does not have identical Topic, Addr, PUuid, NUuid, and Scope strings to this object. More...
|
| |
| bool | operator== (const Publisher &_pub) const |
| | Equality operator. This function checks if the given publisher has identical Topic, Addr, PUuid, NUuid, and Scope strings to this object. More...
|
| |
| std::string | PUuid () const |
| | Get the process UUID of the publisher. return Process UUID. More...
|
| |
| void | SetAddr (const std::string &_addr) |
| | Set ZeroMQ address of the publisher. More...
|
| |
| void | SetNUuid (const std::string &_nUuid) |
| | Set the node UUID of the publisher. More...
|
| |
| void | SetOptions (const AdvertiseOptions &_opts) |
| | Set the advertised options. More...
|
| |
| void | SetPUuid (const std::string &_pUuid) |
| | Set the process UUID of the publisher. More...
|
| |
| void | SetTopic (const std::string &_topic) |
| | Set the topic name published by this publisher. More...
|
| |
| std::string | Topic () const |
| | Get the topic published by this publisher. More...
|
| |
This class stores all the information about a message publisher.
gz/transport/Publisher.hh