OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.sub.ReadConditionImpl< TYPE > Class Template Reference
Inheritance diagram for org.opensplice.dds.sub.ReadConditionImpl< TYPE >:
Inheritance graph
Collaboration diagram for org.opensplice.dds.sub.ReadConditionImpl< TYPE >:
Collaboration graph

Public Member Functions

 ReadConditionImpl (OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, Collection< SampleState > sampleState, Collection< ViewState > viewState, Collection< InstanceState > instanceState)
 
 ReadConditionImpl (OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, DataStateImpl state)
 
 ReadConditionImpl (OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent)
 
 ReadConditionImpl (OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, boolean setupCondition)
 
 ReadConditionImpl (OsplServiceEnvironment environment, AbstractDataReader< TYPE > parent, DataStateImpl state, boolean setupCondition)
 
void close ()
 Reclaim any resources associated with this condition. More...
 
ServiceEnvironment getEnvironment ()
 
Set< InstanceStategetInstanceStates ()
 This operation returns the set of instance states that are taken into account to determine the triggerValue of the ReadCondition. More...
 
DDS.ReadCondition getOld ()
 
DDS.ReadCondition getOldCondition ()
 
DataReader< TYPE > getParent ()
 
Set< SampleStategetSampleStates ()
 This operation returns the set of sample states that are taken into account to determine the triggerValue of the ReadCondition. More...
 
DataStateImpl getState ()
 
boolean getTriggerValue ()
 
Set< ViewStategetViewStates ()
 This operation returns the set of view states that are taken into account to determine the triggerValue of the ReadCondition. More...
 

Protected Attributes

final OsplServiceEnvironment environment
 
DDS.ReadCondition old
 
final AbstractDataReader< TYPE > parent
 
final DataStateImpl state
 

Detailed Description

Definition at line 37 of file ReadConditionImpl.java.

Constructor & Destructor Documentation

◆ ReadConditionImpl() [1/5]

org.opensplice.dds.sub.ReadConditionImpl< TYPE >.ReadConditionImpl ( OsplServiceEnvironment  environment,
AbstractDataReader< TYPE >  parent,
Collection< SampleState sampleState,
Collection< ViewState viewState,
Collection< InstanceState instanceState 
)

Definition at line 44 of file ReadConditionImpl.java.

◆ ReadConditionImpl() [2/5]

Definition at line 53 of file ReadConditionImpl.java.

◆ ReadConditionImpl() [3/5]

Definition at line 58 of file ReadConditionImpl.java.

◆ ReadConditionImpl() [4/5]

org.opensplice.dds.sub.ReadConditionImpl< TYPE >.ReadConditionImpl ( OsplServiceEnvironment  environment,
AbstractDataReader< TYPE >  parent,
boolean  setupCondition 
)

Definition at line 63 of file ReadConditionImpl.java.

◆ ReadConditionImpl() [5/5]

org.opensplice.dds.sub.ReadConditionImpl< TYPE >.ReadConditionImpl ( OsplServiceEnvironment  environment,
AbstractDataReader< TYPE >  parent,
DataStateImpl  state,
boolean  setupCondition 
)

Definition at line 69 of file ReadConditionImpl.java.

Member Function Documentation

◆ close()

Reclaim any resources associated with this condition.

Implements org.omg.dds.sub.ReadCondition< TYPE >.

Definition at line 128 of file ReadConditionImpl.java.

◆ getEnvironment()

Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 99 of file ReadConditionImpl.java.

◆ getInstanceStates()

Set<InstanceState> org.opensplice.dds.sub.ReadConditionImpl< TYPE >.getInstanceStates ( )

This operation returns the set of instance states that are taken into account to determine the triggerValue of the ReadCondition.

These are the instance states specified when the ReadCondition was created.

Returns
an unmodifiable set.

Implements org.omg.dds.sub.ReadCondition< TYPE >.

Definition at line 114 of file ReadConditionImpl.java.

◆ getOld()

DDS.ReadCondition org.opensplice.dds.sub.ReadConditionImpl< TYPE >.getOld ( )

Definition at line 123 of file ReadConditionImpl.java.

◆ getOldCondition()

DDS.ReadCondition org.opensplice.dds.sub.ReadConditionImpl< TYPE >.getOldCondition ( )

◆ getParent()

Returns
the DataReader associated with the ReadCondition. Note that there is exactly one DataReader associated with each ReadCondition.

Implements org.omg.dds.sub.ReadCondition< TYPE >.

Definition at line 119 of file ReadConditionImpl.java.

◆ getSampleStates()

Set<SampleState> org.opensplice.dds.sub.ReadConditionImpl< TYPE >.getSampleStates ( )

This operation returns the set of sample states that are taken into account to determine the triggerValue of the ReadCondition.

These are the sample states specified when the ReadCondition was created.

Returns
an unmodifiable set.

Implements org.omg.dds.sub.ReadCondition< TYPE >.

Definition at line 104 of file ReadConditionImpl.java.

◆ getState()

Definition at line 132 of file ReadConditionImpl.java.

◆ getTriggerValue()

boolean org.opensplice.dds.sub.ReadConditionImpl< TYPE >.getTriggerValue ( )
Returns
the triggerValue of the Condition.

Implements org.omg.dds.core.Condition.

Definition at line 94 of file ReadConditionImpl.java.

◆ getViewStates()

Set<ViewState> org.opensplice.dds.sub.ReadConditionImpl< TYPE >.getViewStates ( )

This operation returns the set of view states that are taken into account to determine the triggerValue of the ReadCondition.

These are the view states specified when the ReadCondition was created.

Returns
an unmodifiable set.

Implements org.omg.dds.sub.ReadCondition< TYPE >.

Definition at line 109 of file ReadConditionImpl.java.

Member Data Documentation

◆ environment

Definition at line 39 of file ReadConditionImpl.java.

◆ old

DDS.ReadCondition org.opensplice.dds.sub.ReadConditionImpl< TYPE >.old
protected

Definition at line 40 of file ReadConditionImpl.java.

◆ parent

final AbstractDataReader<TYPE> org.opensplice.dds.sub.ReadConditionImpl< TYPE >.parent
protected

Definition at line 41 of file ReadConditionImpl.java.

◆ state

Definition at line 42 of file ReadConditionImpl.java.


The documentation for this class was generated from the following file: