dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
|
abstract base driver interface class This is the abstract base interface to a driver. More...
#include <dx_driver.h>
Public Member Functions | |
virtual void | conclude () noexcept |
conclude notification: object will be removed. If you overwrite conclude() you also need to overwrite destructor and check if its needed to be called from there. | |
driver (const char *product_id, dx::log log) | |
abstract driver interface class constructor | |
void | exception (const class exception &exception, bool filtered=false) const noexcept override try |
notification exception handler | |
virtual void | exception (const exception &exception, bool filtered=false) const noexcept=0 |
notification exception handler | |
virtual void | info (std::ostream &os) |
log object class information | |
virtual void | launch () |
launch notification: object mounted and ready to use | |
~driver () noexcept override | |
Public Attributes | |
bool | launched {} |
log | log {} |
const char * | product_id |
uint32_t | version = DX_VERSION32 |
Protected Member Functions | |
virtual void | add (const device_id_t &)=0 |
adds a new device to the device list | |
virtual void | arrived () |
notify device arrivals completed stub | |
virtual void | remove (const device_id_t &)=0 |
finds and removes a device from the device list | |
virtual void | removed () noexcept |
notify device removals completed stub | |
abstract base driver interface class This is the abstract base interface to a driver.
in | case of an error returned by the underlaying API the driver class throws a dx::exception. |
|
inline |
abstract driver interface class constructor
product_id | driver ID |
log | log settings |
|
inlineoverridenoexcept |
|
protectedpure virtual |
adds a new device to the device list
dx::exception |
Implemented in dx::map::driver< device >, dx::map::driver< device_t >, dx::virtuel::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, dx::virtuel::driver< device_t >, and dx::coreaudio::driver< device_t >.
|
inlineprotectedvirtual |
notify device arrivals completed stub
Reimplemented in dx::map::driver< device >, dx::map::driver< device_t >, dx::coreaudio::server::plugin< pin_t, device_t, driver_t >, dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >, dx::stream::engine< device< typename audio_pin_t::circular_t, super_device_t >, audio_pin_t, dx::proxy::driver< device< typename audio_pin_t::circular_t, super_device_t > >, int32_t >, dx::stream::engine< dx::test::device< typename audio_pin_t::circular_t, super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, int32_t >, and dx::stream::engine< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, int32_t >.
|
inlinevirtualnoexceptinherited |
conclude notification: object will be removed. If you overwrite conclude() you also need to overwrite destructor and check if its needed to be called from there.
Reimplemented in dx::proxy::device, dx::proxy::device, dx::map::driver< device >, and dx::map::driver< device_t >.
|
inlineoverridenoexcept |
notification exception handler
|
pure virtualnoexceptinherited |
notification exception handler
Implemented in dx::device< std::string >, dx::device<::AudioObjectID >, dx::device<::io_service_t >, dx::device< id_t >, dx::proxy::device, dx::usb::platform::device, and dx::proxy::device.
|
inlinevirtualinherited |
log object class information
Reimplemented in dx::device< std::string >, dx::device<::AudioObjectID >, dx::device<::io_service_t >, dx::device< id_t >, dx::virtuel::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, dx::virtuel::driver< device_t >, dx::coreaudio::driver< device_t >, dx::proxy::device, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< typename audio_pin_t::circular_t, super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::proxy::driver< device_t >, and dx::proxy::device.
|
inlinevirtualinherited |
launch notification: object mounted and ready to use
Reimplemented in dx::stream::stream< device_t, circular_t >, dx::stream::stream< dx::stream::device >, dx::usb::stream::device< desc_t >, dx::virtuel::driver< dx::test::device< typename audio_pin_t::circular_t, super_device_t > >, dx::virtuel::driver< device_t >, dx::coreaudio::driver< device_t >, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< typename audio_pin_t::circular_t, super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< typename audio_pin_t::circular_t, super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, and dx::proxy::driver< device_t >.
|
protectedpure virtual |
finds and removes a device from the device list
Implemented in dx::map::driver< device >, dx::map::driver< device_t >, dx::coreaudio::driver< device_t >, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< typename audio_pin_t::circular_t, super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::midi::device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, and dx::proxy::driver< device_t >.
|
inlineprotectedvirtualnoexcept |
notify device removals completed stub
Reimplemented in dx::map::driver< device >, dx::map::driver< device_t >, and dx::coreaudio::server::plugin< pin_t, device_t, driver_t >.
|
inherited |
log dx::driver< device_id_t >::log {} |
const char* dx::driver< device_id_t >::product_id |
uint32_t dx::driver< device_id_t >::version = DX_VERSION32 |
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Dec 20 2024 |