| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.cldc.jna.Structure
edu.wpi.first.wpilibj.image.NIVision.Range
public static class NIVision.Range
| Field Summary | 
|---|
| Fields inherited from class com.sun.cldc.jna.Structure | 
|---|
| backingNativeMemory, NULL | 
| Constructor Summary | |
|---|---|
| NIVision.Range(int lower,
               int upper)Create a new range with the specified upper and lower boundaries | |
| Method Summary | |
|---|---|
|  void | free()Free the memory used by this range | 
|  int | getLower()Get the lower boundary | 
|  int | getUpper()Get the upper boundary | 
|  void | read()Copy the fields of the struct from native memory to the Java fields | 
|  void | set(int lower,
    int upper)Set the upper and lower boundaries | 
|  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 | 
|---|
public NIVision.Range(int lower,
                      int upper)
lower - The lower limitupper - The upper limit| Method Detail | 
|---|
public void read()
Structure
read in class Structurepublic void write()
Structure
write in class Structurepublic int size()
size in class Structurepublic void free()
public void set(int lower,
                int upper)
lower - The lower limitupper - The upper limitpublic int getLower()
public int getUpper()
| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||