OpenCPN Partial API docs
|
Listen to hardware events and notifies SystemEvents when new devices are plugged in. More...
#include <usb_watch_daemon.h>
Public Member Functions | |
virtual void | Start ()=0 |
virtual void | Stop ()=0 |
Static Public Member Functions | |
static UsbWatchDaemon & | GetInstance () |
Public Attributes | |
SystemEvents & | m_sys_events |
Protected Member Functions | |
UsbWatchDaemon (SystemEvents &sys_events) | |
Listen to hardware events and notifies SystemEvents when new devices are plugged in.
This is platform dependent, first implementation is Linux.
No filtering of events is done. Listening drivers are supposed to check the actual device when receiving the notification; there is no guarantee regarding what device which is triggering the event.
Definition at line 37 of file usb_watch_daemon.h.