Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
#include <jni_mem.hpp>
Public Types | |
enum | Mode : jint { UPDATE_AND_RELEASE = 0, UPDATE_NO_RELEASE = JNI_COMMIT, NO_UPDATE_AND_RELEASE = JNI_ABORT } |
Public Member Functions | |
JNICriticalArray (JNIEnv *env_val) | |
JNICriticalArray (const JNICriticalArray &o)=delete | |
JNICriticalArray (JNICriticalArray &&o)=delete | |
JNICriticalArray & | operator= (const JNICriticalArray &o)=delete |
JNICriticalArray & | operator= (JNICriticalArray &&o)=delete |
~JNICriticalArray () | |
Release the acquired primitive array, RAII style. More... | |
void | release () |
Manual release of the acquired primitive array, usually one likes to simply do this via the destructor, RAII style. More... | |
T * | get (U jarray_val, Mode mode_val=UPDATE_AND_RELEASE) |
Acquired the primitive array. More... | |
bool | getIsCopy () const |
Returns true if the primitive array had been acquired and the JVM utilizes a copy of the underlying java array. More... | |
Definition at line 126 of file jni_mem.hpp.
enum JNICriticalArray::Mode : jint |
Definition at line 128 of file jni_mem.hpp.
|
inline |
Definition at line 147 of file jni_mem.hpp.
|
delete |
|
delete |
|
inline |
Release the acquired primitive array, RAII style.
Definition at line 157 of file jni_mem.hpp.
|
inline |
Acquired the primitive array.
Definition at line 177 of file jni_mem.hpp.
|
inline |
Returns true if the primitive array had been acquired and the JVM utilizes a copy of the underlying java array.
Definition at line 195 of file jni_mem.hpp.
|
delete |
|
delete |
|
inline |
Manual release of the acquired primitive array, usually one likes to simply do this via the destructor, RAII style.
Definition at line 165 of file jni_mem.hpp.