#include <icy/av/linux/v4l2.h>Inherits:
DeviceWatcher
Monitors device add/remove events via libudev.
| Return | Name | Description |
|---|---|---|
LinuxDeviceWatcher explicit | #### Parameters | |
bool | start virtual | Begin monitoring via libudev inotify events. |
void | stop virtual | Stop monitoring and close the udev monitor. |
explicit
explicit LinuxDeviceWatcher(DeviceManager * manager)manager The DeviceManager whose DevicesChanged signal will be emitted on changes.virtual
virtual bool start()Begin monitoring via libudev inotify events.
True if the udev monitor was successfully started.
virtual
virtual void stop()Stop monitoring and close the udev monitor.
std::unique_ptr< Impl > _implDeviceManager * _manager