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

Methods used to update the Graph Cache. More...

Functions

void rmw_dds_common::GraphCache::add_participant (const rmw_gid_t &participant_gid, const std::string &enclave)
 Add a discovered participant to the cache. More...
 
bool rmw_dds_common::GraphCache::remove_participant (const rmw_gid_t &participant_gid)
 Remove a participant based on discovery. More...
 

Detailed Description

Methods used to update the Graph Cache.

Function Documentation

◆ add_participant()

void rmw_dds_common::GraphCache::add_participant ( const rmw_gid_t participant_gid,
const std::string enclave 
)

Add a discovered participant to the cache.

Parameters
gidThe participant guid.
enclaveName of the enclave.

◆ remove_participant()

bool rmw_dds_common::GraphCache::remove_participant ( const rmw_gid_t participant_gid)

Remove a participant based on discovery.

Parameters
participant_gid
Returns
true when a change took place.