Searched refs:StateChangeFunc (Results 1 – 1 of 1) sorted by relevance
33 using StateChangeFunc = std::function<void(bool)>; typedef in phosphor::fan::PowerState48 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()