- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.Struct32
-
- de.ibapl.jnhw.util.winapi.memory.WinApiStruct32
-
- de.ibapl.jnhw.winapi.Winbase.DCB
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Winbase
public static final class Winbase.DCB extends de.ibapl.jnhw.util.winapi.memory.WinApiStruct32WIN:structure DCB.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWinbase.DCB.Layout-
Nested classes/interfaces inherited from class de.ibapl.jnhw.util.winapi.memory.WinApiStruct32
de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_BOOL_As_int32_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_BYTE_As_uint8_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_DWORD_As_uint32_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_HANDLE_As_intptr_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_PVOID_As_uintptr_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_ULONG_PTR_As_uintptr_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_WORD_As_uint16_t
-
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.util.winapi.memory.WinApiStruct32
ACCESSOR_BOOL, ACCESSOR_BYTE, ACCESSOR_DWORD, ACCESSOR_HANDLE, ACCESSOR_PVOID, ACCESSOR_ULONG_PTR, ACCESSOR_WORD
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, CLEANER, LOG, MEM_ACCESS, MEM_ACCESS_PROPERTY, NULL, parent
-
-
Constructor Summary
Constructors Constructor Description DCB(AbstractNativeMemory.SetMem setMem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intBaudRate()voidBaudRate(int BaudRate)byteByteSize()voidByteSize(byte ByteSize)intDCBlength()voidDCBlength(int DCBlength)charEofChar()charErrorChar()charEvtChar()booleanfAbortOnError()booleanfBinary()booleanfDsrSensitivity()bytefDtrControl()Values: DTR_CONTROL_DISABLE DTR_CONTROL_ENABLE DTR_CONTROL_HANDSHAKEintfDummy2()booleanfErrorChar()booleanfInX()voidfInX(boolean fInX)booleanfNull()booleanfOutX()voidfOutX(boolean fOutX)booleanfOutxCtsFlow()voidfOutxCtsFlow(boolean fOutxCtsFlow)booleanfOutxDsrFlow()booleanfParity()bytefRtsControl()Values: RTS_CONTROL_DISABLE RTS_CONTROL_ENABLE RTS_CONTROL_HANDSHAKE RTS_CONTROL_TOGGLEvoidfRtsControl(byte fRtsControl)booleanfTXContinueOnXoff()byteParity()Values: EVENPARITY MARKPARITY NOPARITY ODDPARITY SPACEPARITYvoidParity(byte Parity)byteStopBits()Values: ONESTOPBIT ONE5STOPBITS TWOSTOPBITSvoidStopBits(byte StopBits)shortwReserved()shortwReserved1()charXoffChar()voidXoffChar(char XoffChar)shortXoffLim()charXonChar()voidXonChar(char XonChar)shortXonLim()-
Methods inherited from class de.ibapl.jnhw.common.memory.Struct32
getBaseDataType, nativeToHexString
-
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
-
-
-
-
Constructor Detail
-
DCB
public DCB(AbstractNativeMemory.SetMem setMem)
-
-
Method Detail
-
BaudRate
public int BaudRate()
- Returns:
- the native value of BaudRate.
-
BaudRate
public void BaudRate(int BaudRate)
- Parameters:
BaudRate- the value of BaudRate to be set natively.
-
ByteSize
public byte ByteSize()
- Returns:
- the native value of ByteSize.
-
ByteSize
public void ByteSize(byte ByteSize)
- Parameters:
ByteSize- the value of ByteSize to be set natively.
-
DCBlength
public int DCBlength()
- Returns:
- the native value of DCBlength.
-
DCBlength
public void DCBlength(int DCBlength)
- Parameters:
DCBlength- the value of DCBlength to be set natively.
-
EofChar
public char EofChar()
- Returns:
- the native value of EofChar.
-
ErrorChar
public char ErrorChar()
- Returns:
- the native value of ErrorChar.
-
EvtChar
public char EvtChar()
- Returns:
- the native value of EvtChar.
-
fAbortOnError
public boolean fAbortOnError()
- Returns:
- the native value of fAbortOnError.
-
fBinary
public boolean fBinary()
- Returns:
- the native value of fBinary.
-
fDsrSensitivity
public boolean fDsrSensitivity()
- Returns:
- the native value of fDsrSensitivity.
-
fDtrControl
public byte fDtrControl()
Values: DTR_CONTROL_DISABLE DTR_CONTROL_ENABLE DTR_CONTROL_HANDSHAKE- Returns:
- the native value of fDtrControl.
-
fDummy2
public int fDummy2()
- Returns:
- the native value of fDummy2.
-
fErrorChar
public boolean fErrorChar()
- Returns:
- the native value of fErrorChar.
-
fInX
public boolean fInX()
- Returns:
- the native value of fInX.
-
fInX
public void fInX(boolean fInX)
- Parameters:
fInX- the value of fInX to be set natively.
-
fNull
public boolean fNull()
- Returns:
- the native value of fNull.
-
fOutX
public boolean fOutX()
- Returns:
- the native value of fOutX.
-
fOutX
public void fOutX(boolean fOutX)
- Parameters:
fOutX- the value of fOutX to be set natively.
-
fOutxCtsFlow
public boolean fOutxCtsFlow()
- Returns:
- the native value of fOutxCtsFlow.
-
fOutxCtsFlow
public void fOutxCtsFlow(boolean fOutxCtsFlow)
- Parameters:
fOutxCtsFlow- the value of fOutxCtsFlow to be set natively.
-
fOutxDsrFlow
public boolean fOutxDsrFlow()
- Returns:
- the native value of fOutxDsrFlow.
-
fParity
public boolean fParity()
- Returns:
- the native value of fParity.
-
fRtsControl
public byte fRtsControl()
Values: RTS_CONTROL_DISABLE RTS_CONTROL_ENABLE RTS_CONTROL_HANDSHAKE RTS_CONTROL_TOGGLE- Returns:
- the native value of fRtsControl.
-
fRtsControl
public void fRtsControl(byte fRtsControl)
- Parameters:
fRtsControl- the value of fRtsControl to be set natively.
-
fTXContinueOnXoff
public boolean fTXContinueOnXoff()
- Returns:
- the native value of fTXContinueOnXoff.
-
Parity
public byte Parity()
Values: EVENPARITY MARKPARITY NOPARITY ODDPARITY SPACEPARITY- Returns:
- the native value of Parity.
-
Parity
public void Parity(byte Parity)
- Parameters:
Parity- the value of Parity to be set natively.
-
StopBits
public byte StopBits()
Values: ONESTOPBIT ONE5STOPBITS TWOSTOPBITS- Returns:
- the native value of StopBits.
-
StopBits
public void StopBits(byte StopBits)
- Parameters:
StopBits- the value of StopBits to be set natively.
-
wReserved
public short wReserved()
- Returns:
- the native value of wReserved.
-
wReserved1
public short wReserved1()
- Returns:
- the native value of wReserved1.
-
XoffChar
public char XoffChar()
- Returns:
- the native value of XoffChar.
-
XoffChar
public void XoffChar(char XoffChar)
- Parameters:
XoffChar- the value of XoffChar to be set natively.
-
XoffLim
public short XoffLim()
- Returns:
- the native value of XoffLim.
-
XonChar
public char XonChar()
- Returns:
- the native value of XonChar.
-
XonChar
public void XonChar(char XonChar)
- Parameters:
XonChar- the value of XonChar to be set natively.
-
XonLim
public short XonLim()
- Returns:
- the native value of XonLim.
-
-