|
RTI Connext C# API Version 7.7.0
|
Allows the application to: (1) declare the data it wishes to receive (i.e. make a subscription) and (2) access the data received by the attached Subscriber. More...
Public Member Functions | |
| LoanedSamples< T > | Read () |
| Access all data samples. More... | |
| override LoanedSamples< object > | ReadUntyped () |
| Allows calling Read in a context where the type is not known, as an AnyDataReader More... | |
| override LoanedSamples< object > | TakeUntyped () |
| Allows calling Take in a context where the type is not known, as an AnyDataReader More... | |
| LoanedSamples< T > | Take () |
| Access and remove all data samples. More... | |
| Selector< T > | Select () |
| Access data samples according with certain selection criteria More... | |
| override SelectorUntyped | SelectUntyped () |
| Calls Select, but allows doing so as an AnyDataReader in a context where T is not known. More... | |
| InstanceHandle | LookupInstance (T keyHolder) |
| Retrieves the instance handle that corresponds to a data sample containing the key values. More... | |
| override InstanceHandle | LookupInstanceUntyped (object keyHolder) |
| Calls LookupInstance(T), but allows doing so as an AnyDataReader in a context where T is not known. More... | |
| T | GetKeyValue (T keyHolder, in InstanceHandle instanceHandle) |
| Retrieve the instance key value that corresponds to an instance handle. More... | |
| override object | GetKeyValueUntyped (object keyHolder, in InstanceHandle instanceHandle) |
| Calls DataReader<T>.GetKeyValue, but allows doing so as an AnyDataReader in a context where T is not known. More... | |
| override string | ToString () |
| Provides a readable summary of information about this DataWriter. More... | |
Public Member Functions inherited from Rti.Dds.Subscription.AnyDataReader | |
| ReadCondition | CreateReadCondition (DataState state) |
| Creates a ReadCondition. More... | |
| QueryCondition | CreateQueryCondition (Filter filter, DataState state) |
| Creates a QueryCondition with a filter and a data state. More... | |
| QueryCondition | CreateQueryCondition (Filter filter) |
| Creates a QueryCondition with DataState.Any. More... | |
| PublicationBuiltinTopicData | GetMatchedPublicationData (in InstanceHandle publicationHandle) |
| Retrieves the information on a publication that is currently "associated" with this DataReader. More... | |
| IEnumerable< PublicationBuiltinTopicData > | GetMatchedPublicationData () |
| Retrieves the information on all publications that are currently "associated" with this DataReader. More... | |
| ParticipantBuiltinTopicData | GetMatchedPublicationParticipantData (in InstanceHandle publicationHandle) |
| Retrieves the information on the discovered Domain.DomainParticipant associated with the publication that is currently matching with the DataReader<T> More... | |
| void | AcknowledgeAll () |
| Acknowledges all previously accessed samples. More... | |
| void | AcknowledgeAll (AckResponseData responseData) |
| Acknowledges all previously accessed samples with a response. More... | |
| void | AcknowledgeSample (SampleInfo sampleInfo) |
| Acknowledges a single sample explicitly. More... | |
| void | AcknowledgeSample (SampleInfo sampleInfo, AckResponseData responseData) |
| Acknowledges a single sample explicitly with a response. More... | |
| void | AcknowledgeSample (SampleIdentity sampleIdentity) |
| Acknowledges a single sample explicitly. More... | |
| void | AcknowledgeSample (SampleIdentity sampleIdentity, AckResponseData responseData) |
| Acknowledges a single sample explicitly with a response. More... | |
| DataReaderProtocolStatus | GetMatchedPublicationDataReaderProtocolStatus (in InstanceHandle publicationHandle) |
| Gets the DataReaderProtocolStatus for this reader, per matched publication identified by its InstanceHandle. More... | |
| bool | IsMatchedPublicationAlive (in InstanceHandle publicationHandle) |
| Check if a publication currently matched with this reader is alive. More... | |
| void | WaitForHistoricalData (in Duration duration) |
| Waits until all "historical" data is received if the reader was configured with a non-Volatile DurabilityKind. More... | |
| abstract LoanedSamples< object > | ReadUntyped () |
| Allows calling DataReader<T>.Read in a context where the type is not known. More... | |
| abstract LoanedSamples< object > | TakeUntyped () |
| Allows calling DataReader<T>.Take in a context where the type is not known. More... | |
| abstract InstanceHandle | LookupInstanceUntyped (object keyHolder) |
| Allows calling DataReader<T>.LookupInstance in a context where the type is not known. More... | |
| abstract object | GetKeyValueUntyped (object keyHolder, in InstanceHandle InstanceHandle) |
| Allows calling DataReader<T>.GetKeyValue in a context where the type is not known. More... | |
| abstract SelectorUntyped | SelectUntyped () |
| Allows calling DataReader<T>.Select in a context where the type is not known. More... | |
| override void | ResetEvents (StatusMask eventsToRemove=StatusMask.All) |
| Stop notifying of certain events and remove their event handlers More... | |
| void | DisposeContainedEntities () |
| Disposes all the entities that were created by this reader. More... | |
Public Member Functions inherited from Rti.Dds.Core.Entity | |
| void | Enable () |
| Enables this Entity (by default entities are automatically enabled after creation) More... | |
| abstract void | ResetEvents (StatusMask eventsToRemove=StatusMask.All) |
| Stop notifying of events and remove their event handlers. The actual events are defined in each derived entity class. 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... | |
Allows the application to: (1) declare the data it wishes to receive (i.e. make a subscription) and (2) access the data received by the attached Subscriber.
The full documentation is available in the C API: DDS_DataReader
| LoanedSamples< T > Rti.Dds.Subscription.DataReader< T >.Read | ( | ) |
Access all data samples.
The full documentation is available in the C API: DDSTypedDataReader_read
|
virtual |
Allows calling Read in a context where the type is not known, as an AnyDataReader
Implements Rti.Dds.Subscription.AnyDataReader.
|
virtual |
Allows calling Take in a context where the type is not known, as an AnyDataReader
Implements Rti.Dds.Subscription.AnyDataReader.
| LoanedSamples< T > Rti.Dds.Subscription.DataReader< T >.Take | ( | ) |
Access and remove all data samples.
See also Rti.Dds.Subscription.DataReaderAsyncExtensions.TakeAsync.
The full documentation is available in the C API: DDSTypedDataReader_take
| Selector< T > Rti.Dds.Subscription.DataReader< T >.Select | ( | ) |
Access data samples according with certain selection criteria
The full documentation is available in the C API: DDSTypedDataReader_take
|
virtual |
Calls Select, but allows doing so as an AnyDataReader in a context where T is not known.
Implements Rti.Dds.Subscription.AnyDataReader.
| InstanceHandle Rti.Dds.Subscription.DataReader< T >.LookupInstance | ( | T | keyHolder | ) |
Retrieves the instance handle that corresponds to a data sample containing the key values.
The full documentation is available in the C API: DDSTypedDataReader_lookup_instance
|
virtual |
Calls LookupInstance(T), but allows doing so as an AnyDataReader in a context where T is not known.
| keyHolder | The key fields of the instance to lookup. The runtime type of keyHolder must be T. Otherwise this operation throws InvalidCastException. |
Implements Rti.Dds.Subscription.AnyDataReader.
|
inline |
Retrieve the instance key value that corresponds to an instance handle.
The full documentation is available in the C API: DDSTypedDataReader_get_key_value
| override object Rti.Dds.Subscription.DataReader< T >.GetKeyValueUntyped | ( | object | keyHolder, |
| in InstanceHandle | instanceHandle | ||
| ) |
Calls DataReader<T>.GetKeyValue, but allows doing so as an AnyDataReader in a context where T is not known.
| keyHolder | The obtained key values. |
| instanceHandle | The InstanceHandle corresponding to the instance whose key values we want to obtain. The runtime type of keyHolder must be T. Otherwise this operation throws InvalidCastException. |
|
inline |
Provides a readable summary of information about this DataWriter.
|
get |
Returns the Subscriber to which the DataReader belongs.
The full documentation is available in the C API: DDS_DataReader_get_subscriber
|
get |
Returns the TopicDescription associated with the DataReader.
The full documentation is available in the C API: DDS_DataReader_get_topicdescription