com.ochafik.lang.jnaerator.runtime.globals
Class GlobalCallback<T extends Callback>

java.lang.Object
  extended by com.ochafik.lang.jnaerator.runtime.globals.Global
      extended by com.ochafik.lang.jnaerator.runtime.globals.GlobalCallback<T>

public class GlobalCallback<T extends Callback>
extends Global


Field Summary
protected  Class<T> type
           
protected  T value
           
 
Fields inherited from class com.ochafik.lang.jnaerator.runtime.globals.Global
library, pointer, symbols
 
Constructor Summary
GlobalCallback(NativeLibrary library, Class<T> type, String... symbols)
           
 
Method Summary
 T get()
           
 void set(T value)
           
 String toString()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.globals.Global
getPointer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected final Class<T extends Callback> type

value

protected T extends Callback value
Constructor Detail

GlobalCallback

public GlobalCallback(NativeLibrary library,
                      Class<T> type,
                      String... symbols)
Method Detail

get

public T get()

set

public void set(T value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.