vdr
2.2.0
|
#include <device.h>
Classes | |
class | cDynamicDeviceProbeItem |
Public Member Functions | |
cDynamicDeviceProbe (void) | |
virtual | ~cDynamicDeviceProbe () |
virtual cDevice * | Attach (cDevice *ParentDevice, const char *DevPath)=0 |
![]() | |
cListObject (void) | |
virtual | ~cListObject () |
virtual int | Compare (const cListObject &ListObject) const |
void | Append (cListObject *Object) |
void | Insert (cListObject *Object) |
void | Unlink (void) |
int | Index (void) const |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Static Public Member Functions | |
static void | QueueDynamicDeviceCommand (eDynamicDeviceProbeCommand Cmd, const char *DevPath) |
Static Private Attributes | |
static cList < cDynamicDeviceProbeItem > | commandQueue |
Friends | |
class | cDynamicDevice |
cDynamicDeviceProbe::cDynamicDeviceProbe | ( | void | ) |
Definition at line 1903 of file device.c.
References cListBase::Add().
|
virtual |
Definition at line 1908 of file device.c.
References cListBase::Del().
|
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.
|
static |
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.
References commandQueue.
|
staticprivate |
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.
Referenced by QueueDynamicDeviceCommand().