public constructor
| 67 | //public |
| 68 | //constructor |
| 69 | PollingSensor::PollingSensor(const __FlashStringHelper *name, long interval, long offset): |
| 70 | Sensor(name), |
| 71 | m_nPreviousTime(0), |
| 72 | m_nDeltaTime(0), |
| 73 | m_nInterval(interval*1000), |
| 74 | m_nOffset(offset*1000) |
| 75 | { |
| 76 | |
| 77 | } |
| 78 | |
| 79 | //destructor |
| 80 | PollingSensor::~PollingSensor() |
nothing calls this directly
no outgoing calls
no test coverage detected