virtual void ClearSensorData(const std::string & sensorType, const std::string & sensorName){ Poco::Mutex::ScopedLock l(mtx); std::string key = SensorDataHelpers::sensorID(sensorType, sensorName); storage.erase(key); current.erase(key); sensors.erase(key); }