|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Parameter | |
---|---|
com.jniwrapper | The com.jniwrapper package contains classes that allow calling native functions from Java(TM) code. |
com.jniwrapper.jawt | The com.jniwrapper.jawt package contains auxiliary classes for accessing the JAWT features
of the underlying platform. |
com.jniwrapper.util | The com.jniwrapper.util package contains helper and utility classes, such as Logger,
AppletHelper, StreamUtils etc. |
Uses of Parameter in com.jniwrapper |
---|
Subclasses of Parameter in com.jniwrapper | |
---|---|
class |
AbstractFloat
Base class for all floating-point types. |
class |
AnsiString
Represents a zero-terminated string of an 8-bit (ANSI) character declared in C as char[n] , where n is the length of the buffer. |
class |
AnsiStringArray
This type is specially designed for reading/writing double zero terminated (Ansi) string arrays. |
class |
ArithmeticalPointer
Pointer to a place within an allocated structure that handles reading and writing of offset pointer values. |
class |
BitField
Represents a bit field for structures. |
class |
Bool
Represents a bool (boolean) value and type. |
class |
Callback
Callback is a superclass for all classes representing callback functions. |
class |
Char
Represents the char value and type. |
class |
ComplexArray
Represents an array of objects. |
class |
Const
Represents a read-only parameter. |
class |
DelegatingParameter
Base class for all parameter types that wrap around other types. |
class |
DoubleFloat
Represents double float value and type. |
class |
ExternalArrayPointer
A pointer to an array returned from the native code. |
class |
ExternalStringPointer
This class is designed for reading externally allocated strings. |
class |
Int
C-like int value. |
class |
Int16
Represents a 16-bit integer value and type. |
class |
Int32
Represents a 32-bit integer value and type. |
class |
Int64
Represents a 64-bit integer value and type. |
class |
Int8
Represents an 8-bit integer (byte) value and type. |
class |
IntBool
This class represents four bytes boolean type. |
class |
LongDouble
Represents long double value and type. |
class |
LongInt
C-like long value. |
class |
OutOnly
Represents a parameter that is only written by a native function. |
class |
Pointer
This class represents a pointer to object in terms of C language. |
static class |
Pointer.Const
Represents a pointer to constant object. |
static class |
Pointer.OutOnly
Represents a pointer to object with undefined initial value. |
static class |
Pointer.Void
Represents a void * . |
class |
PrimitiveArray
Represents an array of primitive types such as array of bytes or array of integer values. |
class |
ResizingPointer
A pointer to an array that can be resized (reallocated) on the native side. |
class |
ShortInt
C-like short value. |
class |
SingleFloat
Represents the float value and type. |
class |
Str
Represents a string data that depends on Unicode support of an operating system under which the code is being executed. |
class |
StringArray
Represents a string array where strings are delimited by the zero character. |
class |
Structure
The class represents structures in terms of C language. |
class |
UInt
C-like unsigned int value. |
class |
UInt16
Represents a 16-bit unsigned integer value and type. |
class |
UInt32
Represents a 32-bit unsigned integer value and type. |
class |
UInt64
Represents 64-bit unsigned integer type specially designed to support UINT64 native type. |
class |
UInt8
Represents an 8-bit unsigned integer value and type. |
class |
ULongInt
C-like unsigned long value. |
class |
UnicodeChar
Represents a Unicode character ( wchar_t ) for Unix platform. |
class |
UnicodeString
Represents a Unicode string ( wchar_t * ) for Unix platform. |
class |
Union
Represents a C union type. |
class |
Unused
Represents a parameter which is not accessed in a native function. |
class |
UShortInt
C-like unsigned short value. |
class |
WideChar
Represents a Unicode character ( wchar_t ) |
class |
WideString
Represents Unicode string ( wchar_t[n] ) value and type, where n is the length of the buffer.. |
class |
WideStringArray
This type is specially designed for reading/writing double zero terminated (Unicode) string arrays. |
class |
ZeroTerminatedString
Base class for all types of zero-terminated strings. |
Methods in com.jniwrapper that return Parameter | |
---|---|
protected Parameter |
ZeroTerminatedString.asReturnValue()
|
protected Parameter |
StringArray.asReturnValue()
|
protected Parameter |
Str.asReturnValue()
|
protected Parameter |
PrimitiveArray.asReturnValue()
|
protected Parameter |
Parameter.asReturnValue()
Returns a parameter that represents this one as a return value. |
protected Parameter |
Callback.createReturnValueByFields()
|
Parameter |
Union.getActiveMember()
|
Parameter |
PrimitiveArray.getElement(int i)
|
Parameter |
ComplexArray.getElement(int i)
|
Parameter |
ArrayParameter.getElement(int i)
Returns an array item specified by an index. |
Parameter |
Structure.getMember(int i)
Returns a copy (clone) of a member with index i . |
Parameter[] |
Union.getMembers()
|
Parameter[] |
Structure.getMembers()
Returns structure members. |
protected Parameter[] |
Callback.getParameters()
|
Parameter |
Pointer.getReferencedObject()
Returns the referenced object of this pointer. |
Parameter |
ExternalArrayPointer.getReferencedObject()
|
protected Parameter |
Callback.getReturnValue()
|
protected Parameter |
DelegatingParameter.getValueObject()
|
Parameter[] |
SunOSSparcPlatformSupport.prepareFunctionCallParameters(Parameter[] params)
|
Parameter[] |
SunOSSparc64PlatformSupport.prepareFunctionCallParameters(Parameter[] params)
|
Parameter[] |
PrimitiveArray.toParameterArray()
|
Parameter[] |
ComplexArray.toParameterArray()
|
Parameter[] |
ArrayParameter.toParameterArray()
Returns items as Java array. |
Methods in com.jniwrapper with parameters of type Parameter | |
---|---|
protected void |
Structure.addMembers(Parameter[] additionalMembers)
Adds structure members (for example, in the case of structure inheritance). |
long |
FunctionCall.call(int libraryID,
int functionID,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
Deprecated. This method is incompatible with 64-bit architectures. Use FunctionCall.call(long, long, byte, Parameter, Parameter[]) instead. |
long |
FunctionCall.call(int libraryID,
int functionID,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
Deprecated. This method is incompatible with 64-bit architectures. Use FunctionCall.call(long, long, byte, Parameter, Parameter[]) instead. |
long |
FunctionCall.call(long libraryID,
long functionID,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
|
long |
FunctionCall.call(long libraryID,
long functionID,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
|
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue)
Convenience method that invokes a native code function, which has no parameters. |
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue,
Parameter parameter)
Convenience method that invokes a native code function with a single parameter. |
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue,
Parameter[] parameters)
Invokes the specified function from a specified native library. |
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue,
Parameter[] parameters)
Invokes the specified function from a specified native library. |
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue,
Parameter param1,
Parameter param2)
Convenience method that invokes a native code function, which has two parameters. |
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue,
Parameter param1,
Parameter param2,
Parameter param3)
Convenience method that invokes a native function with three parameters. |
static long |
Function.call(java.lang.String libraryName,
java.lang.String functionName,
Parameter returnValue,
Parameter param1,
Parameter param2,
Parameter param3,
Parameter param4)
Convenience method that invokes a native function with four parameters. |
protected void |
Callback.callback(Parameter[] parameters,
Parameter returnValue)
|
protected void |
Callback.callback(Parameter[] parameters,
Parameter returnValue)
|
long |
FunctionCall.callVirtual(int vtblAddress,
int funcIndex,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
Deprecated. This method is incompatible with 64-bit architectures. Use FunctionCall.callVirtual(long, int, byte, Parameter, Parameter[]) instead. |
long |
FunctionCall.callVirtual(int vtblAddress,
int funcIndex,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
Deprecated. This method is incompatible with 64-bit architectures. Use FunctionCall.callVirtual(long, int, byte, Parameter, Parameter[]) instead. |
long |
FunctionCall.callVirtual(long vtblAddress,
int funcIndex,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
|
long |
FunctionCall.callVirtual(long vtblAddress,
int funcIndex,
byte callingConvention,
Parameter returnValue,
Parameter[] parameters)
|
void |
IOPerformer.doIO(Parameter element,
DataBuffer dataSource,
int offset,
boolean invokedByCallback)
Performs a generic parameter I/O. |
void |
PrimitiveArray.fromParameterArray(Parameter[] params)
|
void |
ComplexArray.fromParameterArray(Parameter[] params)
|
void |
ArrayParameter.fromParameterArray(Parameter[] params)
Sets array contents to the given values. |
byte[] |
SunOSSparcPlatformSupport.generateCallbackParametersInfo(Parameter returnParameter,
Parameter[] params)
|
byte[] |
SunOSSparcPlatformSupport.generateCallbackParametersInfo(Parameter returnParameter,
Parameter[] params)
|
byte[] |
SunOSSparc64PlatformSupport.generateCallbackParametersInfo(Parameter returnParameter,
Parameter[] params)
|
byte[] |
SunOSSparc64PlatformSupport.generateCallbackParametersInfo(Parameter returnParameter,
Parameter[] params)
|
static int |
PlatformContext.getAlignedParameterLength(Parameter p)
Returns the length of the aligned parameter on the stack. |
void |
Library.getVariable(java.lang.String name,
Parameter variable)
Maps variable to memory address of a global variable in library. |
protected void |
Union.init(Parameter[] members)
Sets union members. |
protected void |
Structure.init(Parameter[] members)
Initializes the instance with specified structure members and default alignment for current Platform. |
protected void |
Callback.init(Parameter[] params,
Parameter retVal)
Initializes callback parameters. |
protected void |
Callback.init(Parameter[] params,
Parameter retVal)
Initializes callback parameters. |
protected void |
Structure.init(Parameter[] members,
short alignment)
Initializes the instance with specified structure members and alignment. |
long |
Function.invoke(Parameter returnValue)
Convenience method for calling a native function without parameters. |
long |
Function.invoke(Parameter returnValue,
Parameter parameter)
Convenience method for calling a native function with a single parameter. |
long |
Function.invoke(Parameter returnValue,
Parameter[] parameters)
Invokes the function with the passed parameters. |
long |
Function.invoke(Parameter returnValue,
Parameter[] parameters)
Invokes the function with the passed parameters. |
long |
Function.invoke(Parameter returnValue,
Parameter param1,
Parameter param2)
Convenience method for calling native function with two parameters. |
long |
Function.invoke(Parameter returnValue,
Parameter param1,
Parameter param2,
Parameter param3)
Convenience method for calling a native function with three parameters. |
long |
Function.invoke(Parameter returnValue,
Parameter param1,
Parameter param2,
Parameter param3,
Parameter param4)
Convenience method for calling native function with four parameters. |
Parameter[] |
SunOSSparcPlatformSupport.prepareFunctionCallParameters(Parameter[] params)
|
Parameter[] |
SunOSSparc64PlatformSupport.prepareFunctionCallParameters(Parameter[] params)
|
int |
SunOSSparcPlatformSupport.prepareReturnParameterFlags(Parameter retVal)
|
int |
SunOSSparc64PlatformSupport.prepareReturnParameterFlags(Parameter retVal)
|
void |
Union.setActiveMember(Parameter active)
Defines the member of this union that is currently used. |
void |
Union.setActiveMember(Parameter active,
boolean read)
Defines the member of this union that is currently used. |
void |
PrimitiveArray.setElement(int i,
Parameter elem)
|
void |
ComplexArray.setElement(int i,
Parameter elem)
|
void |
ArrayParameter.setElement(int i,
Parameter elem)
Replaces an array item with the specified object. |
void |
Pointer.setReferencedObject(Parameter ref)
Changes the pointer referenced object. |
void |
Pointer.setReferencedObject(Parameter ref,
boolean isNull)
Changes the pointer referenced object. |
protected void |
DelegatingParameter.setValueObject(Parameter value)
|
static byte[] |
Parameter.toByteArray(Parameter param)
Converts a parameter to a byte array. |
Constructors in com.jniwrapper with parameters of type Parameter | |
---|---|
ArithmeticalPointer(Parameter ref)
Constructs a pointer to a given object. |
|
Callback(Parameter[] params,
Parameter retVal)
Constructs a callback instance. |
|
Callback(Parameter[] params,
Parameter retVal)
Constructs a callback instance. |
|
ComplexArray(Parameter[] arr)
Constructs an array object taking a specified Parameter
array. |
|
ComplexArray(Parameter sample,
int count)
Constructs an array object. |
|
Const(Parameter param)
Constructs the Const object by wrapping a specified
Parameter object. |
|
DelegatingParameter(Parameter value)
|
|
OutOnly(Parameter param)
|
|
Pointer.Const(Parameter ref)
Constructs a new pointer to a given object. |
|
Pointer.Const(Parameter ref,
boolean isNull)
Constructs a new pointer to a given object. |
|
Pointer.OutOnly(Parameter ref)
Constructs a new pointer to a given object. |
|
Pointer(Parameter ref)
Constructs a new pointer to a given object. |
|
Pointer(Parameter ref,
boolean isNull)
Constructs a new pointer to a given object. |
|
PrimitiveArray(Parameter[] params)
Constructs an array object taking a specified Parameter
array. |
|
PrimitiveArray(Parameter sample,
int count)
Constructs an array object. |
|
Structure(Parameter[] members)
Constructs a new structure that consists of a given set of members with default alignment. |
|
Structure(Parameter[] members,
short alignment)
Constructs a new structure that consists of a given set of members with given alignment. |
|
Union(Parameter[] members)
Constructs a union with a given set of members. |
|
Unused(Parameter param)
Constructs a new unused parameter using a given sample. |
Uses of Parameter in com.jniwrapper.jawt |
---|
Subclasses of Parameter in com.jniwrapper.jawt | |
---|---|
class |
JAWT_DrawingSurface
JAWT drawing surface structure. |
class |
JAWT_DrawingSurfaceInfo
Information about a current drawing surface configuration. |
class |
JAWT_Rectangle
A rectangle structure. |
Uses of Parameter in com.jniwrapper.util |
---|
Methods in com.jniwrapper.util with parameters of type Parameter | |
---|---|
void |
FunctionCache.getVariable(java.lang.String name,
Parameter variable)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |