|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.util.help.HelpCategory avrora.monitors.MonitorFactory avrora.monitors.CallMonitor
The CallMonitor
class implements a monitor that is capable of tracing the call/return behavior
of a program while it executes.
Field Summary |
Fields inherited from class avrora.monitors.MonitorFactory |
options |
Fields inherited from class avrora.util.help.HelpCategory |
COMPARATOR, help, name |
Constructor Summary | |
CallMonitor()
The constructor for the CallMonitor class simply initializes the help for this
class. |
Method Summary | |
Monitor |
newMonitor(Simulator s)
The newMonitor() method simply creates a new call monitor for each simulator. |
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 |
public CallMonitor()
CallMonitor
class simply initializes the help for this
class. Monitors are also help categories, so they will have an options section in their help
that explains each option and its use.
Method Detail |
public Monitor newMonitor(Simulator s)
newMonitor()
method simply creates a new call monitor for each simulator. The
call monitor will print out each call, interrupt, and return during the execution of the program.
newMonitor
in class MonitorFactory
s
- the simulator to create a new monitor for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |