Gazebo Sim

API Reference

7.7.0
gz/sim/comms/MsgManager.hh File Reference
#include <deque>
#include <memory>
#include <string>
#include <unordered_map>
#include <gz/msgs/dataframe.pb.h>
#include <gz/msgs/stringmsg_v.pb.h>
#include <gz/transport/Node.hh>
#include <gz/utils/ImplPtr.hh>
#include "gz/sim/config.hh"
#include "gz/sim/Entity.hh"
#include "gz/sim/System.hh"

Go to the source code of this file.

Classes

struct  AddressContent
 All the information associated to an address. More...
 
class  MsgManager
 Class to handle messages and subscriptions. More...
 

Namespaces

 gz
 This library is part of the Gazebo project.
 
 gz::msgs
 
 gz::sim
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 
 gz::sim::comms
 

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...