|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.WakeupCondition
javax.media.j3d.WakeupAnd
public final class WakeupAnd
Class specifying any number of wakeup conditions ANDed together. This WakeupCondition object specifies that Java 3D should awaken this Behavior when all of the WakeupCondition's constituent wakeup criteria become valid.
Note that a unique WakeupCriterion object must be used for each individual element in the array of wakeup criteria.
Field Summary | |
---|---|
(package private) WakeupCriterion[] |
conditions
|
(package private) boolean[] |
conditionsMet
|
Fields inherited from class javax.media.j3d.WakeupCondition |
---|
ALL_ELEMENTS, allEnum, behav, conditionMet, id, listIdx, parent, trigEnum, TRIGGERED_ELEMENTS |
Constructor Summary | |
---|---|
WakeupAnd(WakeupCriterion[] conditions)
Constructs a new WakeupAnd criterion. |
Method Summary | |
---|---|
(package private) void |
buildTree(WakeupCondition parent,
int id,
BehaviorRetained b)
This gets called when this condition is added to the AndOr tree. |
(package private) void |
cleanTree(BehaviorStructure bs)
This goes through the AndOr tree to remove the various criterion from the BehaviorStructure lists |
(package private) void |
reInsertElapseTimeCond()
|
(package private) void |
resetTree()
This goes through the AndOr tree to remove the various criterion from the BehaviorStructure. |
(package private) void |
setConditionMet(int id,
java.lang.Boolean checkSchedulingRegion)
This sets the bit for the given child, then checks if the full condition is met |
Methods inherited from class javax.media.j3d.WakeupCondition |
---|
allElements, triggeredElements |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
WakeupCriterion[] conditions
boolean[] conditionsMet
Constructor Detail |
---|
public WakeupAnd(WakeupCriterion[] conditions)
conditions
- a vector of individual Wakeup conditionsMethod Detail |
---|
void setConditionMet(int id, java.lang.Boolean checkSchedulingRegion)
setConditionMet
in class WakeupCondition
void buildTree(WakeupCondition parent, int id, BehaviorRetained b)
buildTree
in class WakeupCondition
void cleanTree(BehaviorStructure bs)
cleanTree
in class WakeupCondition
void reInsertElapseTimeCond()
reInsertElapseTimeCond
in class WakeupCondition
void resetTree()
resetTree
in class WakeupCondition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |