|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.InterpreterFactory avrora.sim.GenInterpreter.Factory
The Factory()
class implements an interpreter factory that can create
a new interpreter for a new simulator instance with the given program.
Constructor Summary | |
GenInterpreter.Factory()
|
Method Summary | |
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 GenInterpreter.Factory()
Method Detail |
public BaseInterpreter newInterpreter(Simulator s, Program p, MicrocontrollerProperties pr)
InterpreterFactory
newInterpreter()
method creates a new interpreter given the simulator, the
program, and the properties of the microcontroller.
newInterpreter
in class InterpreterFactory
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 |