CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class StatusCondition

java.lang.Object
  extended by com.toc.coredx.DDS.Condition
      extended by com.toc.coredx.DDS.StatusCondition

public class StatusCondition
extends Condition

A StatusCondition is a condition associated with an Entity. The trigger_value is driven by the communication status of the associated Entity.


Method Summary
 long get_enabled_statuses()
          This routine returns the statuses which are enabled in this StatusCondition.
 Entity get_entity()
          This routine returns the single entity associated with this StatusCondition.
 ReturnCode_t set_enabled_statuses(long mask)
          This routine sets the statuses which are enabled in this StatusCondition.
 
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
 

Method Detail

set_enabled_statuses

public ReturnCode_t set_enabled_statuses(long mask)
This routine sets the statuses which are enabled in this StatusCondition. The statuses are provided as a bitmask.


get_enabled_statuses

public long get_enabled_statuses()
This routine returns the statuses which are enabled in this StatusCondition. The statuses are returned as a bitmask.

See Also:
DDS.ALL_STATUS

get_entity

public Entity get_entity()
This routine returns the single entity associated with this StatusCondition.


Copyright © 2010 Twin Oaks Computing, Inc,
All Rights Reserved