![]() |
OpenSplice C# API
v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
|
IReadCondition objects allow an IDataReader to specify the data samples it is interested in More...
Public Member Functions | |
IDataReader | GetDataReader () |
This operation returns the IDataReader associated with the IReadCondition. More... | |
InstanceStateKind | GetInstanceStateMask () |
This operation returns the set of InstanceStates that are taken into account to determine the TriggerValue of the IReadCondition. More... | |
SampleStateKind | GetSampleStateMask () |
This operation returns the set of SampleStates that are taken into account to determine the TriggerValue of the IReadCondition. More... | |
ViewStateKind | GetViewStateMask () |
This operation returns the set of ViewStates that are taken into account to determine the TriggerValue of the IReadCondition. More... | |
![]() | |
bool | GetTriggerValue () |
Each ICondition has a TriggerValue that can be true or false and is set by the DDS depending on the evaluation of the ICondition. More... | |
IReadCondition objects allow an IDataReader to specify the data samples it is interested in
The IDataReader objects can create a set of IReadCondition (and IStatusCondition) objects which provide support (in conjunction with IWaitSet objects) for an alternative communication style between the Data Distribution Service and the application (i.e., state-based rather than event-based). IReadCondition objects allow an IDataReader to specify the data samples it is interested in (by specifying the desired sample-states, view-states, and instance-states); see the parameter definitions for IDataReader.CreateReadCondition operation. This allows the Data Distribution Service to trigger the condition only when suitable information is available. IReadCondition objects are to be used in conjunction with an IWaitSet. More than one IReadCondition may be attached to the same IDataReader.
Definition at line 457 of file DdsDcpsInterfaces.cs.
IDataReader DDS.IReadCondition.GetDataReader | ( | ) |
This operation returns the IDataReader associated with the IReadCondition.
Note that there is exactly one IDataReader associated with each IReadCondition (i.e. the IDataReader that created the IReadCondition object).
InstanceStateKind DDS.IReadCondition.GetInstanceStateMask | ( | ) |
This operation returns the set of InstanceStates that are taken into account to determine the TriggerValue of the IReadCondition.
The InstanceStates returned are the InstanceStates specified when the IReadCondition was created. InstanceStates can be Alive NotAlivedDisposed NotAliveNoWriters or a combination of these (DDS.InstanceStateKind).
SampleStateKind DDS.IReadCondition.GetSampleStateMask | ( | ) |
This operation returns the set of SampleStates that are taken into account to determine the TriggerValue of the IReadCondition.
The SampleStates returned are the SampleStates specified when the IReadCondition was created. The SampleStates can be Read, NotRead or both (DDS.SampleStateKind).
ViewStateKind DDS.IReadCondition.GetViewStateMask | ( | ) |
This operation returns the set of ViewStates that are taken into account to determine the TriggerValue of the IReadCondition.
The ViewStates returned are the ViewStates specified when the IReadCondition was created. ViewStates can be New, NotNew or both (DDS.ViewStateKind).