Publisher Methods |
The Publisher type exposes the following members.
Name | Description | |
---|---|---|
BeginCoherentChanges |
Requests that the application will begin a 'coherent set' of modifications using DataWriter objects attached to
the Publisher. The 'coherent set' will be completed by a matching call to EndCoherentChanges.
| |
CreateDataWriter(Topic) |
Creates a new DataWriter with the default QoS policies and without listener attached.
| |
CreateDataWriter(Topic, DataWriterQos) |
Creates a new DataWriter with the desired QoS policies and without listener attached.
| |
CreateDataWriter(Topic, DataWriterListener) |
Creates a new DataWriter with the default QoS policies and attaches to it the specified DataWriterListener.
The specified DataWriterListener will be attached with the default StatusMask.
| |
CreateDataWriter(Topic, DataWriterQos, DataWriterListener) |
Creates a new DataWriter with the desired QoS policies and attaches to it the specified DataWriterListener.
The specified DataWriterListener will be attached with the default StatusMask.
| |
CreateDataWriter(Topic, DataWriterListener, StatusMask) |
Creates a new DataWriter with the default QoS policies and attaches to it the specified DataWriterListener.
| |
CreateDataWriter(Topic, DataWriterQos, DataWriterListener, StatusMask) |
Creates a new DataWriter with the desired QoS policies and attaches to it the specified DataWriterListener.
| |
DeleteContainedEntities |
This operation deletes all the entities that were created by means of the “create” operations on the Publisher. That is, it deletes
all contained DataWriter objects.
| |
DeleteDataWriter |
Deletes a DataWriter that belongs to the Publisher.
| |
Enable |
Enables the Entity. The enable operation is idempotent. Calling enable on an already enabled Entity returns
Ok and has no effect.
(Inherited from Entity.) | |
EndCoherentChanges |
Terminates the 'coherent set' initiated by the matching call to BeginCoherentChanges. If there is no matching
call to BeginCoherentChanges, the operation will return the error PreconditionNotMet.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDefaultDataWriterQos |
Gets the default value of the DataWriter QoS, that is, the QoS policies which will be used for newly created
DataWriter entities in the case where the QoS policies are defaulted in the CreateDataWriter operation.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetListener |
Allows access to the attached PublisherListener.
| |
GetQos |
Gets the Publisher QoS policies.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LookupDataWriter |
Gets a previously created DataWriter belonging to the Publisher that is attached to a Topic with a matching
topic name. If no such DataWriter exists, the operation will return .
| |
ResumePublications |
This operation indicates to DDS that the application has completed the multiple changes initiated by the previous SuspendPublications.
| |
SetDefaultDataWriterQos |
Sets a default value of the DataWriter QoS policies which will be used for newly created DataWriter entities in
the case where the QoS policies are defaulted in the CreateDataWriter operation.
| |
SetListener(PublisherListener) |
Sets the PublisherListener using the DefaultStatusMask.
| |
SetListener(PublisherListener, StatusMask) |
Sets the PublisherListener.
| |
SetQos |
Sets the Publisher QoS policies.
| |
SuspendPublications |
This operation indicates to DDS that the application is about to make multiple modifications using DataWriter objects
belonging to the Publisher. It is a hint to DDS so it can optimize its performance by e.g., holding the dissemination of the modifications and then
batching them.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WaitForAcknowledgments |
Blocks the calling thread until either all data written by the reliable DataWriter entities is acknowledged by all
matched reliable DataReader entities, or else the duration specified by the maxWait parameter elapses, whichever happens
first. A return value of Ok indicates that all the samples written have been acknowledged by all reliable matched data readers;
a return value of Timeout indicates that maxWait elapsed before all the data was acknowledged.
|