#include <dx_virtual_driver.h>
|
void | add (const std::string &device_id, const typename device_t::desc &desc) |
|
| driver (const match &matching_ids, const char *id, dx::log log={}) |
| the virtual 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
|
|
void | info (std::ostream &os) noexcept override |
| log object class information
|
|
void | launch () override |
| launch notification: object mounted and ready to use
|
|
|
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.
|
|
virtual void | notify (::SCPreferencesNotification type) |
|
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
|
|
◆ 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 & | desc ) |
|
inline |
◆ arrived() [1/2]
template<typename device_t >
virtual void dx::driver< device_id_t >::arrived |
( |
| ) |
|
|
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< 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 >.
◆ arrived() [2/2]
template<typename device_t >
|
inlineprotectedvirtualinherited |
◆ catch() [1/6]
template<typename device_t >
◆ catch() [2/6]
template<typename device_t >
◆ catch() [3/6]
template<typename device_t >
◆ catch() [4/6]
template<typename device_t >
◆ catch() [5/6]
template<typename device_t >
dx::map::driver< device_t >::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineprotectedinherited |
◆ catch() [6/6]
template<typename device_t >
dx::map::driver< device_t >::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineprotectedinherited |
◆ 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.
◆ exception() [1/2]
|
inlineoverridenoexceptinherited |
notification exception handler
◆ exception() [2/2]
virtual void dx::object::exception |
( |
const exception & | exception, |
|
|
bool | filtered = false ) const |
|
pure virtualnoexceptinherited |
◆ idle()
template<
class device_t >
◆ info()
template<
class device_t >
|
inlineoverridevirtualnoexcept |
log object class information
Reimplemented from dx::object.
◆ 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::object.
◆ notify()
template<
class device_t >
◆ remove()
template<typename device_t >
|
inlineoverrideprotectedvirtualinherited |
◆ removed() [1/2]
template<typename device_t >
virtual void dx::driver< device_id_t >::removed |
( |
| ) |
|
|
inlineprotectedvirtualnoexceptinherited |
◆ removed() [2/2]
template<typename device_t >
|
inlineprotectedvirtualnoexceptinherited |
◆ elements
T std::map< K, T >::elements |
|
inherited |
◆ keys
◆ launched
bool dx::object::launched {} |
|
inherited |
◆ log
◆ 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: