- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.Struct32
-
- de.ibapl.jnhw.posix.Time.Timer_t
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Time
public static final class Time.Timer_t extends Struct32
POSIX:typedef pthread_t.- Author:
- aploese
-
-
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.NativeMemoryAlignment
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, LOG, memoryOwner
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intalignof()StringnativeToString()voidnativeToString(Appendable sb, String indentPrefix, String indent)static intsizeof()Get the real size of timer_t natively.-
Methods inherited from class de.ibapl.jnhw.common.memory.Struct32
getBaseDataType, nativeToHexString
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
calcNextOffset, clear, copy, copy, equals, getByte, hashCode, memset, offsetof, printMemory, printMemory, setByte, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
ENOMEM, isSameAddress
-
-
-
-
Constructor Detail
-
Timer_t
public Timer_t() throws NoSuchNativeTypeException- Throws:
NoSuchNativeTypeException
-
Timer_t
public Timer_t(boolean cleanMem) throws NoSuchNativeTypeException- Throws:
NoSuchNativeTypeException
-
-
Method Detail
-
sizeof
@SizeOf public static int sizeof()
Get the real size of timer_t natively.- Returns:
- the native value sizeof(timer_t).
-
alignof
@AlignOf public static int alignof()
-
nativeToString
public void nativeToString(Appendable sb, String indentPrefix, String indent) throws IOException
- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32- Throws:
IOException
-
nativeToString
public String nativeToString()
- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32
-
-