Add Static Devices

This commit is contained in:
2020-05-01 11:39:46 +02:00
parent 157b1ceb51
commit 21dbdd41d9
12 changed files with 400 additions and 327 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef UTIL_DYNAMICDEVICE_H
#define UTIL_DYNAMICDEVICE_H
#include "ProbeableDevice.h"
#include <string>
namespace PresenceDetection {
namespace Util {
class DynamicDevice : public ProbeableDevice
{
public:
DynamicDevice(const std::string& macAddress);
virtual int ProbeCounter() const override;
virtual void IncrementProbeCounter() override;
virtual void ResetProbeCounter() override;
std::string MacAddress();
private:
int m_probeCounter;
std::string m_macAddress;
};
} // namespace Util
} // namespace PresenceDetection
#endif // UTIL_DYNAMICDEVICE_H