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.cpp34 TimerType getType(const json& jsonObj) in getType()
45 return TimerType::oneshot; in getType()
49 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.cpp393 if (std::get<TimerType>(tConf) == TimerType::repeating) in addTimer()
397 else if (std::get<TimerType>(tConf) == TimerType::oneshot) in addTimer()
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.hpp55 enum class TimerType enum
79 using TimerData = std::pair<TimerType, TimerPkg>;
438 void addTimer(const TimerType type,
H A Dmanager.cpp644 void Manager::addTimer(const TimerType type, in addTimer()
652 if (type == TimerType::repeating) in addTimer()
656 else if (type == TimerType::oneshot) in addTimer()
758 if (data.first == TimerType::oneshot) in timerExpired()