herald  2.0.0
bluetooth_state_manager.h
1 // Copyright 2020-2021 Herald Project Contributors
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #ifndef HERALD_BLUETOOTH_STATE_MANAGER_H
6 #define HERALD_BLUETOOTH_STATE_MANAGER_H
7 
8 #include "../datatype/bluetooth_state.h"
9 #include "bluetooth_state_manager_delegate.h"
10 
11 #include <memory>
12 
13 namespace herald {
14 namespace ble {
15 
16 using namespace herald::datatype;
17 
18 // Tagging interface
20 public:
21  BluetoothStateManager() = default;
22  virtual ~BluetoothStateManager() = default;
23 
24  virtual void add(BluetoothStateManagerDelegate& delegate) = 0;
25  virtual BluetoothState state() = 0;
26 };
27 
28 } // end namespace
29 } // end namespace
30 
31 #endif
Definition: bluetooth_state_manager_delegate.h:16
Definition: bluetooth_state_manager.h:19
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