DataWriter Class |
Namespace: OpenDDSharp.DDS
The DataWriter type exposes the following members.
Name | Description | |
---|---|---|
InstanceHandle |
Gets the InstanceHandle that represents the Entity.
(Inherited from Entity.) | |
Publisher |
Gets the Publisher to which the DataWriter belongs.
| |
StatusChanges |
Gets the list of communication statuses in the Entity that are 'triggered'. That is, the list of statuses whose
value has changed since the last time the application read the status.
(Inherited from Entity.) | |
StatusCondition |
Allows access to the StatusCondition associated with the Entity. The returned
condition can then be added to a WaitSet so that the application can wait for specific status changes
that affect the Entity.
(Inherited from Entity.) | |
Topic |
Name | Description | |
---|---|---|
AssertLiveliness |
Manually asserts the liveliness of the DataWriter. This is used in combination with the liveliness QoS
policy to indicate to DDS that the entity remains active.
| |
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.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetListener |
Allows access to the attached DataWriterListener.
| |
GetLivelinessLostStatus |
Allows access to the LivelinessLostStatus communication status.
| |
GetMatchedSubscriptionData |
Retrieves information on a subscription that is currently "associated" with the DataWriter; that is, a subscription
with a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the
DomainParticipant IgnoreSubscription operation.
| |
GetMatchedSubscriptions |
Gets the collection of subscriptions currently "associated" with the DataWriter; that is, subscriptions that have a
matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the
DomainParticipant IgnoreSubscription operation.
| |
GetOfferedDeadlineMissedStatus |
Allows access to the OfferedDeadlineMissedStatus communication status.
| |
GetOfferedIncompatibleQosStatus |
Allows access to the OfferedIncompatibleQosStatus communication status.
| |
GetPublicationMatchedStatus |
Allows access to the PublicationMatchedStatus communication status.
| |
GetQos |
Gets the DataWriter QoS policies.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetListener(DataWriterListener) |
Sets the DataWriterListener using the DefaultStatusMask.
| |
SetListener(DataWriterListener, StatusMask) |
Sets the DataWriterListener.
| |
SetQos |
Sets the DataWriter QoS policies.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WaitForAcknowledgments |
Blocks the calling thread until either all data written by the DataWriter is
acknowledged by all matched DataReader entities that have ReliableReliabilityQos, or else the duration
specified by the maxWait parameter elapses, whichever happens first.
|
A DataWriter is attached to exactly one Publisher that acts as a factory for it.
A DataWriter is bound to exactly one Topic and therefore to exactly one data type. The Topic must exist prior to the DataWriter’s creation.
The DataWriter must be specialized for each particular application data-type.
All operations except for the operations SetQos(DataWriterQos), GetQos(DataWriterQos), SetListener, GetListener, Enable, and StatusCondition return the value NotEnabled if the DataWriter has not been enabled yet.