|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Timer
public class Timer
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Timer()
|
|
Timer(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Timer(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Timer(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
long |
getMicroseconds()
Returns microseconds since initialisation or last reset |
long |
getMicrosecondsCPU()
Returns microseconds since initialisation or last reset, only CPU time measured |
long |
getMilliseconds()
Returns milliseconds since initialisation or last reset |
long |
getMillisecondsCPU()
Returns milliseconds since initialisation or last reset, only CPU time measured |
void |
reset()
Resets timer |
boolean |
setOption(java.lang.String strKey,
VoidPointer pValue)
Method for setting a specific option of the . |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public Timer(InstancePointer p)
protected Timer(InstancePointer p,
boolean remote)
public Timer(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public Timer()
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObject
public boolean setOption(java.lang.String strKey,
VoidPointer pValue)
setOption in interface ITimerpublic void reset()
reset in interface ITimerpublic long getMilliseconds()
getMilliseconds in interface ITimerpublic long getMicroseconds()
getMicroseconds in interface ITimerpublic long getMillisecondsCPU()
getMillisecondsCPU in interface ITimerpublic long getMicrosecondsCPU()
getMicrosecondsCPU in interface ITimer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||