Kallisto Linux API
Library for interacting with Kallisto devices
system_manager.hpp
Go to the documentation of this file.
1 
42 #ifndef SYSTEM_MANAGER_HPP
43 #define SYSTEM_MANAGER_HPP
44 
45 #include <vector>
46 
47 #include "../../util/error/kallisto_error.hpp"
48 #include "../../bluetooth/bluetooth_adapter_event_listener.hpp"
49 #include "../../bluetooth/scanner/bluetooth_scanner_configuration.hpp"
50 #include "../../bluetooth/scanner/bluetooth_scanner_filter.hpp"
51 #include "../../bluetooth/bluetooth_scan_event_listener.hpp"
52 
53 namespace kallisto {
54 namespace core {
55 
56 //Forward declarations
57 class KallistoCore;
58 class KallistoCoreImpl;
59 
60 class SystemManager {
61  friend class KallistoCore; //Only KallistoCore can create managers
62 
63 private:
64  KallistoCoreImpl& m_core;
65 
70 
74  ~SystemManager();
75 
79  SystemManager(SystemManager const&) = delete;
80  SystemManager(SystemManager&&) = delete;
81  void operator=(SystemManager const&) = delete;
82  void operator=(SystemManager &&) = delete;
83 
84 public:
93 
102 
111 
118 
127 
134 
143 
152 };
153 
154 } /* namepsace core */
155 } /* namepsace kallisto */
156 #endif // SYSTEM_MANAGER_HPP
Definition: bluetooth_adapter.hpp:52
Class that encapsulates a result.
Definition: kallisto_error.hpp:81
Definition: bluetooth_adapter_event_listener.hpp:52
error::KallistoDetailedResult registerBluetoothScanEventListener(bluetooth::BluetoothScanEventListener &listener)
Definition: system_manager.hpp:59
Definition: bluetooth_scanner_filter.hpp:64
Definition: bluetooth_scanner_configuration.hpp:92
const bluetooth::BluetoothScannerFilter * getScannerFilter()
Definition: kallisto_core.hpp:57
error::KallistoDetailedResult setScannerConfiguration(bluetooth::BluetoothScannerConfiguration &configuration)
const bluetooth::BluetoothScannerConfiguration * getScannerConfiguration()
error::KallistoDetailedResult unregisterBluetoothScanEventListener(bluetooth::BluetoothScanEventListener &listener)
error::KallistoDetailedResult unregisterBluetoothAdapterEventListener(bluetooth::BluetoothAdapterEventListener &listener)
Definition: bluetooth_scan_event_listener.hpp:57
error::KallistoDetailedResult setScannerFilter(bluetooth::BluetoothScannerFilter &filter)
Definition: kallisto_core_impl.hpp:69
error::KallistoDetailedResult registerBluetoothAdapterEventListener(bluetooth::BluetoothAdapterEventListener &listener)