18 #ifndef GZ_TRANSPORT_PUBLISHER_HH_
19 #define GZ_TRANSPORT_PUBLISHER_HH_
21 #include <gz/msgs/discovery.pb.h>
27 #include "gz/transport/config.hh"
28 #include "gz/transport/Export.hh"
35 inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
38 class MessagePublisherPrivate;
116 public:
virtual void FillDiscovery(msgs::Discovery &_msg)
const;
120 public:
virtual void SetFromDiscovery(
const msgs::Discovery &_msg);
127 public:
bool operator==(
const Publisher &_pub)
const;
134 public:
bool operator!=(
const Publisher &_pub)
const;
155 #pragma warning(push)
156 #pragma warning(disable: 4251)
223 public:
void SetMsgTypeName(
const std::string &_msgTypeName);
237 public:
virtual void FillDiscovery(msgs::Discovery &_msg)
const final;
241 public:
virtual void SetFromDiscovery(
const msgs::Discovery &_msg);
277 #pragma warning(push)
278 #pragma warning(disable: 4251)
330 public:
void SetSocketId(
const std::string &_socketId);
345 public:
void SetReqTypeName(
const std::string &_reqTypeName);
350 public:
void SetRepTypeName(
const std::string &_repTypeName);
364 public:
virtual void FillDiscovery(msgs::Discovery &_msg)
const final;
369 public:
virtual void SetFromDiscovery(
const msgs::Discovery &_msg);
407 #pragma warning(push)
408 #pragma warning(disable: 4251)