|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.InterpreterFactory
The InterpreterFactory
class represents a factory for creating interpreters. This
is used to create new interpreters for simulators so that the simulator is isolated from the
details of constructing new interpreters, which could have a considerable number of options.
Constructor Summary | |
InterpreterFactory()
|
Method Summary | |
abstract BaseInterpreter |
newInterpreter(Simulator s,
Program p,
MicrocontrollerProperties pr)
The newInterpreter() method creates a new interpreter given the simulator, the
program, and the properties of the microcontroller. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InterpreterFactory()
Method Detail |
public abstract BaseInterpreter newInterpreter(Simulator s, Program p, MicrocontrollerProperties pr)
newInterpreter()
method creates a new interpreter given the simulator, the
program, and the properties of the microcontroller.
s
- the simulator for which the interpreter is being createdp
- the program to load into the interpreterpr
- the properties of the microcontroller
BaseInterpreter
class for the program
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |