Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Types | Public Member Functions | Public Attributes | List of all members
direct_bt::BTDeviceRegistry::DeviceQuery Struct Reference

Specifies devices queries to act upon. More...

#include <BTDeviceRegistry.hpp>

Collaboration diagram for direct_bt::BTDeviceRegistry::DeviceQuery:

Public Types

enum class  Type : int { EUI48SUB , NAME }
 DeviceQuery type, i.e. More...
 

Public Member Functions

 DeviceQuery (const EUI48Sub &as)
 
 DeviceQuery (std::string ns)
 
bool isEUI48Sub () const noexcept
 
std::string toString () const
 

Public Attributes

EUI48Sub addressSub
 
std::string nameSub
 
Type type
 

Detailed Description

Specifies devices queries to act upon.

Definition at line 49 of file BTDeviceRegistry.hpp.

Member Enumeration Documentation

◆ Type

DeviceQuery type, i.e.

EUI48Sub or a std::string name.

Enumerator
EUI48SUB 

DeviceQuery type, using a sensor device EUI48Sub.

NAME 

DeviceQuery type, using a sensor device std::string name.

Definition at line 53 of file BTDeviceRegistry.hpp.

Constructor & Destructor Documentation

◆ DeviceQuery() [1/2]

direct_bt::BTDeviceRegistry::DeviceQuery::DeviceQuery ( const EUI48Sub as)
inline

Definition at line 64 of file BTDeviceRegistry.hpp.

◆ DeviceQuery() [2/2]

direct_bt::BTDeviceRegistry::DeviceQuery::DeviceQuery ( std::string  ns)
inline

Definition at line 66 of file BTDeviceRegistry.hpp.

Member Function Documentation

◆ isEUI48Sub()

bool direct_bt::BTDeviceRegistry::DeviceQuery::isEUI48Sub ( ) const
inlinenoexcept

Definition at line 68 of file BTDeviceRegistry.hpp.

Here is the caller graph for this function:

◆ toString()

std::string direct_bt::BTDeviceRegistry::DeviceQuery::toString ( ) const
inline

Definition at line 70 of file BTDeviceRegistry.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ type

Type direct_bt::BTDeviceRegistry::DeviceQuery::type

Definition at line 60 of file BTDeviceRegistry.hpp.

◆ addressSub

EUI48Sub direct_bt::BTDeviceRegistry::DeviceQuery::addressSub

Definition at line 61 of file BTDeviceRegistry.hpp.

◆ nameSub

std::string direct_bt::BTDeviceRegistry::DeviceQuery::nameSub

Definition at line 62 of file BTDeviceRegistry.hpp.


The documentation for this struct was generated from the following file: