#include <device.h>
Definition at line 894 of file device.h.
cDynamicDeviceProbe::cDynamicDeviceProbe |
( |
void |
| ) |
|
cDynamicDeviceProbe::~cDynamicDeviceProbe |
( |
| ) |
|
|
virtual |
virtual cDevice* cDynamicDeviceProbe::Attach |
( |
cDevice * |
ParentDevice, |
|
|
const char * |
DevPath |
|
) |
| |
|
pure virtual |
Probes for a device at the given device-path like /dev/dvb/adapter0/frontend0 or /dev/video0 etc.
and creates the appropriate object derived from cDevice if applicable. Returns the device that has been created or NULL if not. The dynamite-plugin will delete the device if it is detached.
Plugins which support cDynamicDeviceProbe must use this function to queue the devices they normally create in their Initialize method.
These devices are created as subdevices in the Start-method of the dynamite-plugin.
Definition at line 1897 of file device.c.
friend class cDynamicDevice |
|
friend |
A list where all attach/detach commands are queued so they can be processed in the MainThreadHook of the dynamite plugin.
Definition at line 904 of file device.h.
The documentation for this class was generated from the following files: