herald  2.0.0
Public Member Functions | List of all members
herald::ble::ConcreteBLESensor< ContextT, PayloadDataSupplierT, SensorDelegateSetT, DBSize > Class Template Reference

#include <ble_concrete.h>

Inheritance diagram for herald::ble::ConcreteBLESensor< ContextT, PayloadDataSupplierT, SensorDelegateSetT, DBSize >:
herald::ble::BLEDatabaseDelegate herald::ble::BluetoothStateManagerDelegate

Public Member Functions

 ConcreteBLESensor (ContextT &ctx, BluetoothStateManager &bluetoothStateManager, PayloadDataSupplierT &payloadDataSupplier, SensorDelegateSetT &dels)
 
 ConcreteBLESensor (const ConcreteBLESensor &from)=delete
 
 ConcreteBLESensor (ConcreteBLESensor &&from)=delete
 
std::optional< std::reference_wrapper< CoordinationProvider > > coordinationProvider ()
 
bool immediateSend (Data data, const TargetIdentifier &targetIdentifier)
 
bool immediateSendAll (Data data)
 
void start ()
 
void stop ()
 
void bleDatabaseDidCreate (const BLEDevice &device) override
 
void bleDatabaseDidUpdate (const BLEDevice &device, const BLEDeviceAttribute attribute) override
 
void bleDatabaseDidDelete (const BLEDevice &device) override
 
void bluetoothStateManager (BluetoothState didUpdateState) override
 

Detailed Description

template<typename ContextT, typename PayloadDataSupplierT, typename SensorDelegateSetT, std::size_t DBSize = 10>
class herald::ble::ConcreteBLESensor< ContextT, PayloadDataSupplierT, SensorDelegateSetT, DBSize >

Acts as the main object to control the receiver, transmitter, and database instances


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