Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Functions
BTDeviceRegistry.hpp File Reference
#include <string>
#include <cstdio>
#include <direct_bt/DirectBT.hpp>
Include dependency graph for BTDeviceRegistry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  direct_bt::BTDeviceRegistry::DeviceQuery
 Specifies devices queries to act upon. More...
 
struct  direct_bt::BTDeviceRegistry::DeviceID
 Specifies unique device identities, using BDAddressAndType as key. More...
 
struct  std::hash< direct_bt::BTDeviceRegistry::DeviceID >
 

Namespaces

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

Typedefs

typedef bool(* direct_bt::BTDeviceRegistry::DeviceQueryMatchFunc) (const EUI48 &address, const std::string &name, const DeviceQuery &q)
 Function for user defined BTDeviceRegistry::DeviceQuery matching criteria and algorithm. More...
 

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...
 
bool direct_bt::BTDeviceRegistry::operator== (const DeviceID &lhs, const DeviceID &rhs) noexcept
 
bool direct_bt::BTDeviceRegistry::operator!= (const DeviceID &lhs, const DeviceID &rhs) noexcept
 
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::isWaitingForDevice (const EUI48 &address, const std::string &name) noexcept
 Returns. More...
 
bool direct_bt::BTDeviceRegistry::areAllDevicesProcessed (DeviceQueryMatchFunc m) noexcept
 Returns. More...
 
bool direct_bt::BTDeviceRegistry::areAllDevicesProcessed () 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...