|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.WakeupCondition
public abstract class WakeupCondition
An abstract class specifying a single wakeup Condition. This class is extended by the WakeupCriterion, WakeupOr, WakeupAnd, WakeupOrOfAnds, and WakeupAndOfOr classes. A Behavior node hands a WakeupCondition object to the behavior scheduler and the behavior scheduler hands back an enumeration of that WakeupCondition.
Field Summary | |
---|---|
(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 Summary | |
---|---|
WakeupCondition()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final int ALL_ELEMENTS
static final int TRIGGERED_ELEMENTS
boolean conditionMet
WakeupCondition parent
int id
BehaviorRetained behav
WakeupCriteriaEnumerator allEnum
WakeupCriteriaEnumerator trigEnum
int[][] listIdx
Constructor Detail |
---|
public WakeupCondition()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |