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
 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_kTcValid

static final long FLAG_kTcValid
ASIOTimeCode flag


FLAG_kTcRunning

static final long FLAG_kTcRunning

FLAG_kTcReverse

static final long FLAG_kTcReverse

FLAG_kTcOnspeed

static final long FLAG_kTcOnspeed

FLAG_kTcStill

static final long FLAG_kTcStill

FLAG_kTcSpeedValid

static final long FLAG_kTcSpeedValid
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

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

speed

double speed()
The speed-Attribute of ASIOTimeCode

Returns:
The speed-Attribute of ASIOTimeCode

jtimeCodeSamples

private long jtimeCodeSamples()

flags

long flags()
The flags-Attribute of ASIOTimeCode

Returns:
The flags-Attribute of ASIOTimeCode

timeCodeSamples

ASIOSamples timeCodeSamples()
The timeCodeSamples-Attribute of ASIOTimeCode

Returns:
The timeCodeSamples-Attribute of ASIOTimeCode

kTcValid

private static long kTcValid()

kTcRunning

private static long kTcRunning()

kTcReverse

private static long kTcReverse()

kTcOnspeed

private static long kTcOnspeed()

kTcStill

private static long kTcStill()

kTcSpeedValid

private static long kTcSpeedValid()

toString

public String toString()
Overrides:
toString in class Object