|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.wpi.first.wpilibj.communication.FRCControl.CachedNativeBuffer
public static class FRCControl.CachedNativeBuffer
A simple 1-element cache that keeps a pointer to native memory around. Works best if repeatedly asked for buffers of same size.
WARNING: It's expected that the users of this cache are synchronized
| Constructor Summary | |
|---|---|
FRCControl.CachedNativeBuffer()
|
|
| Method Summary | |
|---|---|
void |
free()
|
Pointer |
getBufferSized(int size)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FRCControl.CachedNativeBuffer()
| Method Detail |
|---|
public Pointer getBufferSized(int size)
public void free()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||