18 #ifndef GZ_TRANSPORT_NODESHARED_HH_
19 #define GZ_TRANSPORT_NODESHARED_HH_
23 #pragma warning(disable: 4251)
25 #include <google/protobuf/message.h>
37 #include <unordered_set>
39 #include "gz/transport/config.hh"
40 #include "gz/transport/Export.hh"
55 inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
62 class NodeSharedPrivate;
90 const size_t _dataSize,
323 private:
bool RemoveSubscribedTopic(
const std::string &_topic,
364 private:
bool InitializeSockets();
379 #pragma warning(push)
380 #pragma warning(disable: 4251)
395 public:
static const int kDefaultMsgDiscPort = 10317;
398 public:
static const int kDefaultSrvDiscPort = 10318;
401 public:
int msgDiscPort = kDefaultMsgDiscPort;
404 public:
int srvDiscPort = kDefaultSrvDiscPort;
508 #pragma warning(push)
509 #pragma warning(disable: 4251)
540 private:
friend Node;
541 private:
friend NodePrivate;