|
||||||||||
| 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.MulticastIORWatch
The MulticastIORWatch is a wrapper around multiple watches that allows them to act as a single
watch. It is useful for composing multiple watches 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.IORWatch |
Simulator.IORWatch.Empty |
| Field Summary |
| Fields inherited from class avrora.sim.util.TransactionalList |
head, nesting, tail, transHead, transTail |
| Constructor Summary | |
MulticastIORWatch()
|
|
| Method Summary | |
void |
fireAfterBitRead(State state,
int ioreg_num,
int bit,
boolean value)
The fireAfterBitRead() method is called after the data address is read by the program.
|
void |
fireAfterBitWrite(State state,
int ioreg_num,
int bit,
boolean value)
The fireAfterBitWrite() method is called after the data address is written by the
program.
|
void |
fireAfterRead(State state,
int data_addr,
byte val)
The fireAfterRead() method is called after the probed address is read by the program. |
void |
fireAfterWrite(State state,
int data_addr,
byte val)
The fireAfterWrite() method is called after the probed address is written by the program.
|
void |
fireBeforeBitRead(State state,
int ioreg_num,
int bit)
The fireBeforeBitRead() method is called before the data address is read by the program.
|
void |
fireBeforeBitWrite(State state,
int ioreg_num,
int bit,
boolean value)
The fireBeforeBitWrite() method is called before the data address is written by the
program.
|
void |
fireBeforeRead(State state,
int data_addr)
The fireBeforeRead() method is called before the probed address is read by the program. |
void |
fireBeforeWrite(State state,
int data_addr,
byte val)
The fireBeforeWrite() method is called before the probed address is written by the
program. |
| 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 MulticastIORWatch()
| Method Detail |
public void fireBeforeRead(State state,
int data_addr)
fireBeforeRead() method is called before the probed address is read by the program. In
the implementation of the multicast probe, it simply calls the fireBeforeRead() method on
each of the probes in the multicast set in the order in which they were inserted.
fireBeforeRead in interface Simulator.Watchstate - the state of the simulationdata_addr - the address of the data being referenced
public void fireAfterRead(State state,
int data_addr,
byte val)
fireAfterRead() method is called after the probed address is read by the program. In
the implementation of the multicast probe, it simply calls the fireAfterRead() method on
each of the probes in the multicast set in the order in which they were inserted.
fireAfterRead in interface Simulator.Watchstate - the state of the simulationval - the value of the memory location being readdata_addr - the address of the data being referenced
public void fireBeforeWrite(State state,
int data_addr,
byte val)
fireBeforeWrite() method is called before the probed address is written by the
program. In the implementation of the multicast probe, it simply calls the
fireBeforeWrite() method on each of the probes in the multicast set in the order in which
they were inserted.
fireBeforeWrite in interface Simulator.Watchstate - the state of the simulationval - the value being written to the memory locationdata_addr - the address of the data being referenced
public void fireAfterWrite(State state,
int data_addr,
byte val)
fireAfterWrite() method is called after the probed address is written by the program.
In the implementation of the multicast probe, it simply calls the fireAfterWrite() method
on each of the probes in the multicast set in the order in which they were inserted.
fireAfterWrite in interface Simulator.Watchstate - the state of the simulationval - the value being written to the memory locationdata_addr - the address of the data being referenced
public void fireBeforeBitRead(State state,
int ioreg_num,
int bit)
fireBeforeBitRead() method is called before the data address is read by the program.
In the implementation of the Empty watch, this method does nothing.
fireBeforeBitRead in interface Simulator.IORWatchstate - the state of the simulationioreg_num - the number of the IO register being read
public void fireBeforeBitWrite(State state,
int ioreg_num,
int bit,
boolean value)
fireBeforeBitWrite() method is called before the data address is written by the
program.
In the implementation of the Empty watch, this method does nothing.
fireBeforeBitWrite in interface Simulator.IORWatchstate - the state of the simulationioreg_num - the number of the IO register being readvalue - the value being written to the memory location
public void fireAfterBitRead(State state,
int ioreg_num,
int bit,
boolean value)
fireAfterBitRead() method is called after the data address is read by the program.
In the implementation of the Empty watch, this method does nothing.
fireAfterBitRead in interface Simulator.IORWatchstate - the state of the simulationioreg_num - the number of the IO register being readvalue - the value of the memory location being read
public void fireAfterBitWrite(State state,
int ioreg_num,
int bit,
boolean value)
fireAfterBitWrite() method is called after the data address is written by the
program.
In the implementation of the Empty watch, this method does nothing.
fireAfterBitWrite in interface Simulator.IORWatchstate - the state of the simulationioreg_num - the number of the IO register being readvalue - the value being written to the memory location
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||