public abstract class WakeupCondition
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
ALL_ELEMENTS |
(package private) WakeupCriteriaEnumerator |
allEnum
This is the allElements enumerator
|
(package private) BehaviorRetained |
behav
The BehaviorRetained node that is using this condition
|
(package private) boolean |
conditionMet
This boolean indicates whether this condition has been fully met.
|
(package private) int |
id
The location of this criterion in the parents array.
|
(package private) int[][] |
listIdx |
(package private) WakeupCondition |
parent
This points to the parent of this criterion in the AndOr tree
|
(package private) WakeupCriteriaEnumerator |
trigEnum
This is the triggeredElements enumerator
|
(package private) static int |
TRIGGERED_ELEMENTS |
| Constructor and Description |
|---|
WakeupCondition() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Enumeration |
allElements()
Returns an enumeration of all WakeupCriterias in this Condition.
|
(package private) void |
buildTree(WakeupCondition parent,
int id,
BehaviorRetained b)
Initialize And/Or tree and add criterion to the BehaviourStructure
|
(package private) void |
cleanTree(BehaviorStructure bs)
This goes through the AndOr tree to remove the various criterion from the
BehaviorStructure.
|
(package private) void |
reInsertElapseTimeCond() |
(package private) void |
resetTree() |
(package private) void |
setConditionMet(int id,
java.lang.Boolean checkSchedulingRegion)
this sets the conditionMet flag.
|
java.util.Enumeration |
triggeredElements()
Returns an enumeration of all triggered WakeupCriterias in this Condition.
|
static final int ALL_ELEMENTS
static final int TRIGGERED_ELEMENTS
boolean conditionMet
WakeupCondition parent
int id
BehaviorRetained behav
WakeupCriteriaEnumerator allEnum
WakeupCriteriaEnumerator trigEnum
int[][] listIdx
public java.util.Enumeration allElements()
public java.util.Enumeration triggeredElements()
void setConditionMet(int id,
java.lang.Boolean checkSchedulingRegion)
void buildTree(WakeupCondition parent, int id, BehaviorRetained b)
void cleanTree(BehaviorStructure bs)
void reInsertElapseTimeCond()
void resetTree()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.