Direct-BT v3.3.0-1-gc2d430c
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 (const JNICriticalArray &o)=delete | |
JNICriticalArray (JNICriticalArray &&o)=delete | |
JNICriticalArray (JNIEnv *env_val) | |
~JNICriticalArray () | |
Release the acquired primitive array, 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... | |
JNICriticalArray & | operator= (const JNICriticalArray &o)=delete |
JNICriticalArray & | operator= (JNICriticalArray &&o)=delete |
void | release () |
Manual release of the acquired primitive array, usually one likes to simply do this via the destructor, RAII style. More... | |
Definition at line 142 of file jni_mem.hpp.
enum jau::jni::JNICriticalArray::Mode : jint |
Definition at line 144 of file jni_mem.hpp.
|
inline |
Definition at line 163 of file jni_mem.hpp.
|
delete |
|
delete |
|
inline |
Release the acquired primitive array, RAII style.
Definition at line 173 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 181 of file jni_mem.hpp.
|
inline |
Acquired the primitive array.
Definition at line 193 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 211 of file jni_mem.hpp.