Lines Matching full:event

3 #include <systemd/sd-event.h>
26 * Defer, Post, or Exit depending on the required event.
35 * @param[in] callback - The function executed on event dispatch
39 /** @brief Constructs a non-owning event source handler
41 * this is meant to be used only as a reference inside an event
53 /** @brief Adds a new event source handler to the Event
59 * @param[in] event - The event to attach the handler
60 * @param[in] callback - The function executed on event dispatch
62 EventBase(const char* name, CreateFunc create, const Event& event,
66 /** @brief Returns a reference to the source owned event
68 * @return A reference to the event
78 /** @brief Creates a new source attached to the Event
82 * @param[in] event - The event to attach the handler
87 const Event& event);
89 /** @brief A wrapper around the callback that can be called from sd-event
117 /** @brief Adds a new defer source handler to the Event
120 * @param[in] event - The event to attach the handler
121 * @param[in] callback - The function executed on event dispatch
124 Defer(const Event& event, Callback&& Callback);
130 /** @brief Adds a new post source handler to the Event
133 * @param[in] event - The event to attach the handler
134 * @param[in] callback - The function executed on event dispatch
137 Post(const Event& event, Callback&& callback);
143 /** @brief Adds a new exit source handler to the Event
146 * @param[in] event - The event to attach the handler
147 * @param[in] callback - The function executed on event dispatch
150 Exit(const Event& event, Callback&& callback);