com.sun.cldc.jna
Class Structure
java.lang.Object
com.sun.cldc.jna.Structure
- Direct Known Subclasses:
- CurveOptions, EllipseDescriptor, FRCCommonControlData, FRCControl.DynamicControlData, NIVision.Range, RegionOfInterest, ShapeDetectionOptions
public abstract class Structure
- extends java.lang.Object
- Author:
- wolf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
backingNativeMemory
protected Pointer backingNativeMemory
- Note: Will throw null pointer exceptions if use attempted in simulator
Structure
public Structure()
useMemory
public final void useMemory(Pointer m)
allocateMemory
public void allocateMemory()
throws java.lang.OutOfMemoryError
- Throws:
java.lang.OutOfMemoryError
- Todo:
- What should this do, if anything, in the simulator (if it should even be allowed)?
freeMemory
public void freeMemory()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
release
public void release()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
read
public abstract void read()
write
public abstract void write()
getPointer
public final Pointer getPointer()