org.openmuc.canopen.lib
Class CLibrary.sockaddr_can

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

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

Implements the C-structure sockaddr_can.
You need to call

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


Nested Class Summary
static class CLibrary.sockaddr_can.ByReference
           
static class CLibrary.sockaddr_can.can_addrUNION
           
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByValue
 
Field Summary
 CLibrary.sockaddr_can.can_addrUNION can_addr
           
 short can_family
           
 int can_ifindex
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
CLibrary.sockaddr_can()
           
 
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

can_family

public short can_family

can_ifindex

public int can_ifindex

can_addr

public CLibrary.sockaddr_can.can_addrUNION can_addr
Constructor Detail

CLibrary.sockaddr_can

public CLibrary.sockaddr_can()