Class astutedds::dcps::DomainParticipantFactory
ClassList > astutedds > dcps > DomainParticipantFactory
Singleton factory for creating DomainParticipants.
#include <dcps.hpp>
Public Functions
| Type | Name |
|---|---|
| DomainParticipant * | create_participant (uint32_t domain_id, const DomainParticipantQos & qos=DomainParticipantQos{}) Create a participant in a domain. |
| DomainParticipant * | create_participant (DomainId_t domain_id, const DomainParticipantQos & qos, DomainParticipantListener * listener, StatusMask mask=STATUS_MASK_ALL) Create a participant with listener and status mask (PSM overload) |
| bool | delete_participant (DomainParticipant * participant) Delete a participant. |
| ReturnCode_t | get_default_participant_qos (DomainParticipantQos & qos) const Get the default participant QoS (out-param, PSM style) |
Public Static Functions
| Type | Name |
|---|---|
| DomainParticipantFactory * | get_instance () Get the singleton instance (pointer, PSM alias) |
| DomainParticipantFactory & | instance () Get the singleton instance (reference) |
Public Functions Documentation
function create_participant [1/2]
Create a participant in a domain.
DomainParticipant * astutedds::dcps::DomainParticipantFactory::create_participant (
uint32_t domain_id,
const DomainParticipantQos & qos=DomainParticipantQos {}
)
function create_participant [2/2]
Create a participant with listener and status mask (PSM overload)
inline DomainParticipant * astutedds::dcps::DomainParticipantFactory::create_participant (
DomainId_t domain_id,
const DomainParticipantQos & qos,
DomainParticipantListener * listener,
StatusMask mask=STATUS_MASK_ALL
)
function delete_participant
Delete a participant.
bool astutedds::dcps::DomainParticipantFactory::delete_participant (
DomainParticipant * participant
)
function get_default_participant_qos
Get the default participant QoS (out-param, PSM style)
inline ReturnCode_t astutedds::dcps::DomainParticipantFactory::get_default_participant_qos (
DomainParticipantQos & qos
) const
Public Static Functions Documentation
function get_instance
Get the singleton instance (pointer, PSM alias)
static inline DomainParticipantFactory * astutedds::dcps::DomainParticipantFactory::get_instance ()
function instance
Get the singleton instance (reference)
static DomainParticipantFactory & astutedds::dcps::DomainParticipantFactory::instance ()
The documentation for this class was generated from the following file include/astutedds/dcps/dcps.hpp