|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.DelegatingParameter
com.jniwrapper.OutOnly
public class OutOnly
Represents a parameter that is only written by a native function. In documentation, such parameters are usually identified as [out]. Initial content of the corresponding memory area during the function call is undefined.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
OutOnly(OutOnly t)
|
|
OutOnly(Parameter param)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getDebugInfo()
Return debug info for JNIWrapper parameter. |
void |
pop(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Default implementation that does nothing because most primitive types do nothing on pop. |
void |
push(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes a parameter to a function stacks. |
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source. |
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source. |
Methods inherited from class com.jniwrapper.DelegatingParameter |
---|
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, setDataBuffer, setValueObject, toString |
Methods inherited from class com.jniwrapper.Parameter |
---|
asReturnValue, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, hashCode, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OutOnly(Parameter param)
public OutOnly(OutOnly t)
Method Detail |
---|
public void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
write
in class DelegatingParameter
MemoryAccessViolationException
public void read(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
read
in class DelegatingParameter
MemoryAccessViolationException
public void push(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
push
in class DelegatingParameter
MemoryAccessViolationException
public void pop(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
pop
in class DelegatingParameter
MemoryAccessViolationException
public java.lang.Object clone()
clone
in class Parameter
public java.lang.String getDebugInfo()
Parameter
getDebugInfo
in class DelegatingParameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |