Lines Matching refs:lastUpdateTimestamp
45 time_t lastUpdateTimestamp; variable
129 lastUpdateTimestamp(-1), in MultiStateCounter()
159 if (timestamp < lastUpdateTimestamp) { in setEnabled()
160 timestamp = lastUpdateTimestamp; in setEnabled()
172 if (isEnabled && lastStateChangeTimestamp >= 0 && lastUpdateTimestamp >= 0) { in setState()
175 if (timestamp < lastUpdateTimestamp) { in setState()
176 timestamp = lastUpdateTimestamp; in setState()
214 lastUpdateTimestamp = source.lastUpdateTimestamp; in copyStatesFrom()
228 if (isEnabled || lastUpdateTimestamp < lastStateChangeTimestamp) { in updateValue()
239 if (lastUpdateTimestamp >= 0) { in updateValue()
240 if (timestamp > lastUpdateTimestamp) { in updateValue()
243 time_t timeSinceUpdate = timestamp - lastUpdateTimestamp; in updateValue()
262 } else if (timestamp < lastUpdateTimestamp) { in updateValue()
263 if (timestamp < lastUpdateTimestamp - REPORTED_INVALID_TIMESTAMP_DELTA_MS) { in updateValue()
265 (unsigned long)timestamp, (unsigned long)lastUpdateTimestamp); in updateValue()
275 lastUpdateTimestamp = timestamp; in updateValue()
297 lastUpdateTimestamp = -1; in reset()
328 if (lastUpdateTimestamp >= 0) { in toString()
329 str << " updated: " << lastUpdateTimestamp; in toString()
333 if (lastStateChangeTimestamp > lastUpdateTimestamp) { in toString()