Home
last modified time | relevance | path

Searched refs:AlarmKey (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dshutdown_alarm_monitor.hpp95 void checkAlarm(bool value, const AlarmKey& alarmKey);
115 void startTimer(const AlarmKey& alarmKey);
122 void stopTimer(const AlarmKey& alarmKey);
129 void timerExpired(const AlarmKey& alarmKey);
160 void createEventLog(const AlarmKey& alarmKey, bool alarmValue,
199 std::map<AlarmKey, std::unique_ptr<sdeventplus::utility::Timer<
H A Dalarm_timestamps.hpp72 void add(const AlarmKey& key, uint64_t timestamp) in add()
89 void erase(const AlarmKey& key) in erase()
101 void erase(std::map<AlarmKey, uint64_t>::const_iterator& entry) in erase() argument
127 const std::map<AlarmKey, std::unique_ptr<sdeventplus::utility::Timer< in prune() argument
132 auto isTimerStopped = [&alarms](const AlarmKey& key) { in prune()
168 const std::map<AlarmKey, uint64_t>& get() const in get()
237 AlarmKey{path, static_cast<ShutdownType>(shutdownType), in load()
258 std::map<AlarmKey, uint64_t> timestamps;
H A Dshutdown_alarm_monitor.cpp138 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::high}, in findAlarms()
140 alarms.emplace(AlarmKey{path, shutdownType2, AlarmType::low}, in findAlarms()
196 AlarmKey alarmKey{sensorPath, *type, AlarmType::low}; in propertiesChanged()
208 AlarmKey alarmKey{sensorPath, *type, AlarmType::high}; in propertiesChanged()
218 void ShutdownAlarmMonitor::checkAlarm(bool value, const AlarmKey& alarmKey) in checkAlarm()
244 void ShutdownAlarmMonitor::startTimer(const AlarmKey& alarmKey) in startTimer()
332 void ShutdownAlarmMonitor::stopTimer(const AlarmKey& alarmKey) in stopTimer()
379 void ShutdownAlarmMonitor::timerExpired(const AlarmKey& alarmKey) in timerExpired()
428 const AlarmKey& alarmKey, bool alarmValue, in createEventLog()
H A Dtypes.hpp32 using AlarmKey = std::tuple<std::string, ShutdownType, AlarmType>; typedef