|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.sim.Simulator.Probe.Empty
The Simulator.Probe.Empty class is a simple base class for probes that do
not implement one or more methods. Deriving from this class allows shorter probes to
be written.
| Nested Class Summary |
| Nested classes inherited from class avrora.sim.Simulator.Probe |
Simulator.Probe.Empty |
| Constructor Summary | |
Simulator.Probe.Empty()
|
|
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Simulator.Probe.Empty()
| Method Detail |
public void fireBefore(State state,
int pc)
fireBefore() method is called before the probed instruction executes.
In the implementation of the Empty probe, this method is empty.
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 Empty probe, this method is empty.
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 | |||||||||