CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class ReadCondition

java.lang.Object
  extended by com.toc.coredx.DDS.Condition
      extended by com.toc.coredx.DDS.ReadCondition
Direct Known Subclasses:
QueryCondition

public class ReadCondition
extends Condition

A DDS_ReadCondition is a specialized DDS_Condition associated with a DDS_DataReader. The trigger_value is driven by the data available in the associated DataReader. A ReadCondition is obtained by calling the DDS_DataReader_create_readcondition() function. When the ReadCondition is no longer needed, it should be destroyed by a call to DataReader.delete_readcondition().

See Also:
DataReader.create_readcondition(long sample_states, long view_states, long instance_states), DataReader.delete_readcondition(ReadCondition)

Method Summary
 DataReader get_datareader()
          Gets the single DataReader associated with this ReadCondition.
 long get_instance_state_mask()
          Gets the current value of the instance_state_mask in this ReadCondition.
 long get_sample_state_mask()
          Gets the current value of the sample_state_mask in this ReadCondition.
 long get_view_state_mask()
          Gets the current value of the view_state_mask in this ReadCondition.
 
Methods inherited from class com.toc.coredx.DDS.Condition
get_trigger_value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get_sample_state_mask

public long get_sample_state_mask()
Gets the current value of the sample_state_mask in this ReadCondition.


get_view_state_mask

public long get_view_state_mask()
Gets the current value of the view_state_mask in this ReadCondition.


get_instance_state_mask

public long get_instance_state_mask()
Gets the current value of the instance_state_mask in this ReadCondition.


get_datareader

public DataReader get_datareader()
Gets the single DataReader associated with this ReadCondition.


Copyright © 2010 Twin Oaks Computing, Inc,
All Rights Reserved