21 package org.opensplice.dds.sub;
23 import java.util.Collection;
40 protected DDS.ReadCondition
old;
46 Collection<SampleState> sampleState,
47 Collection<ViewState> viewState,
48 Collection<InstanceState> instanceState) {
50 viewState, instanceState),
true);
71 boolean setupCondition) {
78 "Illegal DataState (null) provided.");
82 this.
old = parent.
getOld().create_readcondition(
87 if (this.
old == null) {
95 return this.
old.get_trigger_value();
133 return this.state.
clone();
ReadConditionImpl(OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, DataStateImpl state)
A DataReader allows the application (1) to declare the data it wishes to receive (i.e., make a subscription) and (2) to access the data received by the attached org.omg.dds.sub.Subscriber.
Set< SampleState > getSampleStates()
Set< ViewState > getViewStates()
For each instance the Data Distribution Service internally maintains an InstanceState.
int getOldInstanceState()
For each sample, the Data Distribution Service internally maintains a SampleState specific to each Da...
ServiceEnvironment getEnvironment()
DataReader< TYPE > getParent()
DDS.ReadCondition getOldCondition()
ReadConditionImpl(OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, DataStateImpl state, boolean setupCondition)
ReadConditionImpl(OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent)
boolean getTriggerValue()
final OsplServiceEnvironment environment
void close()
Reclaim any resources associated with this condition.
ReadCondition objects are conditions specifically dedicated to read operations and attached to one or...
For each instance (identified by the key), the Data Distribution Service internally maintains a ViewS...
Set< InstanceState > getInstanceStates()
This operation returns the set of instance states that are taken into account to determine the trigge...
final AbstractDataReader< TYPE > parent
void destroyReadCondition(ReadConditionImpl< TYPE > condition)
Set< InstanceState > getInstanceStates()
Set< ViewState > getViewStates()
This operation returns the set of view states that are taken into account to determine the triggerVal...
static DataStateImpl any(OsplServiceEnvironment environment)
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...
static void throwLastErrorException(OsplServiceEnvironment environment)
final DataStateImpl state
DDS.ReadCondition getOld()
Set< SampleState > getSampleStates()
This operation returns the set of sample states that are taken into account to determine the triggerV...
ReadConditionImpl(OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, boolean setupCondition)
ReadConditionImpl(OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, Collection< SampleState > sampleState, Collection< ViewState > viewState, Collection< InstanceState > instanceState)