Top Inners Constructors Methods
com.kenai.jffi

public abstract Class ObjectParameterInvoker

extends Object
Class Inheritance
Known Direct Subclasses
com.kenai.jffi.HeapObjectParameterInvoker, com.kenai.jffi.NativeObjectParameterInvoker

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ObjectParameterInvoker
public abstract long
invokeN1O1rN(Function
The Function to invoke.
function
,
long
numeric argument.
n1
,
Object
array or buffer, to be passed as a pointer for the first numeric parameter.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
)

Invokes a function with one numeric argument (which may be a pointer), and returns a numeric value.

public abstract long
invokeN2O1rN(Function
The Function to invoke.
function
,
long
first numeric argument.
n1
,
long
The second numeric argument.
n2
,
Object
An Object (array or buffer), to be passed as a pointer.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
)

Invokes a function with two numeric arguments, and returns a numeric value.

public abstract long
invokeN2O2rN(Function
The Function to invoke.
function
,
long
first numeric argument.
n1
,
long
The second numeric argument.
n2
,
Object
An Object (array or buffer), to be passed as a pointer.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
,
Object
An Object (array or buffer), to be passed as a pointer.
o2
,
int
The offset from the start of the array or buffer.
o2off
,
int
The length of the array to use.
o2len
,
ObjectParameterInfo
Object flags (direction, type, idx).
o2flags
)

Invokes a function with two numeric arguments, and returns a numeric value.

public abstract long
invokeN3O1rN(Function
The Function to invoke.
function
,
long
first numeric argument.
n1
,
long
The second numeric argument.
n2
,
long
The second numeric argument.
n3
,
Object
An Object (array or buffer), to be passed as a pointer.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
)

Invokes a function with two numeric arguments, and returns a numeric value.

public abstract long
invokeN3O2rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

public abstract long
invokeN3O3rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

public abstract long
invokeN4O1rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

public abstract long
invokeN4O2rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

public abstract long
invokeN4O3rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

public abstract long
invokeN5O1rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

public abstract long
invokeN5O2rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

public abstract long
invokeN5O3rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

public abstract long
invokeN6O1rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

public abstract long
invokeN6O2rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

public abstract long
invokeN6O3rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

public abstract boolean
pack-priv static ObjectParameterInvoker
pack-priv static ObjectParameterInvoker
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ObjectParameterInvokerback to summary
public ObjectParameterInvoker()

Method Detail

getInstanceback to summary
public static ObjectParameterInvoker getInstance()
invokeN1O1rNback to summary
public abstract long invokeN1O1rN(Function function, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Invokes a function with one numeric argument (which may be a pointer), and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

numeric argument.

o1:Object

array or buffer, to be passed as a pointer for the first numeric parameter.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

invokeN2O1rNback to summary
public abstract long invokeN2O1rN(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

first numeric argument.

n2:long

The second numeric argument.

o1:Object

An Object (array or buffer), to be passed as a pointer.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

invokeN2O2rNback to summary
public abstract long invokeN2O2rN(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

first numeric argument.

n2:long

The second numeric argument.

o1:Object

An Object (array or buffer), to be passed as a pointer.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

o2:Object

An Object (array or buffer), to be passed as a pointer.

o2off:int

The offset from the start of the array or buffer.

o2len:int

The length of the array to use.

o2flags:ObjectParameterInfo

Object flags (direction, type, idx).

invokeN3O1rNback to summary
public abstract long invokeN3O1rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

first numeric argument.

n2:long

The second numeric argument.

n3:long

The second numeric argument.

o1:Object

An Object (array or buffer), to be passed as a pointer.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

invokeN3O2rNback to summary
public abstract long invokeN3O2rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)
invokeN3O3rNback to summary
public abstract long invokeN3O3rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)
invokeN4O1rNback to summary
public abstract long invokeN4O1rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)
invokeN4O2rNback to summary
public abstract long invokeN4O2rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)
invokeN4O3rNback to summary
public abstract long invokeN4O3rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)
invokeN5O1rNback to summary
public abstract long invokeN5O1rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)
invokeN5O2rNback to summary
public abstract long invokeN5O2rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)
invokeN5O3rNback to summary
public abstract long invokeN5O3rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)
invokeN6O1rNback to summary
public abstract long invokeN6O1rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)
invokeN6O2rNback to summary
public abstract long invokeN6O2rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)
invokeN6O3rNback to summary
public abstract long invokeN6O3rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)
isNativeback to summary
public abstract boolean isNative()
newHeapInvokerback to summary
pack-priv static ObjectParameterInvoker newHeapInvoker()
newNativeInvokerback to summary
pack-priv static ObjectParameterInvoker newNativeInvoker()
com.kenai.jffi back to summary

private final Class ObjectParameterInvoker.SingletonHolder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final ObjectParameterInvoker

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final ObjectParameterInvoker INSTANCE

Constructor Detail

SingletonHolderback to summary
private SingletonHolder()