com.jme.system
Interface SystemProvider

All Known Implementing Classes:
DummySystemProvider, JOGLSystemProvider, LWJGLSystemProvider

public interface SystemProvider

Interface implemented by any providers of system-level implementations. DisplaySystem and Timer use standard jar file Service-provider lookup, documented here:

Author:
Andy Lubbers
See Also:
Service Provider

Method Summary
 void disposeDisplaySystem()
          Often the display system is in a static field.
 DisplaySystem getDisplaySystem()
          Returns a valid DisplaySystem for the current system.
 java.lang.String getProviderIdentifier()
          getProviderIdentifier returns a unique identifier for this system.
 Timer getTimer()
          Returns a hight resolution timer for the current system.
 

Method Detail

getProviderIdentifier

java.lang.String getProviderIdentifier()
getProviderIdentifier returns a unique identifier for this system.

Returns:
a globally unique identifier for the implementation system

getDisplaySystem

DisplaySystem getDisplaySystem()
Returns a valid DisplaySystem for the current system.

Returns:
a valid displaysystem for the implementation system

disposeDisplaySystem

void disposeDisplaySystem()
Often the display system is in a static field. This should null out this field so that subsequent calls are forced to make a new displaysystem.


getTimer

Timer getTimer()
Returns a hight resolution timer for the current system.

Returns:
a high resolution timer for the implementation system