DynamicDevice.h 571 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef UTIL_DYNAMICDEVICE_H
  2. #define UTIL_DYNAMICDEVICE_H
  3. #include "ProbeableDevice.h"
  4. #include <string>
  5. namespace PresenceDetection {
  6. namespace Util {
  7. class DynamicDevice : public ProbeableDevice
  8. {
  9. public:
  10. DynamicDevice(const std::string& macAddress);
  11. virtual int ProbeCounter() const override;
  12. virtual void IncrementProbeCounter() override;
  13. virtual void ResetProbeCounter() override;
  14. std::string MacAddress();
  15. private:
  16. int m_probeCounter;
  17. std::string m_macAddress;
  18. };
  19. } // namespace Util
  20. } // namespace PresenceDetection
  21. #endif // UTIL_DYNAMICDEVICE_H