CoreDX DDS
C++ Reference Manual

DDS::GuardCondition Class Reference
[DDS Conditions]

A GuardCondition is a condition where the trigger_value is under application control. More...

Inheritance diagram for DDS::GuardCondition:
DDS::Condition

List of all members.

Public Member Functions

bool get_trigger_value ()
 This routine returns the current value of the trigger_value in gc.
ReturnCode_t set_trigger_value (bool v)
 This routine set the current value of the trigger_value in gc.

Detailed Description

A GuardCondition is a condition where the trigger_value is under application control.


Member Function Documentation

bool DDS::GuardCondition::get_trigger_value (  )  [virtual]

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

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.

ReturnCode_t DDS::GuardCondition::set_trigger_value ( bool  v  ) 

This routine set the current value of the trigger_value in gc.

A non-zero v argument indicates that the trigger_value is TRUE.

A zero v argument indicates that the trigger_value is FALSE. Setting the trigger value to a non-zero state will cause any threads that are waiting on a WaitSet with this GuardCondition attached to unblock. [In other words, the WaitSet_wait() routine will return if the WaitSet has this GuardCondition attached to it.]

 All Classes Files Functions Variables

© 2009-2013 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.