|
dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
|
service driver interface class More...
#include <dx_service_driver.h>
Classes | |
| class | app |
| the service's own entry point: it launches the driver, so a device arriving on the machine is served whether a client is connected or not More... | |
| struct | property |
| this bus's name in the device tree and the preference store More... | |
Public Member Functions | |
| void | conclude () noexcept override |
| driver (const super::match &matching_ids, const char *product_id, dx::log log={}) | |
| void | info (std::ostream &os) noexcept override |
| void | launch () override |
| virtual | operator bool () const noexcept |
Public Attributes | |
| dx::service::driver::app * | this |
Protected Types | |
| typedef service::request< service::stream::data< typename super::device_t::desc_t > > | request |
| typedef pipe< request >::template server | server |
Protected Member Functions | |
| void | arrived (super::device_t &device) override |
| void | removed (super::device_t &device) noexcept override |
Protected Attributes | |
| server | pipe |
service driver interface class
This is the interface to a service driver identified by a set of matching dx::guid IDs. The driver class is a helper to create device objects and to bind the device to the driver identified by the set of matching dictionaries.
device arrival/removal is initiated by launch/conclude at driver start/end and as registry notification. Therefor manipulating the device std::deque needs to be locked.
| in | case of an error returned by the underlaying API the driver class throws a dx::exception. |
|
protected |
|
protected |
|
inline |
|
inlineoverrideprotected |
|
inlineoverridenoexcept |
|
inlineoverridenoexcept |
|
inlineoverride |
|
inlinevirtualnoexcept |
|
inlineoverrideprotectednoexcept |
|
protected |
| dx::service::driver::app* dx::service::driver< driver_t >::this |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |