CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
DDS::ReadCondition Class Reference

A ReadCondition is a specialized Condition associated with a DataReader. More...

Inheritance diagram for DDS::ReadCondition:
DDS::Condition DDS::QueryCondition

Public Member Functions

bool get_trigger_value ()
 This routine returns the current value of the trigger_value in rc. More...
 
DataReaderget_datareader ()
 This routine returns the single DataReader associated with this ReadCondition.
 
SampleStateKind get_sample_state_mask ()
 This routine returns the current value of the sample_state in this ReadCondition.
 
ViewStateKind get_view_state_mask ()
 This routine returns the current value of the view_state in this ReadCondition.
 
InstanceStateKind get_instance_state_mask ()
 This routine returns the current value of the instance_state in this ReadCondition.
 

Detailed Description

A ReadCondition is a specialized Condition associated with a DataReader.

The trigger_value is driven by the data available in the associated DataReader. A ReadCondition is obtained by calling the DataReader_create_readcondition() function. When the ReadCondition is no longer needed, it should be destroyed by a call to DataReader_delete_readcondition().

Member Function Documentation

◆ get_trigger_value()

bool DDS::ReadCondition::get_trigger_value ( )
virtual

This routine returns the current value of the trigger_value in rc.

A non-zero return value indicates that the trigger_value is TRUE.

A zero return value indicates that the trigger_value is FALSE.

Reimplemented from DDS::Condition.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.