|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.arc.brahms.vm.api.JAPI
public class JAPI
The JAPI class is a class with static members providing access to the VM Controller, the model and the world state.
Constructor Summary | |
---|---|
JAPI()
|
Method Summary | |
---|---|
static IModel |
getModel()
Returns a reference to the model loaded in the virtual machine. |
static IVMController |
getVMController()
Returns the virtual machine's controller usable by this agent. |
static IWorldState |
getWorldState()
Returns a reference to the world state managing the fact set. |
static void |
reset()
Resets the JAPI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAPI()
Method Detail |
---|
public static final IVMController getVMController() throws ExternalException
controller
- the virtual machine's controller
ExternalException
public static final IModel getModel() throws ExternalException
ExternalException
- is an internal error occurs.public static final IWorldState getWorldState() throws ExternalException
ExternalException
- if an internal error occurs.public static final void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |