Gazebo Sim

API Reference

8.7.0
gz::sim::comms Namespace Reference

Classes

struct  AddressContent
 All the information associated to an address. More...
 
class  Broker
 A class to store messages to be delivered using a comms model. This class should be used in combination with a specific comms model that implements the ICommsModel interface. More...
 
class  ICommsModel
 Abstract interface to define how the environment should handle communication simulation. As an example, this class could be responsible for handling dropouts, decay and packet collisions. More...
 
class  MsgManager
 Class to handle messages and subscriptions. More...
 

Typedefs

using DataQueue = std::deque< msgs::DataframeSharedPtr >
 A queue of message pointers. More...
 
using Registry = std::unordered_map< std::string, AddressContent >
 A map where the key is an address and the value is all the information associated to each address (subscribers, queues, ...). More...
 
using SubscriptionHandler = std::unordered_map< std::string, transport::Node::Publisher >
 A map where the key is the topic subscribed to an address and the value is a publisher to reach that topic. More...
 

Typedef Documentation

◆ DataQueue

using DataQueue = std::deque<msgs::DataframeSharedPtr>

A queue of message pointers.

◆ Registry

A map where the key is an address and the value is all the information associated to each address (subscribers, queues, ...).

◆ SubscriptionHandler

A map where the key is the topic subscribed to an address and the value is a publisher to reach that topic.