7 #include <Poco/AtomicCounter.h>
8 #include <Poco/Timespan.h>
10 #include "hotplug/AbstractHotplugMonitor.h"
11 #include "loop/StoppableRunnable.h"
27 void setMatches(
const std::list<std::string> &matches);
28 void setPollTimeout(
const Poco::Timespan &timeout);
29 void setIncludeParents(
bool enable);
34 struct udev_monitor *createMonitor();
35 struct udev_monitor *doCreateMonitor();
36 void collectProperties(
37 HotplugEvent::Properties &event,
struct udev_device *dev)
const;
39 void scanDevice(
struct udev_monitor *mon);
40 void throwFromErrno(
const std::string &name);
43 std::set<std::string> m_matches;
44 Poco::AtomicCounter m_stop;
45 Poco::Timespan m_pollTimeout;
46 bool m_includeParents;
Definition: UDevMonitor.h:19
Definition: AbstractHotplugMonitor.h:13
Definition: HotplugEvent.h:10
void stop() override
Definition: UDevMonitor.cpp:292
Definition: StoppableRunnable.h:8