Implementation for JavaAnon, by simply wrapping a JNIGlobalRef instance.
More...
#include <helper_jni.hpp>
Implementation for JavaAnon, by simply wrapping a JNIGlobalRef instance.
Definition at line 136 of file helper_jni.hpp.
◆ JavaGlobalObj() [1/3]
jau::JavaGlobalObj::JavaGlobalObj |
( |
jobject |
obj, |
|
|
jmethodID |
mNotifyDeleted_ |
|
) |
| |
|
inlinenoexcept |
◆ JavaGlobalObj() [2/3]
◆ JavaGlobalObj() [3/3]
◆ ~JavaGlobalObj()
virtual jau::JavaGlobalObj::~JavaGlobalObj |
( |
| ) |
|
|
virtualnoexcept |
◆ check()
static void jau::JavaGlobalObj::check |
( |
const std::shared_ptr< JavaAnon > & |
shref, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |
◆ clear()
void jau::JavaGlobalObj::clear |
( |
| ) |
|
|
inlineoverridevirtualnoexcept |
Clears the java reference, i.e.
nulling it, without deleting the global reference via JNI.
Implements jau::JavaAnon.
Definition at line 180 of file helper_jni.hpp.
◆ getClass()
jclass jau::JavaGlobalObj::getClass |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetClass()
static jclass jau::JavaGlobalObj::GetClass |
( |
const std::shared_ptr< JavaAnon > & |
shref | ) |
|
|
inlinestaticnoexcept |
◆ getJavaObject()
◆ GetJavaObject()
◆ getObject()
jobject jau::JavaGlobalObj::getObject |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetObject()
static jobject jau::JavaGlobalObj::GetObject |
( |
const std::shared_ptr< JavaAnon > & |
shref | ) |
|
|
inlinestaticnoexcept |
◆ isValid()
static bool jau::JavaGlobalObj::isValid |
( |
const std::shared_ptr< JavaAnon > & |
shref | ) |
|
|
inlinestaticnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ toString()
std::string jau::JavaGlobalObj::toString |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
The documentation for this class was generated from the following file: