5 #ifndef HERALD_BLE_DATABASE_H
6 #define HERALD_BLE_DATABASE_H
8 #include "ble_database_delegate.h"
9 #include "ble_device.h"
11 #include "../datatype/payload_data.h"
12 #include "../datatype/payload_sharing_data.h"
13 #include "../datatype/rssi.h"
14 #include "../datatype/target_identifier.h"
42 virtual std::size_t size()
const = 0;
44 virtual std::vector<std::reference_wrapper<BLEDevice>> matches(
45 const std::function<
bool(
const BLEDevice&)>& matcher) = 0;
Definition: ble_database_delegate.h:15
Definition: ble_database.h:25
virtual void remove(const TargetIdentifier &targetIdentifier)=0
Cannot name a function delete in C++. remove is common.
Definition: ble_device.h:181
Definition: ble_mac_address.h:18
The main data workhorse class of the Herald API.
Definition: data.h:33
Definition: payload_data.h:13
Definition: target_identifier.h:17
Contains all low-level Herald datatype implementations.
Definition: base64_string.h:14
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15