CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
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

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-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.