Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Sharing the anonymous Java object (JavaAnon), i.e. More...
#include <java_uplink.hpp>
Public Member Functions | |
virtual std::string | toString () const noexcept |
virtual std::string | get_java_class () const noexcept=0 |
std::string | javaObjectToString () const noexcept |
std::shared_ptr< JavaAnon > | getJavaObject () noexcept |
void | setJavaObject (std::shared_ptr< JavaAnon > objRef) noexcept |
Assigns a new shared JavaAnon reference, replaced item might be deleted via JNI from dtor. More... | |
void | setJavaObject () noexcept |
Resets the shared JavaAnon reference, the replaced item might be deleted via JNI from dtor. More... | |
void | clearJavaObject () noexcept |
Clears the java reference, i.e. More... | |
virtual void | checkValid () const |
Throws an IllegalStateException if isValid() == false. More... | |
virtual | ~JavaUplink () noexcept |
Sharing the anonymous Java object (JavaAnon), i.e.
exposing the Java object uplink to the C++ implementation.
Definition at line 57 of file java_uplink.hpp.
|
inlinevirtualnoexcept |
Definition at line 95 of file java_uplink.hpp.
|
inlinevirtual |
Throws an IllegalStateException if isValid() == false.
Definition at line 93 of file java_uplink.hpp.
|
inlinenoexcept |
Clears the java reference, i.e.
nulling it, without deleting the global reference via JNI.
Definition at line 84 of file java_uplink.hpp.
|
pure virtualnoexcept |
|
inlinenoexcept |
Definition at line 75 of file java_uplink.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Resets the shared JavaAnon reference, the replaced item might be deleted via JNI from dtor.
Definition at line 81 of file java_uplink.hpp.
|
inlinenoexcept |
Assigns a new shared JavaAnon reference, replaced item might be deleted via JNI from dtor.
Definition at line 78 of file java_uplink.hpp.
|
inlinevirtualnoexcept |
Reimplemented in direct_bt::BTAdapter, direct_bt::BTManager, direct_bt::BTDevice, direct_bt::BTGattChar, direct_bt::BTGattDesc, direct_bt::BTGattService, and direct_bt::BTObject.
Definition at line 62 of file java_uplink.hpp.