|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.esw.eengine.core.Core
public final class Core
Core class of eEngine.
Also there is a Logger implemented which is accessible through
the getLogger() method. The Logger can be
reconfigured and extended statically or at runtime.
While based on the Java Logging API documentation can be found here
http://java.sun.com/j2se/1.5.0/docs/guide/logging/overview.html
getLogger()| Nested Class Summary | |
|---|---|
static class |
Core.RenderPipeline
|
| Constructor Summary | |
|---|---|
Core(Core.RenderPipeline renderPipeline)
Creates a new instance of the engine core. |
|
Core(java.lang.String renderPipeline)
Creates a new instance of the engine core. |
|
| Method Summary | |
|---|---|
IInputDevice |
createInputDevice(java.lang.Class<? extends IInputDevice> inputDevice)
Creates a new IInputDevice. |
IRenderDevice |
createRenderDevice(java.lang.Class<? extends IRenderDevice> renderDevice)
Creates a new IRenderDevice. |
static java.util.logging.Logger |
getLogger()
|
IRenderDevice |
getRenderDevice()
|
ResourceManager |
getResourceManager()
|
void |
registerCodec(ICodec codec)
Registers a new resource codec to the engine |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Core(java.lang.String renderPipeline)
renderPipeline - RenderPipeline to usepublic Core(Core.RenderPipeline renderPipeline)
renderPipeline - RenderPipeline to use| Method Detail |
|---|
public static final java.util.logging.Logger getLogger()
public final void shutdown()
public final IRenderDevice getRenderDevice()
IRenderDevice.public final ResourceManager getResourceManager()
public final IRenderDevice createRenderDevice(java.lang.Class<? extends IRenderDevice> renderDevice)
throws EEngineException
IRenderDevice. There could only one device
at once. If this method is called when a device is already opened, then
the old one is closed before creation of the new one
renderDevice - The IRenderDevice to create.
IRenderDevice
EEngineException - Thrown in the given IRenderDevice could not be
created
public final IInputDevice createInputDevice(java.lang.Class<? extends IInputDevice> inputDevice)
throws EEngineException
IInputDevice.
inputDevice - The IInputDevice to create.
IInputDevice instance
EEngineException - Thrown in the given IInputDevice could not be
created
public void registerCodec(ICodec codec)
throws EEngineException
codec - Codec to register
EEngineException - Thrown if no ResourceManager is available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||