Stores a DDSParticipantTopic per domain ID and QOS profile string. When several connectors are joining the same domain ID, using the same QOS settings (ie have the same QOS profile string), the DomainParticipant for that combination is shared. This is done to save resources (running threads/memory usage).
More...
#include <DomainParticipantManager.h>
List of all members.
Detailed Description
Stores a DDSParticipantTopic per domain ID and QOS profile string. When several connectors are joining the same domain ID, using the same QOS settings (ie have the same QOS profile string), the DomainParticipant for that combination is shared. This is done to save resources (running threads/memory usage).
The DomainParticipantManager is a singleton.
Member Typedef Documentation
Constructor & Destructor Documentation
CIAO::DDS4CCM::DomainParticipantManager::DomainParticipantManager |
( |
void |
| ) |
|
|
private |
CIAO::DDS4CCM::DomainParticipantManager::~DomainParticipantManager |
( |
void |
| ) |
|
Member Function Documentation
bool CIAO::DDS4CCM::DomainParticipantManager::close |
( |
| ) |
|
Try to close the DPM, at the moment no domain participants are registered anymore we are going to shutdown DDS interaction
DDS::DomainParticipant_ptr CIAO::DDS4CCM::DomainParticipantManager::get_participant |
( |
const DDS::DomainId_t |
domain_id, |
|
|
const char * |
qos_profile |
|
) |
| |
Searches for the DomainParticipant_ptr in the internal map. Search is based on the given domain ID and the given QOS (QOS profile string). If found, it'll increment the reference count of the DDSParticipantTopic instance.
bool CIAO::DDS4CCM::DomainParticipantManager::register_participant |
( |
DDS::DomainId_t |
domain_id, |
|
|
const char * |
qos_profile, |
|
|
DDS::DomainParticipant_ptr |
dp |
|
) |
| |
bool CIAO::DDS4CCM::DomainParticipantManager::unregister_participant |
( |
DDS::DomainId_t |
domain_id, |
|
|
const char * |
qos_profile, |
|
|
DDS::DomainParticipant_ptr |
dp |
|
) |
| |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: