|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mitre.sim.api3.Trigger
org.mitre.sim.api3.exec.reference.ReferencePopulation.TriggerBecomesEmpty
Constructor Summary | |
ReferencePopulation.TriggerBecomesEmpty()
|
Method Summary | |
boolean |
condition()
Decision logic of the trigger. |
Methods inherited from class org.mitre.sim.api3.Trigger |
action, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReferencePopulation.TriggerBecomesEmpty()
Method Detail |
public boolean condition()
Trigger
trigger
are
used by simulation developers to detect changes in the simulation environment
and trigger action in their entities. Triggers
are used
to wake up entities whose agendas
are suspended in a call to
waitForActionOrTrigger
.
The simulation executive may invoke this
method an undetermined number of times. As a result, evaluation of the
condition
method should have no side effect in the simulation.
condition
in class Trigger
Entity.waitForActionOrTrigger(Trigger[] cs, double backStop)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |