"

2013 FRC Java API

"

com.sun.cldc.jna
Class OpaqueStructure

java.lang.Object
  extended by com.sun.cldc.jna.Structure
      extended by com.sun.cldc.jna.OpaqueStructure

public class OpaqueStructure
extends Structure

This is a "Structure" that we'll never look at the fields of.

Author:
dw29446

Field Summary
 
Fields inherited from class com.sun.cldc.jna.Structure
backingNativeMemory, NULL
 
Constructor Summary
OpaqueStructure()
           
 
Method Summary
 void read()
          Copy the fields of the struct from native memory to the Java fields
 int size()
           
 void write()
          Copy the java fields of the struct to native memory from the Java fields
 
Methods inherited from class com.sun.cldc.jna.Structure
allocateMemory, allocateMemory, clear, freeMemory, getPointer, release, toString, useMemory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpaqueStructure

public OpaqueStructure()
Method Detail

size

public int size()
Specified by:
size in class Structure
Returns:
the size of the native structure

read

public void read()
Description copied from class: Structure
Copy the fields of the struct from native memory to the Java fields

Specified by:
read in class Structure

write

public void write()
Description copied from class: Structure
Copy the java fields of the struct to native memory from the Java fields

Specified by:
write in class Structure

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"