- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.callback.NativeRunnable
-
- All Implemented Interfaces:
Native
public abstract class NativeRunnable extends OpaqueMemory32
- Author:
- aploese TODO cleanup on GC
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.SetMem
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, CLEANER, MEM_ACCESS, MEM_ACCESS_PROPERTY, NULL, parent
-
-
Constructor Summary
Constructors Constructor Description NativeRunnable()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcallback()BaseDataTypegetBaseDataType()StringnativeToHexString()voidreleaseObjectRef()release the object ref on the natice side to allow garbage collection of this objectstatic intsizeOf_ObjectRef()-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
checkIndex, clear, copy, copy, equals, getByte, getSizeInBytes, hashCode, memset, nativeToString, nativeToString, printMemory, printMemory, setByte, setMemTo, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
calcOffsetForAlignment, getOffset, getSizeInBytes, isSameAddress, offsetof, toNativeAddressHolder, toUintptr_t, toUintptr_tOrNULL
-
-
-
-
Method Detail
-
getBaseDataType
public BaseDataType getBaseDataType()
-
nativeToHexString
public String nativeToHexString()
-
releaseObjectRef
public void releaseObjectRef()
release the object ref on the natice side to allow garbage collection of this object
-
sizeOf_ObjectRef
public static int sizeOf_ObjectRef()
-
callback
protected abstract void callback()
-
-