| 1234567891011121314151617181920212223242526272829303132333435 |
- #include "DynamicDevice.h"
- #include <StringAlgorithm.h>
- namespace PresenceDetection {
- namespace Util {
- DynamicDevice::DynamicDevice(const std::string& macAddress) :
- m_probeCounter(0),
- m_macAddress(macAddress)
- {
- }
- std::string DynamicDevice::MacAddress()
- {
- return m_macAddress;
- }
- int DynamicDevice::ProbeCounter() const
- {
- return m_probeCounter;
- }
- void DynamicDevice::IncrementProbeCounter()
- {
- ++m_probeCounter;
- }
- void DynamicDevice::ResetProbeCounter()
- {
- m_probeCounter = 0;
- }
- } // namespace Util
- } // namespace PresenceDetection
|