RTI Connext C# API Version 7.3.0
|
Singleton that manages the creation of DomainParticipant objects. More...
Inherits IDisposable.
Public Member Functions | |
void | Dispose () |
Releases global resources used by the middleware. More... | |
DomainParticipant | CreateParticipant (int domainId) |
Creates a new DomainParticipant with default QoS. More... | |
DomainParticipant | CreateParticipant (int domainId, DomainParticipantQos qos) |
Creates a new DomainParticipant with the given QoS. More... | |
DomainParticipant | CreateParticipant (int domainId, DomainParticipantQos qos, Action< DomainParticipant > preEnableAction) |
Creates a new DomainParticipant with the given QoS. More... | |
DomainParticipant | LookupParticipant (int domainId) |
Looks up a DomainParticipant by domain ID More... | |
DomainParticipant | LookupParticipant (string name) |
Looks up a DomainParticipant by its DomainParticipantQos.ParticipantName More... | |
void | RegisterTypeSupport< T > () |
Provides the name that an XML application can use to refer to a C# type More... | |
void | RegisterTypeSupport< T > (string name) |
Provides the name that an XML application can use to refer to a C# type More... | |
void | RegisterNamespace (System.Reflection.Assembly assembly, string @namespace) |
Specifies a namespace where QosProvider.CreateParticipantFromConfig(string) can look for the definition of C# types referenced from XML-defined applications. More... | |
Properties | |
static DomainParticipantFactory | Instance [get] |
Gets the singleton instance of this class. More... | |
DomainParticipantFactoryQos | Qos [get, set] |
Get or set the QoS. More... | |
DomainParticipantQos | DefaultParticipantQos [get, set] |
Gets or sets the default DomainParticipantQos More... | |
IEnumerable< DomainParticipant > | Participants [get] |
Returns all the participants the DomainParticipantFactory has. More... | |
bool | Disposed [get] |
Indicates whether this object has been disposed More... | |
Singleton that manages the creation of DomainParticipant objects.
The full documentation is available in the C API: DDS_DomainParticipantFactory
|
inline |
Releases global resources used by the middleware.
In most cases calling this function is not necessary. However, some memory-check tools may flag this native heap memory as unreclaimed. So this method provides a way to clean up that memory at the end of the application.
DomainParticipant Rti.Dds.Domain.DomainParticipantFactory.CreateParticipant | ( | int | domainId | ) |
Creates a new DomainParticipant with default QoS.
domainId | The domain id to join |
The full documentation is available in the C API: DDS_DomainParticipantFactory_create_participant
DomainParticipant Rti.Dds.Domain.DomainParticipantFactory.CreateParticipant | ( | int | domainId, |
DomainParticipantQos | qos | ||
) |
Creates a new DomainParticipant with the given QoS.
domainId | The domain id to join |
qos | The QoS to configure the DomainParticipant |
The full documentation is available in the C API: DDS_DomainParticipantFactory_create_participant
|
inline |
Creates a new DomainParticipant with the given QoS.
domainId | The domain id to join |
qos | The QoS to configure the DomainParticipant |
preEnableAction | An action that allows performing operations on the DomainParticipant right before it is enabled. For example, if the application needs to receive information about all discovered entities, looking up the readers for the built-in topics in DomainParticipant.BuiltinSubscriber should be done before the DomainParticipant is enabled. |
The full documentation is available in the C API: DDS_DomainParticipantFactory_create_participant
DomainParticipant Rti.Dds.Domain.DomainParticipantFactory.LookupParticipant | ( | int | domainId | ) |
Looks up a DomainParticipant by domain ID
The full documentation is available in the C API: DDS_DomainParticipantFactory_lookup_participant
DomainParticipant Rti.Dds.Domain.DomainParticipantFactory.LookupParticipant | ( | string | name | ) |
Looks up a DomainParticipant by its DomainParticipantQos.ParticipantName
The full documentation is available in the C API: DDS_DomainParticipantFactory_lookup_participant_by_name
void Rti.Dds.Domain.DomainParticipantFactory.RegisterTypeSupport< T > | ( | ) |
Provides the name that an XML application can use to refer to a C# type
T | The type to register. The type is registered with the name typeof(T).Name |
|
inline |
Provides the name that an XML application can use to refer to a C# type
name | The name to register this type with. It must be the same name used in the XML tag register_type |
T | The type to register |
void Rti.Dds.Domain.DomainParticipantFactory.RegisterNamespace | ( | System.Reflection.Assembly | assembly, |
string @ | namespace | ||
) |
Specifies a namespace where QosProvider.CreateParticipantFromConfig(string) can look for the definition of C# types referenced from XML-defined applications.
assembly | The assembly where the namespace is located |
namespace | The namespace within the assembly where the QosProvider can look for types. Nested namespaces are also included. |
|
staticget |
Gets the singleton instance of this class.
The full documentation is available in the C API: DDS_DomainParticipantFactory_get_instance
|
getset |
Get or set the QoS.
The full documentation is available in the C API: DDS_DomainParticipantFactory_get_qos
|
getset |
Gets or sets the default DomainParticipantQos
The full documentation is available in the C API: DDS_DomainParticipantFactory_set_default_participant_qos
|
get |
Returns all the participants the DomainParticipantFactory has.
The full documentation is available in the C API: DDS_DomainParticipantFactory_get_participants
|
get |
Indicates whether this object has been disposed