36 lines
542 B
C++
36 lines
542 B
C++
#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
|