avrora.gui
Class VisualRegMonitor

java.lang.Object
  extended byavrora.util.help.HelpCategory
      extended byavrora.monitors.MonitorFactory
          extended byavrora.gui.VisualRegMonitor
All Implemented Interfaces:
HelpItem

public class VisualRegMonitor
extends MonitorFactory

The VisualRegMonitor class is a monitor that tracks the current value of a register


Nested Class Summary
 class VisualRegMonitor.VisualMonitor
          The Monitor class implements a monitor for the stack height that inserts a probe after every instruction in the program and checks the stack height after each instruction is executed.
 
Field Summary
 
Fields inherited from class avrora.monitors.MonitorFactory
options
 
Fields inherited from class avrora.util.help.HelpCategory
COMPARATOR, help, name
 
Constructor Summary
VisualRegMonitor()
          The constructor for the StackMonitor class builds a new MonitorFactory capable of creating monitors for each Simulator instance passed to the newMonitor() method.
 
Method Summary
 Monitor newMonitor(Simulator s)
          The newMonitor() method creates a new monitor that is capable of monitoring the stack height of the program over its execution.
 
Methods inherited from class avrora.monitors.MonitorFactory
processOptions
 
Methods inherited from class avrora.util.help.HelpCategory
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualRegMonitor

public VisualRegMonitor()
The constructor for the StackMonitor class builds a new MonitorFactory capable of creating monitors for each Simulator instance passed to the newMonitor() method.

Method Detail

newMonitor

public Monitor newMonitor(Simulator s)
The newMonitor() method creates a new monitor that is capable of monitoring the stack height of the program over its execution.

Specified by:
newMonitor in class MonitorFactory
Parameters:
s - the simulator to create a monitor for
Returns:
an instance of the Monitor interface for the specified simulator