|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.sim.util.TransactionalList
avrora.sim.util.MulticastProbe
The MulticastProbe is a wrapper around multiple probes that allows them to act as a single
probe. It is useful for composing multiple probes into one and is used internally in the simulator.
Simulator| Nested Class Summary |
| Nested classes inherited from class avrora.sim.util.TransactionalList |
TransactionalList.Link |
| Nested classes inherited from class avrora.sim.Simulator.Probe |
Simulator.Probe.Empty |
| Field Summary |
| Fields inherited from class avrora.sim.util.TransactionalList |
head, nesting, tail, transHead, transTail |
| Constructor Summary | |
MulticastProbe()
|
|
| Method Summary | |
void |
fireAfter(State state,
int pc)
The fireAfter() method is called after the probed instruction executes. |
void |
fireBefore(State state,
int pc)
The fireBefore() method is called before the probed instruction executes. |
| Methods inherited from class avrora.sim.util.TransactionalList |
add, beginTransaction, endTransaction, isEmpty, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MulticastProbe()
| Method Detail |
public void fireBefore(State state,
int pc)
fireBefore() method is called before the probed instruction executes. In the
implementation of the multicast probe, it simply calls the fireBefore() method on each of
the probes in the multicast set in the order in which they were inserted.
fireBefore in interface Simulator.Probestate - the state of the simulationpc - the address at which this instruction resides
public void fireAfter(State state,
int pc)
fireAfter() method is called after the probed instruction executes. In the
implementation of the multicast probe, it simply calls the fireAfter() method on each of
the probes in the multicast set in the order in which they were inserted.
fireAfter in interface Simulator.Probestate - the state of the simulationpc - the address at which this instruction resides
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||