RTI Connext C++ API  Version 5.0.0
DomainParticipantFactory

DDSDomainParticipantFactory entity and associated elements More...

Classes

struct  DDS_DomainParticipantFactoryQos
 QoS policies supported by a DDSDomainParticipantFactory. More...
 
class  DDSDomainParticipantFactory
 <<singleton>> <<interface>> Allows creation and destruction of DDSDomainParticipant objects. More...
 

Typedefs

typedef DDS_ReturnCode_t(* DDSDomainParticipantFactory_RegisterTypeFunction )(DDSDomainParticipant *participant, const char *type_name)
 Prototype of a register type function.
 

Variables

struct DDS_DomainParticipantQos DDS_PARTICIPANT_QOS_DEFAULT
 Special value for creating a DomainParticipant with default QoS.
 

Detailed Description

DDSDomainParticipantFactory entity and associated elements

Typedef Documentation

typedef DDS_ReturnCode_t(* DDSDomainParticipantFactory_RegisterTypeFunction)(DDSDomainParticipant *participant, const char *type_name)

Prototype of a register type function.

Parameters
participant<<inout>> DDSDomainParticipant participant the type is registered with.
type_name<<in>> Name the type is registered with.
Returns
One of the Standard Return Codes

Variable Documentation

struct DDS_DomainParticipantQos DDS_PARTICIPANT_QOS_DEFAULT

Special value for creating a DomainParticipant with default QoS.

When used in DDSDomainParticipantFactory::create_participant, this special value is used to indicate that the DDSDomainParticipant should be created with the default DDSDomainParticipant QoS by means of the operation DDSDomainParticipantFactory::get_default_participant_qos() and using the resulting QoS to create the DDSDomainParticipant.

When used in DDSDomainParticipantFactory::set_default_participant_qos, this special value is used to indicate that the default QoS should be reset back to the initial value that would be used if the DDSDomainParticipantFactory::set_default_participant_qos operation had never been called.

When used in DDSDomainParticipant::set_qos, this special value is used to indicate that the QoS of the DDSDomainParticipant should be changed to match the current default QoS set in the DDSDomainParticipantFactory that the DDSDomainParticipant belongs to.

RTI Connext treats this special value as a constant.

Note: You cannot use this value to get the default QoS values from the DomainParticipant factory; for this purpose, use DDSDomainParticipantFactory::get_default_participant_qos.

See Also
NDDS_DISCOVERY_PEERS
DDSDomainParticipantFactory::create_participant()
DDSDomainParticipantFactory::set_default_participant_qos()
DDSDomainParticipant::set_qos()
Examples:
HelloWorld_publisher.cxx, and HelloWorld_subscriber.cxx.

RTI Connext C++ API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc