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 Link icon

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure Link icon

    com.sun.jna.Structure.ByReference
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static 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 structure

    Fields inherited from class com.sun.jna.Structure Link icon

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
     
    int
     
    long
     
    int
     
     
    byte[]
     
     
     

    Methods inherited from class com.sun.jna.Structure Link icon

    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

    Methods inherited from class java.lang.Object Link icon

    getClass, notify, notifyAll, wait, wait, wait
  • Field Details Link icon

    • USB_IFC Link icon

      public static final int USB_IFC
      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 structure
      See Also:
    • BLUETOOTH_IFC Link icon

      public static final int BLUETOOTH_IFC
      See Also:
    • ETHERNET_IFC Link icon

      public static final int ETHERNET_IFC
      See Also:
    • ANY_IFC Link icon

      public static final int ANY_IFC
      See Also:
    • ProductName Link icon

      public byte[] ProductName
    • ProductID Link icon

      public int ProductID
    • InterfaceType Link icon

      public int InterfaceType
    • DevString Link icon

      public byte[] DevString
    • UniqueID Link icon

      public byte[] UniqueID
    • NUID Link icon

      public long NUID
    • Reserved Link icon

      public byte[] Reserved
  • Constructor Details Link icon

    • DaqDeviceDescriptor Link icon

      public DaqDeviceDescriptor()
  • Method Details Link icon

    • toString Link icon

      public String toString()
      Overrides:
      toString in class com.sun.jna.Structure
    • getProductName Link icon

      public String getProductName()
      Returns:
      the productName
    • getProductID Link icon

      public int getProductID()
      Returns:
      the productID
    • getInterfaceType Link icon

      public int getInterfaceType()
      Returns:
      the interfaceType
    • getDevString Link icon

      public String getDevString()
      Returns:
      the devString
    • getUniqueID Link icon

      public String getUniqueID()
      Returns:
      the uniqueID
    • getNUID Link icon

      public long getNUID()
      Returns:
      the nUID
    • getReserved Link icon

      public byte[] getReserved()
      Returns:
      the reserved