Lines Matching full:watch
14 /** @class Watch
16 * @brief Adds inotify watch on software image upload directory
18 * The inotify watch is hooked up with sd-event, so that on call back,
21 class Watch class
24 /** @brief ctor - hook inotify watch with sd-event
30 Watch(sd_event* loop, std::function<int(std::string&)> imageCallback);
32 Watch(const Watch&) = delete;
33 Watch& operator=(const Watch&) = delete;
34 Watch(Watch&&) = delete;
35 Watch& operator=(Watch&&) = delete;
37 /** @brief dtor - remove inotify watch and close fd's
39 ~Watch();
47 * @param[in] userdata - pointer to Watch object
53 /** @brief image upload directory watch descriptor */