org.ogre4j
Interface ITimer

All Superinterfaces:
IAllocatedObject<IGeneralAllocPolicy>, IGeneralAllocatedObject, INativeObject
All Known Implementing Classes:
Timer

public interface ITimer
extends INativeObject, IGeneralAllocatedObject


Method Summary
 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 interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setOption

boolean setOption(java.lang.String strKey,
                  VoidPointer pValue)
Method for setting a specific option of the . These options are usually specific for a certain implementation of the class, and may (and probably will) not exist across different implementations. must be called after all calls.


reset

void reset()
Resets timer


getMilliseconds

long getMilliseconds()
Returns milliseconds since initialisation or last reset


getMicroseconds

long getMicroseconds()
Returns microseconds since initialisation or last reset


getMillisecondsCPU

long getMillisecondsCPU()
Returns milliseconds since initialisation or last reset, only CPU time measured


getMicrosecondsCPU

long getMicrosecondsCPU()
Returns microseconds since initialisation or last reset, only CPU time measured



Copyright © 2007 netAllied GmbH. All Rights Reserved.