- 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.Signal.Mcontext_t
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Signal
public static final class Signal.Mcontext_t extends Struct32
POSIX:typedef mcontext_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
-
-
Constructor Summary
Constructors Constructor Description Mcontext_t()Mcontext_t(NativeAddressHolder baseAddress)Mcontext_t(OpaqueMemory32 owner, int offset)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intalignof()static intsizeof()Get the real size of struct mcontext_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, nativeToString, nativeToString, offsetof, printMemory, printMemory, setByte, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
ENOMEM, isSameAddress
-
-
-
-
Constructor Detail
-
Mcontext_t
public Mcontext_t() throws NoSuchNativeTypeException- Throws:
NoSuchNativeTypeException
-
Mcontext_t
public Mcontext_t(OpaqueMemory32 owner, int offset) throws NoSuchNativeTypeException
- Throws:
NoSuchNativeTypeException
-
Mcontext_t
public Mcontext_t(NativeAddressHolder baseAddress) throws NoSuchNativeTypeException
- Throws:
NoSuchNativeTypeException
-
-
Method Detail
-
sizeof
@SizeOf public static int sizeof() throws NoSuchNativeTypeException
Get the real size of struct mcontext_t natively.- Returns:
- the native value sizeof(struct mcontext_t).
- Throws:
NoSuchNativeTypeException
-
alignof
@AlignOf public static int alignof() throws NoSuchNativeTypeException
- Throws:
NoSuchNativeTypeException
-
-