Direct-BT v3.3.0-1-gc2d430c
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 _adapterClazzCtorArgs ("(J[BBLjava/lang/String;I)V")
 
static void _addMgmtCBOnce (JNIEnv *env, BTManager &mgmt, const JNIGlobalRef &jmgmtRef, MgmtEvent::Opcode opc, const std::string &jmethodName, const std::string &jmethodArgs)
 
static jobject _createJavaAdapter (JNIEnv *env_, jclass clazz, jmethodID clazz_ctor, const std::shared_ptr< BTAdapter > &adapter)
 
static const std::string _removeAdapterCBMethodArgs ("(II)V")
 
static const std::string _removeAdapterCBMethodName ("removeAdapterCB")
 
static const std::string _updatedAdapterCBMethodArgs ("(II)V")
 
static const std::string _updatedAdapterCBMethodName ("updatedAdapterCB")
 
jlong Java_jau_direct_1bt_DBTManager_ctorImpl (JNIEnv *env, jobject obj)
 
void Java_jau_direct_1bt_DBTManager_dtorImpl (JNIEnv *env, jobject obj, jlong nativeInstance)
 
jobject Java_jau_direct_1bt_DBTManager_getAdapterImpl (JNIEnv *env, jobject obj, jint dev_id)
 
jobject Java_jau_direct_1bt_DBTManager_getAdapterListImpl (JNIEnv *env, jobject obj)
 

Typedef Documentation

◆ BooleanMgmtCBContextRef

Definition at line 67 of file DBTManager.cxx.

Function Documentation

◆ _removeAdapterCBMethodName()

static const std::string _removeAdapterCBMethodName ( "removeAdapterCB"  )
static
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:

◆ _updatedAdapterCBMethodName()

static const std::string _updatedAdapterCBMethodName ( "updatedAdapterCB"  )
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:

◆ _addMgmtCBOnce()

static void _addMgmtCBOnce ( JNIEnv *  env,
BTManager mgmt,
const 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 caller graph for this function:

◆ Java_jau_direct_1bt_DBTManager_ctorImpl()

jlong Java_jau_direct_1bt_DBTManager_ctorImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 111 of file DBTManager.cxx.

◆ Java_jau_direct_1bt_DBTManager_dtorImpl()

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

Definition at line 132 of file DBTManager.cxx.

◆ _adapterClazzCtorArgs()

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

◆ _createJavaAdapter()

static jobject _createJavaAdapter ( JNIEnv *  env_,
jclass  clazz,
jmethodID  clazz_ctor,
const std::shared_ptr< BTAdapter > &  adapter 
)
static

Definition at line 153 of file DBTManager.cxx.

Here is the caller graph for this function:

◆ Java_jau_direct_1bt_DBTManager_getAdapterListImpl()

jobject Java_jau_direct_1bt_DBTManager_getAdapterListImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 175 of file DBTManager.cxx.

◆ Java_jau_direct_1bt_DBTManager_getAdapterImpl()

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

Definition at line 190 of file DBTManager.cxx.