AdvertiseOptions.hh
Go to the documentation of this file.
A class for customizing the publication options for a topic advertised. E.g.: Set the rate of message...
Definition: AdvertiseOptions.hh:152
friend std::ostream & operator<<(std::ostream &_out, const AdvertiseMessageOptions &_other)
Stream insertion operator.
Definition: AdvertiseOptions.hh:184
AdvertiseMessageOptions(const AdvertiseMessageOptions &_other)
Copy constructor.
virtual ~AdvertiseMessageOptions()
Destructor.
void SetMsgsPerSec(const uint64_t _newMsgsPerSec)
Set the maximum number of messages per second to be published. Note that we calculate the minimum per...
bool operator==(const AdvertiseMessageOptions &_other) const
Equality operator. This function checks if the given AdvertiseMessageOptions has identical content to...
bool Throttled() const
Whether the publication has been throttled.
AdvertiseMessageOptions()
Constructor.
AdvertiseMessageOptions & operator=(const AdvertiseMessageOptions &_other)
Assignment operator.
uint64_t MsgsPerSec() const
Get the maximum number of messages per second to be published.
bool operator!=(const AdvertiseMessageOptions &_other) const
Inequality operator. This function checks if the given options do not have identical values to this o...
A class for customizing the publication options for a topic or service advertised....
Definition: AdvertiseOptions.hh:60
AdvertiseOptions(const AdvertiseOptions &_other)
Copy constructor.
AdvertiseOptions & operator=(const AdvertiseOptions &_other)
Assignment operator.
void SetScope(const Scope_t &_scope)
Set the scope of the topic or service.
friend std::ostream & operator<<(std::ostream &_out, const AdvertiseOptions &_other)
Stream insertion operator.
Definition: AdvertiseOptions.hh:91
const Scope_t & Scope() const
Get the scope used in this topic/service.
bool operator==(const AdvertiseOptions &_other) const
Equality operator. This function checks if the given AdvertiseOptions has identical content to this o...
bool operator!=(const AdvertiseOptions &_other) const
Inequality operator. This function checks if the given options do not have identical values to this o...
A class for customizing the publication options for a service advertised.
Definition: AdvertiseOptions.hh:249
AdvertiseServiceOptions(const AdvertiseServiceOptions &_other)
Copy constructor.
AdvertiseServiceOptions()
Constructor.
friend std::ostream & operator<<(std::ostream &_out, const AdvertiseServiceOptions &_other)
Stream insertion operator.
Definition: AdvertiseOptions.hh:281
bool operator==(const AdvertiseServiceOptions &_other) const
Equality operator. This function checks if the given AdvertiseMessageOptions has identical content to...
AdvertiseServiceOptions & operator=(const AdvertiseServiceOptions &_other)
Assignment operator.
bool operator!=(const AdvertiseServiceOptions &_other) const
Inequality operator. This function checks if the given options do not have identical values to this o...
virtual ~AdvertiseServiceOptions()
Destructor.
T endl(T... args)
@ HOST
Topic/service only available to subscribers in the same machine as the publisher.
@ PROCESS
Topic/service only available to subscribers in the same process as the publisher.
Definition: AdvertiseOptions.hh:29