dxd - dynax driver framework 2.2.0d91
cross platform open source driver development framework
|
#include <dx_driver.h>
Public Member Functions | |
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) noexcept |
log object class information | |
virtual void | launch () |
launch notification: object mounted and ready to use | |
Public Attributes | |
T | elements |
STL member. | |
K | keys |
STL member. | |
bool | launched {} |
log | log |
const char * | product_id |
uint32_t | version |
Protected Member Functions | |
void | add (const device_id_t &device_id) override try |
adds a new device to the device list | |
virtual void | arrived () |
notify device arrivals completed stub | |
virtual void | arrived (device_t &) |
notify specific device arrival stub | |
catch (...) | |
catch (...) | |
catch (const dx::exception &__dx_exception) | |
catch (const dx::exception &__dx_exception) | |
catch (const std::exception &__std_exception) | |
catch (const std::exception &__std_exception) | |
void | clear () noexcept try |
replaces std::map::clear to call virtual notification methods | |
void | conclude () noexcept override try |
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. | |
void | remove (const device_id_t &device_id) override try |
finds and removes a device from the device list | |
virtual void | removed () noexcept |
notify device removals completed stub | |
virtual void | removed (device_t &) noexcept |
notify specific device removal stub | |
|
inlineoverrideprotectedvirtual |
adds a new device to the device list
dx::exception |
Implements dx::driver< decltype(device_t::id)>.
Reimplemented in dx::virtuel::driver< device_t >.
|
inlineprotectedvirtual |
notify device arrivals completed stub
Reimplemented from dx::driver< decltype(device_t::id)>.
Reimplemented in dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >, dx::stream::engine< device< super_device_t >, audio_pin_t, dx::proxy::driver< device< super_device_t > >, int32_t >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t >, and dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t >.
|
inlineprotectedvirtual |
notify specific device arrival stub
Reimplemented in dx::coreaudio::driver< device_t >, dx::coreaudio::driver< device_t >, dx::coreaudio::server::plugin< pin_t, device_t, driver_t >, and dx::coremidi::server::plugin< stream_pin_t, device_t, driver_t >.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectednoexcept |
replaces std::map::clear to call virtual notification methods
|
inlineoverrideprotectedvirtualnoexcept |
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 from dx::object.
|
inlineoverridenoexceptinherited |
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::stream::pin< device_t, _circular_t >, dx::virtuel::stream::_device< desc_t, stream_t >, dx::proxy::device, dx::usb::platform::device, and dx::proxy::device.
|
inlinevirtualnoexceptinherited |
log object class information
Reimplemented in dx::device< std::string >, dx::device<::AudioObjectID >, dx::device<::io_service_t >, dx::device< id_t >, dx::proxy::stream::_device< desc_t, stream_t >, dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >, dx::stream::engine< device< super_device_t >, audio_pin_t, dx::proxy::driver< device< super_device_t > >, int32_t >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t >, dx::usb::pipe< device_t >, dx::usb::pipe< device_t >, dx::usb::stream::_device< desc_t, stream_t >, dx::virtuel::driver< device_t >, dx::virtuel::stream::_device< desc_t, stream_t >, dx::coreaudio::_device< desc_t, stream_t >, dx::coreaudio::driver< device_t >, dx::proxy::device, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< stream_pin_t > >, dx::proxy::driver< device< super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::proxy::driver< device_t >, dx::usb::platform::device, dx::proxy::device, dx::stream::object< _device_t >, dx::stream::object< device >, dx::stream::object< device_t >, dx::stream::control< dx::device< std::string > >, dx::stream::control< dx::device<::AudioObjectID > >, dx::stream::control< dx::proxy::device >, dx::stream::control< object< device_t > >, dx::stream::control< stream::object< device > >, dx::stream::control< stream::object< device_t > >, dx::stream::control< usb::device >, dx::stream::device< dx::stream::control< dx::device< std::string > >, desc, dx::stream::shared::stream< device< desc, dx::stream::shared::stream > > >, dx::stream::device< dx::stream::control< dx::device< std::string > >, desc_t, stream_t >, dx::stream::device< dx::stream::control< dx::device<::AudioObjectID > >, desc_t, stream_t >, dx::stream::device< dx::stream::control< dx::device<::AudioObjectID > >, dx::virtuel::stream::desc, dx::stream::stream< device< dx::virtuel::stream::desc, dx::stream::stream > > >, dx::stream::device< dx::stream::control< dx::device<::AudioObjectID > >, dx::virtuel::stream::desc, stream< device< dx::virtuel::stream::desc, stream > > >, dx::stream::device< dx::stream::control< dx::proxy::device >, desc_t, stream_t >, dx::stream::device< dx::stream::control< dx::proxy::device >, dx::stream::desc<>, stream< device< dx::stream::desc<>, stream > > >, dx::stream::device< dx::stream::control< usb::device >, desc_t, pipe< device< desc_t, pipe > > >, dx::stream::device< dx::stream::control< usb::device >, desc_t, stream_t >, dx::stream::pin< device_t, _circular_t >, dx::stream::stream< device< desc_t, pipe >, dx::circular, usb::pipe< device< desc_t, pipe > > >, and dx::stream::stream< device_t, dx::circular, usb::pipe< device_t > >.
|
inlinevirtualinherited |
launch notification: object mounted and ready to use
Reimplemented in dx::stream::stream< device< desc_t, pipe >, dx::circular, usb::pipe< device< desc_t, pipe > > >, dx::stream::stream< device_t, dx::circular, usb::pipe< device_t > >, dx::usb::stream::_device< desc_t, stream_t >, dx::virtuel::driver< device_t >, dx::coreaudio::driver< device_t >, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< stream_pin_t > >, dx::proxy::driver< device< super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< device< pin_t > >, dx::proxy::driver< device< stream_pin_t > >, dx::proxy::driver< device< super_device_t > >, dx::proxy::driver< device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, and dx::proxy::driver< device_t >.
|
inlineoverrideprotectedvirtual |
finds and removes a device from the device list
dx::exception |
Implements dx::driver< decltype(device_t::id)>.
Reimplemented in dx::proxy::driver< device_t >.
|
inlineprotectedvirtualnoexcept |
notify device removals completed stub
Reimplemented from dx::driver< decltype(device_t::id)>.
|
inlineprotectedvirtualnoexcept |
notify specific device removal stub
Reimplemented in dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >.
|
inherited |
STL member.
|
inherited |
STL member.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
(c) copyright 2009 dynamic acoustics e.U. | generated on Tue Mar 11 2025 |