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
    Modifier and Type
    Class
    Description
    static class 
     

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

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

    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

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    long
     
    int
     
     
    byte[]
     
     
     

    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

    Methods inherited from class java.lang.Object

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

    • USB_IFC

      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

      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

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

      public String getProductName()
      Returns:
      the productName
    • getProductID

      public int getProductID()
      Returns:
      the productID
    • getInterfaceType

      public int getInterfaceType()
      Returns:
      the interfaceType
    • getDevString

      public String getDevString()
      Returns:
      the devString
    • getUniqueID

      public String getUniqueID()
      Returns:
      the uniqueID
    • getNUID

      public long getNUID()
      Returns:
      the nUID
    • getReserved

      public byte[] getReserved()
      Returns:
      the reserved