engine
Class AtInstruction
java.lang.Object
|
+--engine.Instruction
|
+--engine.DefaultInstruction
|
+--engine.AtInstruction
- class AtInstruction
- extends DefaultInstruction
Implements the @(... OR ... ) instruction
!! this executes ONLY ONE TIME PER Clock2 ! because it attaches to all
monitors, and then detaches from all, all the values are updated,
even if they were not producing the trigger. So, if they change in
the same Clock2, nothing happens anymore.
- See Also:
- Serialized Form
|
Field Summary |
(package private) java.lang.Object |
semaphore
|
(package private) java.util.Vector |
theEvents
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
theEvents
java.util.Vector theEvents
semaphore
java.lang.Object semaphore
AtInstruction
AtInstruction(NameSpace ns,
int delayBefore,
InstructionDescription desc,
DefaultInstruction block)
execute
public void execute()
throws InterpretTimeException,
SimulationStoppedException
nothingHappen
boolean nothingHappen()
consume
void consume()
alreadyOn
boolean alreadyOn()
addMonitor
void addMonitor(ValueChangeMonitor m)