DataReader Class |
Namespace: OpenDDSharp.DDS
The DataReader type exposes the following members.
Name | Description | |
---|---|---|
InstanceHandle |
Gets the InstanceHandle that represents the Entity.
(Inherited from Entity.) | |
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.) | |
Subscriber |
Gets the Subscriber to which the DataReader belongs.
| |
TopicDescription |
Gets the ITopicDescription associated with the DataReader.
This is the same ITopicDescription that was used to create the DataReader.
|
Name | Description | |
---|---|---|
CreateQueryCondition(String, String) |
Creates a QueryCondition to read samples with any sample states, any view states and any instance states.
| |
CreateQueryCondition(SampleStateMask, ViewStateMask, InstanceStateMask, String, String) |
Creates a QueryCondition with the desired sample states, view states and instance states.
| |
CreateReadCondition |
Creates a ReadCondition to read samples with any sample states, any view states and any instance states.
| |
CreateReadCondition(SampleStateMask, ViewStateMask, InstanceStateMask) |
Creates a ReadCondition to read samples with the desired sample states, view states and instance states.
| |
DeleteContainedEntities |
Deletes all the entities that were created by means of the "create" operations on the DataReader. That is, it
deletes all contained ReadCondition and QueryCondition objects.
| |
DeleteReadCondition |
Deletes a ReadCondition attached to the DataReader. Since QueryCondition specializes ReadCondition it can
also be used to delete a QueryCondition.
| |
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 DataReaderListener.
| |
GetLivelinessChangedStatus |
Allows access to the LivelinessChangedStatus communication status.
| |
GetMatchedPublicationData |
This operation retrieves information on a publication that is currently "associated" with the DataReader; that is, a publication
with a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the
DomainParticipant IgnorePublication operation.
| |
GetMatchedPublications |
Gets the list of publications currently "associated" with the DataReader; that is, publications that have a
matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the
DomainParticipant IgnorePublication operation.
| |
GetQos |
Gets the DataReader QoS policies.
| |
GetRequestedDeadlineMissedStatus |
Allows access to the RequestedDeadlineMissedStatus communication status.
| |
GetRequestedIncompatibleQosStatus |
Allows access to the RequestedIncompatibleQosStatus communication status.
| |
GetSampleLostStatus |
Allows access to the SampleLostStatus communication status.
| |
GetSampleRejectedStatus |
Allows access to the SampleRejectedStatus communication status.
| |
GetSubscriptionMatchedStatus |
Allows access to the SubscriptionMatchedStatus communication status.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetListener(DataReaderListener) |
Sets the DataReaderListener using the DefaultStatusMask.
| |
SetListener(DataReaderListener, StatusMask) |
Sets the DataReaderListener.
| |
SetQos |
Sets the DataReader QoS policies.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WaitForHistoricalData |
Waits until all "historical" data is received.
This operation is intended only for DataReader entities that have a non-Volatile DurabilityQosPolicyKind.
|
A DataReader refers to exactly one ITopicDescription (either a Topic, a ContentFilteredTopic, or a MultiTopic) that identifies the data to be read. The subscription has a unique resulting type. The data-reader may give access to several instances of the resulting type, which can be distinguished from each other by their key.
All operations except for the operations SetQos(DataReaderQos), GetQos(DataReaderQos), SetListener, GetListener, Enable, and StatusCondition return the value NotEnabled if the DataReader has not been enabled yet.