avrora.test.probes
Class ProbeTest.TestWatch

java.lang.Object
  extended byavrora.test.probes.ProbeTest.TestEntity
      extended byavrora.test.probes.ProbeTest.TestWatch
All Implemented Interfaces:
Simulator.Watch
Enclosing class:
ProbeTest

public class ProbeTest.TestWatch
extends avrora.test.probes.ProbeTest.TestEntity
implements Simulator.Watch


Nested Class Summary
 
Nested classes inherited from class avrora.sim.Simulator.Watch
Simulator.Watch.Empty
 
Method Summary
 void fireAfterRead(State state, int data_addr, byte value)
          The fireAfterRead() method is called after the data address is read by the program.
 void fireAfterWrite(State state, int data_addr, byte value)
          The fireAfterWrite() method is called after the data address is written by the program.
 void fireBeforeRead(State state, int data_addr)
          The fireBeforeRead() method is called before the data address is read by the program.
 void fireBeforeWrite(State state, int data_addr, byte value)
          The fireBeforeWrite() method is called before the data address is written by the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fireBeforeRead

public void fireBeforeRead(State state,
                           int data_addr)
Description copied from interface: Simulator.Watch
The fireBeforeRead() method is called before the data address is read by the program.

Specified by:
fireBeforeRead in interface Simulator.Watch
Parameters:
state - the state of the simulation
data_addr - the address of the data being referenced

fireBeforeWrite

public void fireBeforeWrite(State state,
                            int data_addr,
                            byte value)
Description copied from interface: Simulator.Watch
The fireBeforeWrite() method is called before the data address is written by the program.

Specified by:
fireBeforeWrite in interface Simulator.Watch
Parameters:
state - the state of the simulation
data_addr - the address of the data being referenced
value - the value being written to the memory location

fireAfterRead

public void fireAfterRead(State state,
                          int data_addr,
                          byte value)
Description copied from interface: Simulator.Watch
The fireAfterRead() method is called after the data address is read by the program.

Specified by:
fireAfterRead in interface Simulator.Watch
Parameters:
state - the state of the simulation
data_addr - the address of the data being referenced
value - the value of the memory location being read

fireAfterWrite

public void fireAfterWrite(State state,
                           int data_addr,
                           byte value)
Description copied from interface: Simulator.Watch
The fireAfterWrite() method is called after the data address is written by the program.

Specified by:
fireAfterWrite in interface Simulator.Watch
Parameters:
state - the state of the simulation
data_addr - the address of the data being referenced
value - the value being written to the memory location