Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Namespaces | Functions | Variables
BTDeviceRegistry.cpp File Reference
#include "BTDeviceRegistry.hpp"
#include <jau/cpp_lang_util.hpp>
#include <jau/basic_algos.hpp>
#include <jau/darray.hpp>
#include <unordered_set>
#include <unordered_map>
Include dependency graph for BTDeviceRegistry.cpp:

Go to the source code of this file.

Namespaces

 direct_bt
 
 direct_bt::BTDeviceRegistry
 Application toolkit providing BT device registration of processed and awaited devices.
 

Functions

void direct_bt::BTDeviceRegistry::addToWaitForDevices (const std::string &addrOrNameSub) noexcept
 
bool direct_bt::BTDeviceRegistry::isWaitingForAnyDevice () noexcept
 
size_t direct_bt::BTDeviceRegistry::getWaitForDevicesCount () noexcept
 
std::string direct_bt::BTDeviceRegistry::getWaitForDevicesString () noexcept
 
jau::darray< DeviceQuery > & direct_bt::BTDeviceRegistry::getWaitForDevices () noexcept
 Returns the reference of the current list of DeviceQuery, not a copy. More...
 
void direct_bt::BTDeviceRegistry::clearWaitForDevices () noexcept
 Clears internal list. More...
 
void direct_bt::BTDeviceRegistry::addToProcessedDevices (const BDAddressAndType &a, const std::string &n) noexcept
 
bool direct_bt::BTDeviceRegistry::isDeviceProcessed (const BDAddressAndType &a) noexcept
 
size_t direct_bt::BTDeviceRegistry::getProcessedDeviceCount () noexcept
 
std::string direct_bt::BTDeviceRegistry::getProcessedDevicesString () noexcept
 
jau::darray< DeviceID > direct_bt::BTDeviceRegistry::getProcessedDevices () noexcept
 Returns a copy of the current collection of processed DeviceID. More...
 
void direct_bt::BTDeviceRegistry::clearProcessedDevices () noexcept
 Clears internal list. More...
 
bool direct_bt::BTDeviceRegistry::isWaitingForDevice (const EUI48 &address, const std::string &name, DeviceQueryMatchFunc m) noexcept
 Returns. More...
 
bool direct_bt::BTDeviceRegistry::areAllDevicesProcessed (DeviceQueryMatchFunc m) noexcept
 Returns. More...
 
void direct_bt::BTDeviceRegistry::addToProcessingDevices (const BDAddressAndType &a, const std::string &n) noexcept
 
bool direct_bt::BTDeviceRegistry::removeFromProcessingDevices (const BDAddressAndType &a) noexcept
 
bool direct_bt::BTDeviceRegistry::isDeviceProcessing (const BDAddressAndType &a) noexcept
 
size_t direct_bt::BTDeviceRegistry::getProcessingDeviceCount () noexcept
 
jau::darray< DeviceID > direct_bt::BTDeviceRegistry::getProcessingDevices () noexcept
 Returns a copy of the current collection of processing DeviceID. More...
 
void direct_bt::BTDeviceRegistry::clearProcessingDevices () noexcept
 Clears internal list. More...
 

Variables

static jau::darray< DeviceQuery > direct_bt::BTDeviceRegistry::waitForDevices
 
static std::unordered_set< DeviceID > direct_bt::BTDeviceRegistry::devicesInProcessing
 
static std::recursive_mutex direct_bt::BTDeviceRegistry::mtx_devicesProcessing
 
static std::unordered_set< DeviceID > direct_bt::BTDeviceRegistry::devicesProcessed
 
static std::recursive_mutex direct_bt::BTDeviceRegistry::mtx_devicesProcessed