org.omg.dds.core
Class GuardCondition
java.lang.Object
org.omg.dds.core.GuardCondition
- All Implemented Interfaces:
- Condition, DDSObject
public abstract class GuardCondition
- extends java.lang.Object
- implements Condition
A GuardCondition object is a specific Condition whose triggerValue is
completely under the control of the application. When it is first created,
the triggerValue is set to false.
The purpose of the GuardCondition is to provide the means for the
application to manually wake up a WaitSet. This is accomplished by
attaching the GuardCondition to the WaitSet and then setting the
triggerValue by means of the setTriggerValue(boolean) operation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuardCondition
public GuardCondition()
newGuardCondition
public static GuardCondition newGuardCondition(Bootstrap bootstrap)
- Parameters:
bootstrap - Identifies the Service instance to which the new
object will belong.
setTriggerValue
public abstract void setTriggerValue(boolean value)
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.