|
CoreDX DDS for Java from Twin Oaks Computing, Inc. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.toc.coredx.DDS.Condition
com.toc.coredx.DDS.GuardCondition
public class GuardCondition
A GuardCondition is a Condition where the trigger_value is under application control.
| Constructor Summary | |
|---|---|
GuardCondition()
This routine creates a GuardCondition. |
|
| Method Summary | |
|---|---|
void |
set_trigger_value(boolean trigger)
This routine set the current value of the trigger_value in gc. |
| 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 |
| Constructor Detail |
|---|
public GuardCondition()
| Method Detail |
|---|
public void set_trigger_value(boolean trigger)
A true v argument indicates that the trigger_value is TRUE.
A false v argument indicates that the trigger_value is FALSE.
Setting the trigger value to a true 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.]
WaitSet
|
Copyright © 2010 Twin Oaks Computing, Inc, All Rights Reserved |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||