#include <dx_virtual_driver.h>
|
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 (const dx::exception &__dx_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.
|
|
| dx_catchall_handler (this,) virtual void operator<<(std |
| restores device settings
|
|
virtual void | operator>> (std::ostream &ostream) const |
| saves device tree
|
|
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 |
|
◆ device_id_t
template<typename device_t >
◆ match
template<
class device_t >
◆ driver()
template<
class device_t >
the virtual driver interface class constructor
- Parameters
-
matching_ids | the matching virtual driver IDs identifying the driver interface |
id | virtual driver ID |
log | log settings |
◆ add() [1/2]
template<
class device_t >
|
inlineoverrideprotectedvirtual |
◆ add() [2/2]
template<
class device_t >
void dx::virtuel::driver< device_t >::add |
( |
const std::string & | device_id, |
|
|
const typename device_t::desc_t & | desc ) |
|
inline |
◆ arrived() [1/2]
template<typename device_t >
|
inlineprotectedvirtualinherited |
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 >.
◆ arrived() [2/2]
template<typename device_t >
|
inlineprotectedvirtualinherited |
◆ boot()
virtual bool dx::driver< decltype(device_t::id) >::boot |
( |
| ) |
|
|
inlinevirtualinherited |
◆ catch() [1/9]
template<
class device_t >
◆ catch() [2/9]
template<
class device_t >
◆ catch() [3/9]
template<
class device_t >
◆ catch() [4/9]
template<
class device_t >
◆ catch() [5/9]
template<
class device_t >
◆ catch() [6/9]
template<
class device_t >
◆ catch() [7/9]
template<
class device_t >
◆ catch() [8/9]
template<
class device_t >
◆ catch() [9/9]
template<
class device_t >
◆ clear()
template<typename device_t >
|
inlineprotectednoexceptinherited |
replaces std::map::clear to call virtual notification methods
◆ conclude()
template<typename device_t >
|
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.
◆ dx_catchall_handler()
template<typename device_t >
◆ exception() [1/2]
|
inlineoverridenoexceptinherited |
notification exception handler
◆ exception() [2/2]
virtual void dx::object::exception |
( |
const exception & | exception, |
|
|
bool | filtered = false ) |
|
pure virtualnoexceptinherited |
notification exception handler
Implemented in dx::device< dx::guid >, 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, preference_t, stream_t >, dx::usb::platform::device, dx::asio::client::_device< desc_t, preference_t, stream_t >, and dx::proxy::device.
◆ info()
template<
class device_t >
|
inlineoverridevirtualnoexcept |
◆ launch()
template<
class device_t >
launch notification: object mounted and ready to use
- Todo
- virtual::driver::launch(): fix preference[] and remove ":" test hack
Reimplemented from dx::map::driver< device_t >.
◆ operator>>()
template<typename device_t >
virtual void dx::map::driver< device_t >::operator>> |
( |
std::ostream & | ostream | ) |
const |
|
inlineprotectedvirtualinherited |
◆ remove() [1/2]
template<typename device_t >
|
inlineoverrideprotectedvirtualinherited |
◆ remove() [2/2]
template<
class device_t >
non-virtual remove hides super::remove() to be used to permamently eliminate a virtual device
◆ removed() [1/2]
template<typename device_t >
|
inlineprotectedvirtualnoexceptinherited |
◆ removed() [2/2]
template<typename device_t >
|
inlineprotectedvirtualnoexceptinherited |
◆ scan()
template<
class device_t >
◆ shutdown()
virtual bool dx::driver< decltype(device_t::id) >::shutdown |
( |
| ) |
|
|
inlinevirtualinherited |
◆ connection_id
template<
class device_t >
◆ elements
T std::map< K, T >::elements |
|
inherited |
◆ keys
◆ launched
bool dx::object::launched {} |
|
inherited |
◆ log
◆ map
template<typename device_t >
◆ matching_ids
template<
class device_t >
◆ product_id
const char* dx::driver< decltype(device_t::id) >::product_id |
|
inherited |
◆ version
The documentation for this class was generated from the following file: