Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Functions
BTDeviceRegistry.hpp File Reference
#include <string>
#include <cstdio>
#include "BTTypes0.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::DeviceID
 Specifies unique device identities, using BDAddressAndType as key. More...
 
struct  direct_bt::BTDeviceRegistry::DeviceQuery
 Specifies devices queries to act upon. More...
 
struct  std::hash< direct_bt::BTDeviceRegistry::DeviceID >
 

Namespaces

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

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::addToProcessedDevices (const BDAddressAndType &a, const std::string &n) noexcept
 
void direct_bt::BTDeviceRegistry::addToWaitForDevices (const std::string &addrOrNameSub) noexcept
 
bool direct_bt::BTDeviceRegistry::areAllDevicesProcessed () noexcept
 Returns true if all addToWaitForDevices() awaited devices have been addToProcessedDevices() processed. More...
 
bool direct_bt::BTDeviceRegistry::areAllDevicesProcessed (DeviceQueryMatchFunc m) noexcept
 Returns true if all addToWaitForDevices() awaited devices have been addToProcessedDevices() processed. More...
 
void direct_bt::BTDeviceRegistry::clearProcessedDevices () noexcept
 Clears internal list. More...
 
void direct_bt::BTDeviceRegistry::clearWaitForDevices () noexcept
 Clears internal list. More...
 
size_t direct_bt::BTDeviceRegistry::getProcessedDeviceCount () noexcept
 
jau::darray< DeviceID > direct_bt::BTDeviceRegistry::getProcessedDevices () noexcept
 Returns a copy of the current collection of processed DeviceID. More...
 
std::string direct_bt::BTDeviceRegistry::getProcessedDevicesString () noexcept
 
jau::darray< DeviceQuery > & direct_bt::BTDeviceRegistry::getWaitForDevices () noexcept
 Returns the reference of the current list of DeviceQuery, not a copy. More...
 
size_t direct_bt::BTDeviceRegistry::getWaitForDevicesCount () noexcept
 
std::string direct_bt::BTDeviceRegistry::getWaitForDevicesString () noexcept
 
bool direct_bt::BTDeviceRegistry::isDeviceProcessed (const BDAddressAndType &a) noexcept
 
bool direct_bt::BTDeviceRegistry::isWaitingForAnyDevice () noexcept
 
bool direct_bt::BTDeviceRegistry::isWaitingForDevice (const EUI48 &address, const std::string &name) noexcept
 Returns true if the given address and/or name matches any of the BTDeviceRegistry::addToWaitForDevices() awaited devices. More...
 
bool direct_bt::BTDeviceRegistry::isWaitingForDevice (const EUI48 &address, const std::string &name, DeviceQueryMatchFunc m) noexcept
 Returns true if the given address and/or name matches any of the BTDeviceRegistry::addToWaitForDevices() awaited devices. 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