- 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.Termios.Speed_t
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Termios
public static class Termios.Speed_t extends NativeIntNumber
speed_t takes only symbolic constants, so the sign is of no relevance...
-
-
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
-
-
Constructor Summary
Constructors Constructor Description Speed_t(boolean clearMem)Speed_t(OpaqueMemory32 owner, int offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intalignof()BaseDataTypesgetBaseDataType()intgetValue()StringnativeToHexString()StringnativeToString()voidnativeToString(Appendable sb, String indentPrefix, String indent)voidsetValue(int value)static intsizeof()static booleanunsigned()-
Methods inherited from class de.ibapl.jnhw.common.memory.NativeIntNumber
getIntegerType, nativeInt16ToHexString, nativeInt32ToHexString, nativeInt64ToHexString, nativeInt8ToHexString
-
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
-
Speed_t
public Speed_t(boolean clearMem)
-
Speed_t
public Speed_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 int getValue()
-
setValue
public void setValue(int 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()
-
nativeToHexString
public String nativeToHexString()
- Specified by:
nativeToHexStringin interfaceNative- Overrides:
nativeToHexStringin classNativeIntNumber
-
-