org.omg.dds.core
Class GuardCondition

java.lang.Object
  extended by 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.


Constructor Summary
GuardCondition()
           
 
Method Summary
static GuardCondition newGuardCondition(Bootstrap bootstrap)
           
abstract  void setTriggerValue(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.dds.core.Condition
getTriggerValue
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Constructor Detail

GuardCondition

public GuardCondition()
Method Detail

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.