- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.NativeIntNumber
-
- de.ibapl.jnhw.posix.sys.Types.Clock_t
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Types
public static class Types.Clock_t extends NativeIntNumber
-
-
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 Modifier and Type Field Description static BaseDataTypesdataType-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, LOG, memoryOwner
-
-
Constructor Summary
Constructors Constructor Description Clock_t(boolean clearMem)Clock_t(OpaqueMemory32 owner, int offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intalignof()BaseDataTypesgetBaseDataType()longgetValue()StringnativeToString()voidnativeToString(Appendable sb, String indentPrefix, String indent)voidsetValue(long value)static intsizeof()static booleanunsigned()-
Methods inherited from class de.ibapl.jnhw.common.memory.NativeIntNumber
getIntegerType, nativeInt16ToHexString, nativeInt32ToHexString, nativeInt64ToHexString, nativeInt8ToHexString, 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
-
-
-
-
Field Detail
-
dataType
public static final BaseDataTypes dataType
-
-
Constructor Detail
-
Clock_t
public Clock_t(boolean clearMem)
-
Clock_t
public Clock_t(OpaqueMemory32 owner, int offset)
-
-
Method Detail
-
sizeof
@SizeOf public static final int sizeof()
-
alignof
@AlignOf public static final int alignof()
-
unsigned
@Unsigned public static final boolean unsigned()
-
getValue
public long getValue()
-
setValue
public void setValue(long value)
-
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
-
getBaseDataType
public BaseDataTypes getBaseDataType()
-
-