RTI Connext C# API
6.1.0
|
A publisher is the object responsible for the actual dissemination of publications. More...
Public Member Functions | |
DataWriter< T > | LookupDataWriter< T > (string topicName) |
Retrieves a writer for a specific topic. More... | |
AnyDataWriter | LookupDataWriter (string topicName) |
Retrieves a writer for a specific topic. More... | |
AnyDataWriter | LookupDataWriterByName (string writerName) |
Retrieves a writer by its name More... | |
DataWriter< T > | CreateDataWriter< T > (Topic< T > topic) |
Creates a DataWriter<T> that will be attached and belong to this publisher. More... | |
DataWriter< T > | CreateDataWriter< T > (Topic< T > topic, DataWriterQos qos) |
Creates a DataWriter<T> that will be attached and belong to this publisher. More... | |
DataWriter< T > | CreateDataWriter< T > (Topic< T > topic, Action< DataWriter< T >> preEnableAction) |
Creates a DataWriter<T> that will be attached and belong to this publisher. More... | |
DataWriter< T > | CreateDataWriter< T > (Topic< T > topic, DataWriterQos qos, Action< DataWriter< T >> preEnableAction) |
Creates a DataWriter<T> that will be attached and belong to this publisher. More... | |
AnyDataWriter | CreateDataWriter (Topics.IAnyTopic topic, DataWriterQos qos) |
Creates a DataWriter that will be attached and belong to this Publisher, without knowing the type at compile time. More... | |
AnyDataWriter | CreateDataWriter (Topics.IAnyTopic topic) |
Creates a DataWriter that will be attached and belong to this Publisher, without knowing the type at compile time. More... | |
void | DisposeContainedEntities () |
Disposes all the entities that were created by this Publisher. More... | |
override void | ResetEvents (StatusMask newMask) |
Stop notifying of events not selected in the newMask and remove their event handlers. More... | |
CoherentSet | BeginCoherentChanges () |
Indicates that a coherent set of modifications is going to be performed using DataWriter<T> objects belonging to this publisher. More... | |
void | EndCoherentChanges () |
Ends a coherent set of changes (alternative to CoherentSet.Dispose) More... | |
SuspendedPublication | SuspendPublications () |
Indicates that the application is about to make multiple modifications using DataWriter<T> objects belonging this publisher. More... | |
void | ResumePublications () |
Indicates that the application has completed the multiple changes initiated by the previous call to SuspendPublications (alternative to SuspendedPublication.Dispose) More... | |
void | WaitForAcknowledgments (Duration maxWait) |
Blocks the calling thread until all data written by the Publisher's reliable DataWriters is acknowledged, or until timeout expires. More... | |
void | WaitForAsynchronousPublishing (Duration maxWait) |
Blocks the calling thread until asynchronous sending is complete. More... | |
![]() | |
void | Enable () |
Enables this Entity (by default entities are automatically enabled after creation) More... | |
EntityLock | Lock () |
Locks the Entity using its internal lock. More... | |
void | Dispose () |
Releases the resources used by this Entity and disposes its contained entities as well (if any). More... | |
Properties | |
DataWriterQos | DefaultDataWriterQos [get, set] |
Get or change the default DataWriterQos used by More... | |
IEnumerable< AnyDataWriter > | DataWriters [get] |
Retrieve all the writers created by this publisher More... | |
PublisherQos | Qos [get, set] |
Gets or sets the publisher QoS. More... | |
DomainParticipant | DomainParticipant [get] |
Returns the DomainParticipant to which this publisher belongs. More... | |
![]() | |
InstanceHandle | InstanceHandle [get] |
Gets the InstanceHandle that identifies this Entity More... | |
StatusMask | StatusChanges [get] |
Retrieves the list of communication statuses in this Entity that are triggered. More... | |
StatusCondition | StatusCondition [get] |
Gets the StatusCondition associated with this Entity. More... | |
bool | Enabled [get] |
Indicates whether this Entity is enabled. More... | |
bool | Disposed [get] |
Indicates whether this Entity has already been disposed. More... | |
A publisher is the object responsible for the actual dissemination of publications.
The full documentation is available in the C API: DDS_Publisher
CoherentSet BeginCoherentChanges | ( | ) |
Indicates that a coherent set of modifications is going to be performed using DataWriter<T> objects belonging to this publisher.
The full documentation is available in the C API: DDS_Publisher_begin_coherent_changes
AnyDataWriter CreateDataWriter | ( | Topics.IAnyTopic | topic | ) |
Creates a DataWriter that will be attached and belong to this Publisher, without knowing the type at compile time.
AnyDataWriter CreateDataWriter | ( | Topics.IAnyTopic | topic, |
DataWriterQos | qos | ||
) |
Creates a DataWriter that will be attached and belong to this Publisher, without knowing the type at compile time.
DataWriter<T> CreateDataWriter< T > | ( | Topic< T > | topic | ) |
Creates a DataWriter<T> that will be attached and belong to this publisher.
The full documentation is available in the C API: DDS_Publisher_create_datawriter
DataWriter<T> CreateDataWriter< T > | ( | Topic< T > | topic, |
Action< DataWriter< T >> | preEnableAction | ||
) |
Creates a DataWriter<T> that will be attached and belong to this publisher.
topic | The Topic<T> that the writer will be associated with. |
preEnableAction | An action that allows adding handlers to writer events before the writer is enabled. |
DataWriter<T> CreateDataWriter< T > | ( | Topic< T > | topic, |
DataWriterQos | qos | ||
) |
Creates a DataWriter<T> that will be attached and belong to this publisher.
The full documentation is available in the C API: DDS_Publisher_create_datawriter
DataWriter<T> CreateDataWriter< T > | ( | Topic< T > | topic, |
DataWriterQos | qos, | ||
Action< DataWriter< T >> | preEnableAction | ||
) |
Creates a DataWriter<T> that will be attached and belong to this publisher.
topic | The Topic<T> that the writer will be associated with. |
qos | The quality of service |
preEnableAction | An action that allows adding handlers to writer events before the writer is enabled. |
void DisposeContainedEntities | ( | ) |
void EndCoherentChanges | ( | ) |
Ends a coherent set of changes (alternative to CoherentSet.Dispose)
The full documentation is available in the C API: DDS_Publisher_end_coherent_changes
AnyDataWriter LookupDataWriter | ( | string | topicName | ) |
Retrieves a writer for a specific topic.
The full documentation is available in the C API: DDS_Publisher_lookup_datawriter
DataWriter<T> LookupDataWriter< T > | ( | string | topicName | ) |
Retrieves a writer for a specific topic.
The full documentation is available in the C API: DDS_Publisher_lookup_datawriter
AnyDataWriter LookupDataWriterByName | ( | string | writerName | ) |
Retrieves a writer by its name
The full documentation is available in the C API: DDS_Publisher_lookup_datawriter_by_name
|
virtual |
Stop notifying of events not selected in the newMask and remove their event handlers.
newMask | Selects which events will continue to receive notifications. Events not included in the status mask will no longer be notified. Use StatusMask.None to remove all event handlers. |
Implements Entity.
void ResumePublications | ( | ) |
Indicates that the application has completed the multiple changes initiated by the previous call to SuspendPublications (alternative to SuspendedPublication.Dispose)
The full documentation is available in the C API: DDS_Publisher_resume_publications
SuspendedPublication SuspendPublications | ( | ) |
Indicates that the application is about to make multiple modifications using DataWriter<T> objects belonging this publisher.
The full documentation is available in the C API: DDS_Publisher_suspend_publications
void WaitForAcknowledgments | ( | Duration | maxWait | ) |
void WaitForAsynchronousPublishing | ( | Duration | maxWait | ) |
Blocks the calling thread until asynchronous sending is complete.
The full documentation is available in the C API: DDS_Publisher_wait_for_asynchronous_publishing
|
get |
Retrieve all the writers created by this publisher
The full documentation is available in the C API: DDS_Publisher_get_all_datawriters
|
getset |
Get or change the default DataWriterQos used by
The full documentation is available in the C API: DDS_Publisher_get_default_datawriter_qos
Returns the DomainParticipant to which this publisher belongs.
The full documentation is available in the C API: DDS_Publisher_get_participant
|
getset |
Gets or sets the publisher QoS.
The full documentation is available in the C API: DDS_Publisher_set_qos