Lines Matching +full:event +full:- +full:specific
7 #include <phosphor-logging/elog-errors.hpp>
13 ButtonIface(sdbusplus::bus_t& bus, EventPtr& event, ButtonConfig& buttonCfg, in ButtonIface() argument
15 bus(bus), event(event), config(buttonCfg), callbackHandler(handler) in ButtonIface()
17 int ret = -1; in ButtonIface()
44 * @brief This method is called from sd-event provided callback function
45 * callbackHandler if platform specific event handling is needed then a
46 * derived class instance with its specific evend handling logic along with
47 * init() function can be created to override the default event handling.
57 buttonIface->handleEvent(es, fd, revents); in EventHandler()
70 * @brief oem specific initialization can be done under init function.
71 * if platform specific initialization is needed then
91 ret = sd_event_add_io(event.get(), nullptr, fd, EPOLLPRI, in init()
96 (getFormFactorType() + " : failed to add to event loop") in init()
108 * @brief similar to init() oem specific deinitialization can be done under
109 * deInit function. if platform specific deinitialization is needed then a
125 EventPtr& event; member in ButtonIface