com.groovemanager.spi.asio
Class ASIOTime

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

final class ASIOTime
extends NativeClass

This is a wrapper class for the native ASIOTime struct

Author:
Manu Robledo

Field Summary
(package private)  ASIOTimeCode timeCode
          The timeCode-Attribute of ASIOTime
(package private)  AsioTimeInfo timeInfo
          The timeInfo-Attribute of ASIOTime
 
Constructor Summary
ASIOTime()
          Constructs a new ASIOTime struct and creates a corresponding native instance as well as native instances for timeCode and timeInfo
ASIOTime(long pointer)
          Constructs a new ASIOTime 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
private  long jTimeCode()
           
private  long jTimeInfo()
           
 
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
 

Field Detail

timeCode

final ASIOTimeCode timeCode
The timeCode-Attribute of ASIOTime


timeInfo

final AsioTimeInfo timeInfo
The timeInfo-Attribute of ASIOTime

Constructor Detail

ASIOTime

ASIOTime()
Constructs a new ASIOTime struct and creates a corresponding native instance as well as native instances for timeCode and timeInfo


ASIOTime

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

Parameters:
pointer - The native address of the native ASIOTime 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

jTimeInfo

private long jTimeInfo()

jTimeCode

private long jTimeCode()