Lines Matching full:watchdog
7 #include <xyz/openbmc_project/State/Watchdog/server.hpp>
17 namespace watchdog namespace
22 using WatchdogInherits = sdbusplus::server::object_t<Base::Watchdog>;
24 /** @class Watchdog
25 * @brief OpenBMC watchdog implementation.
27 * xyz.openbmc_project.State.Watchdog DBus API.
29 class Watchdog : public WatchdogInherits class
32 Watchdog() = delete;
33 ~Watchdog() = default;
34 Watchdog(const Watchdog&) = delete;
35 Watchdog& operator=(const Watchdog&) = delete;
36 Watchdog(Watchdog&&) = delete;
37 Watchdog& operator=(Watchdog&&) = delete;
43 /** @brief Type used to store the mapping of a Watchdog timeout
48 /** @brief Type used to specify the parameters of a fallback watchdog
57 /** @brief Constructs the Watchdog object
63 * @param[in] fallback - fallback watchdog
68 Watchdog(sdbusplus::bus_t& bus, const char* objPath, in Watchdog() function in phosphor::watchdog::Watchdog
77 timer(event, std::bind(&Watchdog::timeOutHandler, this)),
96 * Optionally enables the watchdog.
98 * @param[in] enableWatchdog - Should the call enable the watchdog
106 using Base::Watchdog::enabled;
108 /** @brief Enable or disable watchdog
109 * If a watchdog state is changed from disable to enable,
110 * the watchdog timer is set with the default expiration
112 * If a watchdog is already enabled, setting @value to true
121 /** @brief Gets the remaining time before watchdog expires.
123 * @return 0 if watchdog is expired.
131 * the watchdog will expire
133 * @return: updated timeout value if watchdog is enabled.
177 /** @brief Minimum watchdog interval value */
186 /** @brief Attempt to enter the fallback watchdog or disables it */
189 /** @brief Object path of the watchdog */
196 } // namespace watchdog