Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Typedefs | Functions
DBTManager.cxx File Reference
#include "jau_direct_bt_DBTManager.h"
#include <jau/debug.hpp>
#include "helper_base.hpp"
#include "helper_dbt.hpp"
#include "direct_bt/BTDevice.hpp"
#include "direct_bt/BTAdapter.hpp"
#include "direct_bt/BTManager.hpp"
Include dependency graph for DBTManager.cxx:

Go to the source code of this file.

Classes

struct  BooleanMgmtCBContext
 

Typedefs

typedef std::shared_ptr< BooleanMgmtCBContextBooleanMgmtCBContextRef
 

Functions

static const std::string _removeAdapterCBMethodName ("removeAdapterCB")
 
static const std::string _removeAdapterCBMethodArgs ("(II)V")
 
static const std::string _updatedAdapterCBMethodName ("updatedAdapterCB")
 
static const std::string _updatedAdapterCBMethodArgs ("(II)V")
 
static void _addMgmtCBOnce (JNIEnv *env, BTManager &mgmt, JNIGlobalRef jmgmtRef, MgmtEvent::Opcode opc, const std::string &jmethodName, const std::string &jmethodArgs)
 
void Java_jau_direct_1bt_DBTManager_initImpl (JNIEnv *env, jobject obj, jboolean unifyUUID128Bit, jint jbtMode)
 
void Java_jau_direct_1bt_DBTManager_deleteImpl (JNIEnv *env, jobject obj, jlong nativeInstance)
 
static const std::string _adapterClazzCtorArgs ("(J[BBLjava/lang/String;I)V")
 
static jobject _createJavaAdapter (JNIEnv *env_, jclass clazz, jmethodID clazz_ctor, BTAdapter *adapter)
 
jobject Java_jau_direct_1bt_DBTManager_getAdapterListImpl (JNIEnv *env, jobject obj)
 
jobject Java_jau_direct_1bt_DBTManager_getAdapterImpl (JNIEnv *env, jobject obj, jint dev_id)
 

Typedef Documentation

◆ BooleanMgmtCBContextRef

Definition at line 67 of file DBTManager.cxx.

Function Documentation

◆ _adapterClazzCtorArgs()

static const std::string _adapterClazzCtorArgs ( "(J[BBLjava/lang/String;I)V"  )
static
Here is the caller graph for this function:

◆ _addMgmtCBOnce()

static void _addMgmtCBOnce ( JNIEnv *  env,
BTManager mgmt,
JNIGlobalRef  jmgmtRef,
MgmtEvent::Opcode  opc,
const std::string &  jmethodName,
const std::string &  jmethodArgs 
)
static

Definition at line 69 of file DBTManager.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _createJavaAdapter()

static jobject _createJavaAdapter ( JNIEnv *  env_,
jclass  clazz,
jmethodID  clazz_ctor,
BTAdapter adapter 
)
static

Definition at line 147 of file DBTManager.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _removeAdapterCBMethodArgs()

static const std::string _removeAdapterCBMethodArgs ( "(II)V"  )
static
Here is the caller graph for this function:

◆ _removeAdapterCBMethodName()

static const std::string _removeAdapterCBMethodName ( "removeAdapterCB"  )
static
Here is the caller graph for this function:

◆ _updatedAdapterCBMethodArgs()

static const std::string _updatedAdapterCBMethodArgs ( "(II)V"  )
static
Here is the caller graph for this function:

◆ _updatedAdapterCBMethodName()

static const std::string _updatedAdapterCBMethodName ( "updatedAdapterCB"  )
static
Here is the caller graph for this function:

◆ Java_jau_direct_1bt_DBTManager_deleteImpl()

void Java_jau_direct_1bt_DBTManager_deleteImpl ( JNIEnv *  env,
jobject  obj,
jlong  nativeInstance 
)

Definition at line 133 of file DBTManager.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTManager_getAdapterImpl()

jobject Java_jau_direct_1bt_DBTManager_getAdapterImpl ( JNIEnv *  env,
jobject  obj,
jint  dev_id 
)

Definition at line 183 of file DBTManager.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTManager_getAdapterListImpl()

jobject Java_jau_direct_1bt_DBTManager_getAdapterListImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 168 of file DBTManager.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTManager_initImpl()

void Java_jau_direct_1bt_DBTManager_initImpl ( JNIEnv *  env,
jobject  obj,
jboolean  unifyUUID128Bit,
jint  jbtMode 
)

Definition at line 112 of file DBTManager.cxx.

Here is the call graph for this function: