Gazebo Transport

API Reference

11.4.1
NodeShared::SubscriberInfo Struct Reference

This struct provides information about the Subscribers of a Publisher. It should only be retrieved using CheckSubscriberInfo(const std::string&, const std::string&) const. The relevant subscriber info is a superset of the relevant HandlerInfo so we extend that struct. More...

#include <NodeShared.hh>

Public Attributes

bool haveRemote
 True if this Publisher has any remote subscribers. More...
 
- Public Attributes inherited from NodeShared::HandlerInfo
bool haveLocal
 True iff there are any standard local subscribers. More...
 
bool haveRaw
 True iff there are any raw local subscribers. More...
 
std::map< std::string, ISubscriptionHandler_MlocalHandlers
 This is a map of the standard local callback handlers. The key is the topic name, and the value is another map whose key is the node UUID and whose value is a smart pointer to the handler. More...
 
std::map< std::string, RawSubscriptionHandler_MrawHandlers
 This is a map of the raw local callback handlers. The key is the topic name, and the value is another map whose key is the node UUID and whose value is a smart pointer to the handler. More...
 

Detailed Description

This struct provides information about the Subscribers of a Publisher. It should only be retrieved using CheckSubscriberInfo(const std::string&, const std::string&) const. The relevant subscriber info is a superset of the relevant HandlerInfo so we extend that struct.

This struct is used internally by publishers to determine what kind of subscribers they have.

Member Data Documentation

◆ haveRemote

bool haveRemote

True if this Publisher has any remote subscribers.


The documentation for this struct was generated from the following file: