32 lines
571 B
C++
32 lines
571 B
C++
#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
|