com.groovemanager.spi.asio
Class ASIOTimeCode

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

final class ASIOTimeCode
extends NativeClass

This is a wrapper class for the native ASIOTimeCode struct

Author:
Manu Robledo

Field Summary
(package private) static long FLAG_kTcOnspeed
           
(package private) static long FLAG_kTcReverse
           
(package private) static long FLAG_kTcRunning
           
(package private) static long FLAG_kTcSpeedValid
           
(package private) static long FLAG_kTcStill
           
(package private) static long FLAG_kTcValid
          ASIOTimeCode flag
 
Constructor Summary
ASIOTimeCode()
          Constructs a new ASIOTimeCode struct and creates a corresponding native instance
ASIOTimeCode(long pointer)
          Constructs a new ASIOTimeCode 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)  long flags()
          The flags-Attribute of ASIOTimeCode
private  long jtimeCodeSamples()
           
private static long kTcOnspeed()
           
private static long kTcReverse()
           
private static long kTcRunning()
           
private static long kTcSpeedValid()
           
private static long kTcStill()
           
private static long kTcValid()
           
(package private)  double speed()
          The speed-Attribute of ASIOTimeCode
(package private)  ASIOSamples timeCodeSamples()
          The timeCodeSamples-Attribute of ASIOTimeCode
 java.lang.String toString()
           
 
Methods inherited from class com.groovemanager.spi.asio.NativeClass
finalize, getPointer
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FLAG_kTcOnspeed

static final long FLAG_kTcOnspeed

FLAG_kTcReverse

static final long FLAG_kTcReverse

FLAG_kTcRunning

static final long FLAG_kTcRunning

FLAG_kTcSpeedValid

static final long FLAG_kTcSpeedValid

FLAG_kTcStill

static final long FLAG_kTcStill

FLAG_kTcValid

static final long FLAG_kTcValid
ASIOTimeCode flag

Constructor Detail

ASIOTimeCode

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


ASIOTimeCode

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

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

cleanUp

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

Specified by:
cleanUp in class NativeClass

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

flags

long flags()
The flags-Attribute of ASIOTimeCode

Returns:
The flags-Attribute of ASIOTimeCode

jtimeCodeSamples

private long jtimeCodeSamples()

kTcOnspeed

private static long kTcOnspeed()

kTcReverse

private static long kTcReverse()

kTcRunning

private static long kTcRunning()

kTcSpeedValid

private static long kTcSpeedValid()

kTcStill

private static long kTcStill()

kTcValid

private static long kTcValid()

speed

double speed()
The speed-Attribute of ASIOTimeCode

Returns:
The speed-Attribute of ASIOTimeCode

timeCodeSamples

ASIOSamples timeCodeSamples()
The timeCodeSamples-Attribute of ASIOTimeCode

Returns:
The timeCodeSamples-Attribute of ASIOTimeCode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object