Add Static Devices
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user