Home
last modified time | relevance | path

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

/openbmc/phosphor-fan-presence/
H A Dpower_state.hpp33 using StateChangeFunc = std::function<void(bool)>; typedef in phosphor::fan::PowerState
48 PowerState(sdbusplus::bus_t& bus, StateChangeFunc callback) : _bus(bus) in PowerState()
68 void addCallback(const std::string& name, StateChangeFunc callback) in addCallback()
127 std::map<std::string, StateChangeFunc> _callbacks;
162 PGoodState(sdbusplus::bus_t& bus, StateChangeFunc func) : in PGoodState()
258 HostPowerState(sdbusplus::bus_t& bus, StateChangeFunc func) : in HostPowerState()