|
dxd - dynax driver framework 2.6.0d201
cross platform open source driver development framework
|
#include <dx_virtual_driver.h>
Inheritance diagram for dx::virtuel::driver< device_t >:
Collaboration diagram for dx::virtuel::driver< device_t >:Public Types | |
| typedef decltype(matching_ids) | match |
Public Member Functions | |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END bool | boot () try |
| catch (...) | |
| catch (...) | |
| catch (...) | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| catch (const std::exception &__std_exception) | |
| catch (const std::exception &__std_exception) | |
| catch (const std::exception &__std_exception) | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END bool | contains (const std::string &id) noexcept |
| super & | create (const std::string &device_id, const typename device_t::desc_t &desc) override try |
| virtual driver & | create (const std::string &id, const typename super::device_t::desc_t &desc) |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END super & | destroy (const std::string &id) override try |
| destroy: to be used to permamently eliminate a virtual device | |
| driver (const match &matching_ids, const char *id, dx::log log={}) | |
| the virtual driver interface class constructor | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END 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 | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | info (std::ostream &os) noexcept override |
| log object class information | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | launch () override try |
| launch notification: object mounted and ready to use | |
| std::shared_ptr< typename super::device_t > | operator[] (const std::string &id) try |
| virtual bool | shutdown () try |
| client driver::shutdown/boot(): override to shutdown/boot host driver | |
| std::shared_ptr< typename super::device_t > | wait (const std::string &id) noexcept |
Public Attributes | |
| promoted< uint32_t > | connection_id |
| T | elements |
| STL member. | |
| K | keys |
| STL member. | |
| bool | launched {} |
| log | log |
| decltype(_device_t::preference) | preference |
| const char * | product_id |
| uint32_t | version |
Protected Types | |
| typedef decltype(device_t::id) | device_id_t |
| typedef device_t | device_t |
Protected Member Functions | |
| virtual void | add (const decltype(_device_t::id) &)=0 |
| adds a new device to the device list | |
| 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 | |
| void | arrived (super::device_t &device) override try |
| catch (...) | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| catch (const std::exception &__std_exception) | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END void | clear () noexcept try |
| replaces std::map::clear to call virtual notification methods | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END 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. | |
| dx_catchall_handler (this,) virtual driver &operator<<(std | |
| restores device settings | |
| virtual driver & | operator<< (const char *file) |
| virtual driver & | operator>> (const char *file) const |
| virtual driver & | operator>> (std::ostream &ostream) const |
| saves device tree | |
| virtual void | remove (const decltype(_device_t::id) &)=0 |
| finds and removes a device from the device list | |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END 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 | |
| virtual void | scan () try |
| void | sleep () override |
| < notify system will sleep | |
| void | wake () override |
Protected Attributes | |
| std::vector< std::string > | matching_ids |
|
protectedinherited |
|
protectedinherited |
| typedef decltype(matching_ids) dx::virtuel::driver< device_t >::match |
|
inline |
the virtual driver interface class constructor
| matching_ids | the matching virtual driver IDs identifying the driver interface |
| id | virtual driver ID |
| log | log settings |
|
protectedpure virtualinherited |
adds a new device to the device list
| dx::exception |
|
inlineoverrideprotectedinherited |
adds a new device to the device list
| dx::exception |
|
inlineprotectedvirtualinherited |
notify device arrivals completed stub
Reimplemented from dx::driver< decltype(_device_t::id), decltype(_device_t::preference)>.
Reimplemented in 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::service::client::driver< device_t >.
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from dx::map::driver< device_t >.
|
inlinevirtualinherited |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotectednoexceptinherited |
replaces std::map::clear to call virtual notification methods
|
inlineoverrideprotectedvirtualnoexceptinherited |
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.
Reimplemented in dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t >.
|
inlinenoexceptinherited |
|
inlineoverride |
Here is the call graph for this function:
|
inlinevirtualinherited |
|
inlineoverridevirtual |
destroy: to be used to permamently eliminate a virtual device
Reimplemented from dx::stream::driver< dx::map::driver< device_t > >.
Here is the call graph for this function:
|
inlineprotectedinherited |
restores device settings
|
inlineoverridenoexceptinherited |
notification exception handler
|
pure virtualnoexceptinherited |
notification exception handler
Implemented in dx::device< dx::guid, dx::preference >, dx::device< dx::guid, preference_t >, dx::device< std::string, dx::preference >, dx::device< std::string, preference_t >, dx::device<::AudioObjectID, cf::preference >, dx::device<::AudioObjectID, preference_t >, dx::device<::io_service_t, dx::preference >, dx::device<::io_service_t, preference_t >, dx::device<::io_service_t, super_device_t >, dx::device<::MIDIDeviceRef, cf::preference >, dx::device<::MIDIDeviceRef, preference_t >, dx::device< id_t, preference_t >, dx::stream::pin< device_t, _circular_t >, dx::virtuel::stream::_device< desc_t, preference_t, stream_t >, dx::usb::platform::device< preference_t >, dx::asio::client::_device< desc_t, preference_t, stream_t >, dx::proxy::device< dx::preference >, dx::proxy::device<>, dx::proxy::device< preference_t >, dx::service::app, and dx::service::client::_device< desc_t, preference_t, stream_t >.
Here is the caller graph for this function:
|
inlineoverridevirtualnoexcept |
log object class information
Reimplemented from dx::stream::driver< dx::map::driver< device_t > >.
Reimplemented in dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t >.
Here is the call graph for this function:
|
inlineoverridevirtual |
launch notification: object mounted and ready to use
Reimplemented from dx::map::driver< device_t >.
Here is the call graph for this function:
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
saves device tree
Reimplemented in dx::coreaudio::driver< device_t >.
|
inlineinherited |
|
protectedpure virtualinherited |
finds and removes a device from the device list
|
inlineoverrideprotectedinherited |
finds and removes a device from the device list
| dx::exception |
|
inlineprotectedvirtualnoexceptinherited |
notify device removals completed stub
Reimplemented from dx::driver< decltype(_device_t::id), decltype(_device_t::preference)>.
|
inlineprotectedvirtualnoexceptinherited |
notify specific device removal stub
|
inlineprotectedvirtual |
Here is the call graph for this function:
|
inlinevirtualinherited |
client driver::shutdown/boot(): override to shutdown/boot host driver
Reimplemented in dx::coreaudio::driver< device_t >.
|
inlineoverrideprotectedinherited |
< notify system will sleep
notify system wake completed stub
|
inlinenoexceptinherited |
|
inlineoverrideprotectedinherited |
|
inherited |
STL member.
|
inherited |
STL member.
|
inherited |
|
inherited |
|
protected |
|
inherited |
|
inherited |
|
inherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on Mon Mar 9 2026 |