Package mcc.mccjna
Class DaqDeviceDescriptor
java.lang.Object
com.sun.jna.Structure
mcc.mccjna.DaqDeviceDescriptor
- Direct Known Subclasses:
DaqDeviceDescriptor.ByValue
public class DaqDeviceDescriptor
extends com.sun.jna.Structure
DaqDeviceDescriptor class mirroring the C version for use with JNA.
- Author:
- Doug Gillespie
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
byte[]
static final int
int
long
int
byte[]
byte[]
byte[]
static final int
Values for DaqDeviceDescritor Interfacetype (enum in C version, int here) Seems to be OK having these here, even though they are not part of the original structureFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, dataEquals, dataEquals, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, newInstance, read, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toArray, toArray, toString, write, writeField, writeField
-
Field Details
-
USB_IFC
public static final int USB_IFCValues for DaqDeviceDescritor Interfacetype (enum in C version, int here) Seems to be OK having these here, even though they are not part of the original structure- See Also:
-
BLUETOOTH_IFC
public static final int BLUETOOTH_IFC- See Also:
-
ETHERNET_IFC
public static final int ETHERNET_IFC- See Also:
-
ANY_IFC
public static final int ANY_IFC- See Also:
-
ProductName
public byte[] ProductName -
ProductID
public int ProductID -
InterfaceType
public int InterfaceType -
DevString
public byte[] DevString -
UniqueID
public byte[] UniqueID -
NUID
public long NUID -
Reserved
public byte[] Reserved
-
-
Constructor Details
-
DaqDeviceDescriptor
public DaqDeviceDescriptor()
-
-
Method Details
-
toString
- Overrides:
toString
in classcom.sun.jna.Structure
-
getProductName
- Returns:
- the productName
-
getProductID
public int getProductID()- Returns:
- the productID
-
getInterfaceType
public int getInterfaceType()- Returns:
- the interfaceType
-
getDevString
- Returns:
- the devString
-
getUniqueID
- Returns:
- the uniqueID
-
getNUID
public long getNUID()- Returns:
- the nUID
-
getReserved
public byte[] getReserved()- Returns:
- the reserved
-