rmw_dds_common  master
Define a common interface between DDS implementations of ROS middleware.
Functions
Local_api

Methods used to update the Graph Cache, based on local construction and destruction of objects. More...

Functions

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::add_node (const rmw_gid_t &participant_gid, const std::string &node_name, const std::string &node_namespace)
 Add a node to the graph, and get the message to be sent. More...
 
rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::remove_node (const rmw_gid_t &participant_gid, const std::string &node_name, const std::string &node_namespace)
 Remove a node to the graph, and get the message to be sent. More...
 
rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::associate_writer (const rmw_gid_t &writer_gid, const rmw_gid_t &participant_gid, const std::string &node_name, const std::string &node_namespace)
 Remove a node to the graph, and get the message to be sent. More...
 
rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::dissociate_writer (const rmw_gid_t &writer_gid, const rmw_gid_t &participant_gid, const std::string &node_name, const std::string &node_namespace)
 Dissociate a writer from a node, and get an update message to be sent. More...
 
rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::associate_reader (const rmw_gid_t &reader_gid, const rmw_gid_t &participant_gid, const std::string &node_name, const std::string &node_namespace)
 Associate a reader with a node, and get an update message to be sent. More...
 
rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::dissociate_reader (const rmw_gid_t &reader_gid, const rmw_gid_t &participant_gid, const std::string &node_name, const std::string &node_namespace)
 Dissociate a reader from a node, and get an update message to be sent. More...
 

Detailed Description

Methods used to update the Graph Cache, based on local construction and destruction of objects.

Function Documentation

◆ add_node()

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::add_node ( const rmw_gid_t participant_gid,
const std::string node_name,
const std::string node_namespace 
)

Add a node to the graph, and get the message to be sent.

Parameters
gidparticipant GUID.
node_namename of the node to be added.
node_namespacenode namespace.
Returns
message to be sent.

◆ remove_node()

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::remove_node ( const rmw_gid_t participant_gid,
const std::string node_name,
const std::string node_namespace 
)

Remove a node to the graph, and get the message to be sent.

Parameters
gidparticipant GUID.
node_namename of the node to be added.
node_namespacenode namespace.
Returns
message to be sent.

◆ associate_writer()

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::associate_writer ( const rmw_gid_t writer_gid,
const rmw_gid_t participant_gid,
const std::string node_name,
const std::string node_namespace 
)

Remove a node to the graph, and get the message to be sent.

Parameters
writer_gidGUID of the data writer.
participant_gidGUID of the Participant.
node_nameName of the node to be added.
node_namespaceNode namespace.
Returns
Message to be sent.

◆ dissociate_writer()

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::dissociate_writer ( const rmw_gid_t writer_gid,
const rmw_gid_t participant_gid,
const std::string node_name,
const std::string node_namespace 
)

Dissociate a writer from a node, and get an update message to be sent.

Parameters
writer_gidGUID of the data writer.
participant_gidGUID of the Participant.
node_nameName of the node to be added.
node_namespaceNode namespace.
Returns
Message to be sent.

◆ associate_reader()

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::associate_reader ( const rmw_gid_t reader_gid,
const rmw_gid_t participant_gid,
const std::string node_name,
const std::string node_namespace 
)

Associate a reader with a node, and get an update message to be sent.

Parameters
reader_gidGUID of the data reader.
participant_gidGUID of the Participant.
node_nameName of the node to be added.
node_namespaceNode namespace.
Returns
Message to be sent.

◆ dissociate_reader()

rmw_dds_common::msg::ParticipantEntitiesInfo rmw_dds_common::GraphCache::dissociate_reader ( const rmw_gid_t reader_gid,
const rmw_gid_t participant_gid,
const std::string node_name,
const std::string node_namespace 
)

Dissociate a reader from a node, and get an update message to be sent.

Parameters
reader_gidGUID of the data reader.
participant_gidGUID of the Participant.
node_nameName of the node to be added.
node_namespaceNode namespace.
Returns
Message to be sent.