Home
last modified time | relevance | path

Searched refs:TimerType (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dtimer.cpp32 TimerType getType(const json& jsonObj) in getType()
43 return TimerType::oneshot; in getType()
47 return TimerType::repeating; in getType()
H A Dtimer.hpp38 TimerType getType(const json& jsonObj);
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dtimer_based_actions.cpp109 if (_type == TimerType::repeating) in startTimer()
113 else if (_type == TimerType::oneshot) in startTimer()
176 _type = TimerType::oneshot; in setTimerConf()
180 _type = TimerType::repeating; in setTimerConf()
H A Dtimer_based_actions.hpp128 TimerType _type;
/openbmc/phosphor-dbus-monitor/src/
H A Dcallback.hpp210 using TimerType = typedef in phosphor::dbus::monitoring::DeferrableCallback
236 timer = std::make_unique<TimerType>( in operator ()()
270 std::unique_ptr<TimerType> timer = nullptr;
/openbmc/phosphor-fan-presence/control/
H A Dtypes.hpp71 enum class TimerType enum
76 using TimerConf = std::tuple<std::chrono::microseconds, TimerType>;
H A Dzone.cpp392 if (std::get<TimerType>(tConf) == TimerType::repeating) in addTimer()
396 else if (std::get<TimerType>(tConf) == TimerType::oneshot) in addTimer()
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.hpp54 enum class TimerType enum
78 using TimerData = std::pair<TimerType, TimerPkg>;
435 void addTimer(const TimerType type,
H A Dmanager.cpp642 void Manager::addTimer(const TimerType type, in addTimer()
650 if (type == TimerType::repeating) in addTimer()
654 else if (type == TimerType::oneshot) in addTimer()
756 if (data.first == TimerType::oneshot) in timerExpired()