org.openmuc.canopen.lib
Class CLibrary.ifreq

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.openmuc.canopen.lib.CLibrary.ifreq
Direct Known Subclasses:
CLibrary.ifreq.ByReference
Enclosing interface:
CLibrary

public static class CLibrary.ifreq
extends com.sun.jna.Structure

Implements the C-structure ifreq.
You need to call

setType(Class type)
in the ifr_ifrn and ifr_ifru union, if not called the value will remain null in the native layer.


Nested Class Summary
static class CLibrary.ifreq.ByReference
           
static class CLibrary.ifreq.ifr_ifrnUNION
           
static class CLibrary.ifreq.ifr_ifruUNION
           
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByValue
 
Field Summary
 CLibrary.ifreq.ifr_ifrnUNION ifr_ifrn
           
 CLibrary.ifreq.ifr_ifruUNION ifr_ifru
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
CLibrary.ifreq()
           
 
Method Summary
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldOrder, getFields, getFieldTypeInfo, getNativeAlignment, getNativeSize, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ifr_ifrn

public CLibrary.ifreq.ifr_ifrnUNION ifr_ifrn

ifr_ifru

public CLibrary.ifreq.ifr_ifruUNION ifr_ifru
Constructor Detail

CLibrary.ifreq

public CLibrary.ifreq()