rmw_dds_common  master
Define a common interface between DDS implementations of ROS middleware.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Attributes | List of all members
rmw_dds_common::Context Struct Reference

#include <context.hpp>

Collaboration diagram for rmw_dds_common::Context:
Collaboration graph
[legend]

Public Attributes

rmw_gid_t gid
 Global ID of the Participant that the Context uses.
 
rmw_publisher_tpub
 Publisher used to publish ParticipantEntitiesInfo discovery data.
 
rmw_subscription_tsub
 Subscriber used to listen to ParticipantEntitiesInfo discovery data.
 
GraphCache graph_cache
 Cached graph from discovery data.
 
std::mutex node_update_mutex
 Mutex that should be locked when updating graph cache and publishing a graph message.
 
std::thread listener_thread
 Thread to listen to discovery data.
 
std::atomic_bool thread_is_running
 Indicates if the listener thread is running.
 
rmw_guard_condition_tlistener_thread_gc
 Awakes listener thread when finishing the context.
 
rmw_guard_condition_tgraph_guard_condition
 Guard condition that should be triggered when the graph changes.
 

Detailed Description

Base data structure that a Context will need in any DDS-based RMW implementation mapping one Participant to Multiple Nodes.


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