18 #ifndef GZ_TRANSPORT_ADVERTISEOPTIONS_HH_
19 #define GZ_TRANSPORT_ADVERTISEOPTIONS_HH_
25 #include "gz/transport/config.hh"
26 #include "gz/transport/Export.hh"
33 inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
36 class AdvertiseOptionsPrivate;
37 class AdvertiseMessageOptionsPrivate;
38 class AdvertiseServiceOptionsPrivate;
94 _out <<
"Advertise options:\n"
109 public:
const Scope_t &Scope()
const;
115 public:
void SetScope(
const Scope_t &_scope);
120 #pragma warning(push)
121 #pragma warning(disable: 4251)
171 _out << static_cast<AdvertiseOptions>(_other);
187 public:
bool Throttled()
const;
191 public: uint64_t MsgsPerSec()
const;
198 public:
void SetMsgsPerSec(
const uint64_t _newMsgsPerSec);
203 #pragma warning(push)
204 #pragma warning(disable: 4251)
253 _out << static_cast<AdvertiseOptions>(_other);
260 #pragma warning(push)
261 #pragma warning(disable: 4251)