jmce
Class Jmce
java.lang.Object
jmce.sim.AbstractHardware
jmce.Jmce
- All Implemented Interfaces:
- ExceptionListener, Hardware
public class Jmce
- extends AbstractHardware
- implements ExceptionListener
Main class for jmce.
Process command line options and launch the monitor or the selected
cpu.
- Version:
- 1.02
- Author:
- Mario Viara
Constructor Summary |
Jmce(java.lang.String[] argv)
|
Methods inherited from class jmce.sim.AbstractHardware |
addHardware, createFrame, destroy, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
versionNumber
public static java.lang.String versionNumber
version1
public static java.lang.String version1
version2
public static java.lang.String version2
JMCE_XML
public static final java.lang.String JMCE_XML
- See Also:
- Constant Field Values
cpu
public CPU cpu
Jmce
public Jmce(java.lang.String[] argv)
getInstance
public static Jmce getInstance()
exceptionEvent
public void exceptionEvent(ExceptionEvent ev)
- Specified by:
exceptionEvent
in interface ExceptionListener
start
public void start()
encode
public void encode(java.lang.String filename)
throws SIMException
- Throws:
SIMException
addChild
public void addChild(Hardware parent,
java.lang.Object o)
throws SIMException
- Throws:
SIMException
setCPU
public void setCPU(java.lang.Object o)
throws SIMException
- Throws:
SIMException
decode
public java.lang.Object decode(java.lang.String filename)
throws SIMException
- Throws:
SIMException
showConfig
public static void showConfig(CPU cpu,
Console t)
throws SIMException
- Throws:
SIMException
main
public static void main(java.lang.String[] argv)
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractHardware