com.groovemanager.spi.asio
Class ASIOTimeStamp

java.lang.Object
  extended by com.groovemanager.spi.asio.NativeClass
      extended by com.groovemanager.spi.asio.ASIOTimeStamp

final class ASIOTimeStamp
extends NativeClass

This is a wrapper class for the native ASIOTimeStamp struct

Author:
Manu Robledo

Constructor Summary
ASIOTimeStamp()
          Constructs a new ASIOTimeStamp struct and creates a corresponding native instance
ASIOTimeStamp(long pointer)
          Constructs a new ASIOTimeStamp struct that corresponds to an existing native instance, which is specified by the pointer
 
Method Summary
protected  void cleanUp()
          Delete the corresponding native instance to this class
protected  long createClass()
          Create a new native instance and return its address
(package private)  double doubleValue()
          Get the value of this ASIOTimeStamp instance as double
 
Methods inherited from class com.groovemanager.spi.asio.NativeClass
finalize, getPointer
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASIOTimeStamp

ASIOTimeStamp()
Constructs a new ASIOTimeStamp struct and creates a corresponding native instance


ASIOTimeStamp

ASIOTimeStamp(long pointer)
Constructs a new ASIOTimeStamp struct that corresponds to an existing native instance, which is specified by the pointer

Parameters:
pointer - The native address of the native ASIOTimeStamp instance
Method Detail

createClass

protected long createClass()
Description copied from class: NativeClass
Create a new native instance and return its address

Specified by:
createClass in class NativeClass
Returns:
The address of the new created native instance

cleanUp

protected void cleanUp()
Description copied from class: NativeClass
Delete the corresponding native instance to this class

Specified by:
cleanUp in class NativeClass

doubleValue

double doubleValue()
Get the value of this ASIOTimeStamp instance as double

Returns:
The value of this ASIOTimeStamp instance