Update Naming and Tests
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#ifndef LOGIC_LOGIC_H
|
||||
#define LOGIC_LOGIC_H
|
||||
|
||||
#include "Device/Device.h"
|
||||
#include <HttpClient.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace PresenceDetection {
|
||||
namespace Logic {
|
||||
|
||||
class Logic
|
||||
{
|
||||
public:
|
||||
Logic(const std::string& inventoryURL);
|
||||
~Logic();
|
||||
|
||||
void LoadDevicesFromConfiguration();
|
||||
void UpdateDevicesFromInventory();
|
||||
|
||||
void DumpDevices();
|
||||
|
||||
private:
|
||||
//void UpdatePresentDevices();
|
||||
void PollBluetoothDevices();
|
||||
void PollWiFiDevices();
|
||||
|
||||
private:
|
||||
Http::HttpClient m_httpClient;
|
||||
|
||||
std::string m_inventoryURL;
|
||||
std::vector<Device::Device> m_dynamicDevices;
|
||||
std::vector<Device::Device> m_staticDevices;
|
||||
|
||||
};
|
||||
|
||||
} // namespace Logic
|
||||
} // namespace PresenceDetection
|
||||
|
||||
#endif // LOGIC_LOGIC_H
|
||||
Reference in New Issue
Block a user