OpenCPN Partial API docs
UsbWatchDaemon Class Referenceabstract

Listen to hardware events and notifies SystemEvents when new devices are plugged in. More...

#include <usb_watch_daemon.h>

Inheritance diagram for UsbWatchDaemon:
DummyWatchDaemon LinuxUsbWatchDaemon WinUsbWatchDaemon

Public Member Functions

virtual void Start ()=0
 
virtual void Stop ()=0
 

Static Public Member Functions

static UsbWatchDaemonGetInstance ()
 

Public Attributes

SystemEventsm_sys_events
 

Protected Member Functions

 UsbWatchDaemon (SystemEvents &sys_events)
 

Detailed Description

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.


The documentation for this class was generated from the following files: