dxd - dynax driver framework 2.1.0d73
cross platform open source driver development framework
|
#include <dx_driver.h>
Public Types | |
typedef decltype(matching_dictionaries) | match |
typedef ::GUID | match |
Public Member Functions | |
virtual void | conclude () noexcept |
void | conclude () noexcept override |
::CFStringRef | copy () const |
driver (const match &matching_dictionaries, const char *id, dx::log log=dx::log{{ .bus={ .setup=log::level::dflt,.operation=log::level::dflt,},.interface={ .setup=log::level::dflt,.operation=log::level::dflt}}}) | |
the driver interface class constructor | |
dx_catchall () static void idle(int64_t nsec) | |
dx_catchall () static void idle(uint64_t timeout) noexcept | |
virtual void | exception (const exception &exception, bool filtered=false) const noexcept try |
notification exception handler | |
virtual void | exception (const exception &exception, bool filtered=false) const noexcept try |
notification exception handler | |
device_t * | find (std::string uid) const noexcept |
Finds the device by guid. The user is responsible for making sure the device list cannot be modified during find(). | |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
CFTypeID | id () noexcept |
reference & | initialize (cf_object_t cf_object, bool retain=true) |
virtual void | launch () |
virtual void | launch () |
operator bool () const noexcept | |
operator cf_object_t () const noexcept | |
operator const char * () const | |
operator double () const noexcept | |
Skips whitespace; returns 0.0 on error. | |
operator int32_t () const noexcept | |
Skips whitespace; returns 0 on error, MAX or -MAX on overflow. | |
operator std::string () const | |
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>> | |
operator type<> () const noexcept | |
bool | operator!= (::CFStringRef value) const noexcept |
bool | operator!= (cf_object_t cf_object) const noexcept |
bool | operator!= (value_t value) |
::CFMutableStringRef | operator+ (::CFStringRef value) const noexcept |
::CFMutableStringRef | operator+ (const char *value) const noexcept |
operator::CFDataRef () const noexcept | |
operator::CFTypeID () const noexcept | |
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>> | |
operator::CFTypeRef () const noexcept | |
bool | operator< (::CFStringRef value) const noexcept |
bool | operator< (value_t value) |
bool | operator<= (::CFStringRef value) const noexcept |
bool | operator<= (value_t value) |
bool | operator== (::CFStringRef value) const noexcept |
bool | operator== (cf_object_t cf_object) const noexcept |
bool | operator== (value_t value) |
bool | operator> (::CFStringRef value) const noexcept |
bool | operator> (value_t value) |
bool | operator>= (::CFStringRef value) const noexcept |
bool | operator>= (value_t value) |
reference & | release () noexcept |
reference & | retain () noexcept |
virtual | ~driver () noexcept |
~driver () noexcept override | |
Static Public Member Functions | |
::CFTypeID | id () noexcept |
Public Attributes | |
::CFStringRef | cf_type_desc = nullptr |
::CFStringRef | cf_type_id = nullptr |
T | elements |
STL member. | |
bool | launched = false |
log | log {} |
dx::log | log {} |
cf::preference | preference |
dx::registry | preference |
dx::generic::driver::setup | setup |
Protected Member Functions | |
virtual void | arrived () |
notify device arrivals completed stub | |
virtual void | arrived (device_t &) |
notify specific device arrival stub | |
void | clear () noexcept |
replaces std::deque::clear to call virtual notification methods | |
operator::CFRunLoopSourceRef () const noexcept | |
operator::IONotificationPortRef () const noexcept | |
operator::mach_port_t () const noexcept | |
virtual void | removed () noexcept |
notify device removals completed stub | |
virtual void | removed (device_t &) noexcept |
notify specific device removal stub | |
Protected Attributes | |
cf_object_t | cf_object = nullptr |
|
inherited |
|
inherited |
|
inline |
the driver interface class constructor
matching_dictionaries | the matching dictionary identifying the driver interface |
id | drivers bundle ID |
|
inlineoverridevirtualnoexcept |
|
inlinevirtualnoexcept |
|
inlineprotectedvirtual |
notify device arrivals completed stub
Reimplemented from dx::generic::driver.
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t, driver_t >, and dx::stream::engine< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, audio_pin_t, int32_t, typename audio_pin_t::circular_t, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > > >.
|
inlineprotectedvirtual |
notify specific device arrival stub
Reimplemented in dx::coreaudio::server::plugin< pin_t, device_t >, and dx::coremidi::server::plugin< stream_pin_t, device_t, driver_t >.
|
inlineprotectednoexcept |
replaces std::deque::clear to call virtual notification methods
|
inlinevirtualnoexcept |
Reimplemented from dx::generic::driver.
|
inlineoverridevirtualnoexcept |
Reimplemented from dx::generic::driver.
|
inlineinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinevirtualnoexceptinherited |
notification exception handler
Reimplemented in dx::asio< device_t, pin_t >.
|
inlinevirtualnoexceptinherited |
notification exception handler
Reimplemented in dx::asio< device_t, pin_t >.
|
inlinenoexcept |
Finds the device by guid.
The user is responsible for making sure the device list cannot be modified during find().
n/a | this method does not throw exceptions |
|
staticnoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
Skips whitespace; returns 0.0 on error.
|
inlinenoexceptinherited |
Skips whitespace; returns 0 on error, MAX or -MAX on overflow.
|
inlineinherited |
|
noexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlineprotectedvirtualnoexcept |
notify device removals completed stub
Reimplemented from dx::generic::driver.
|
inlineprotectedvirtualnoexcept |
notify specific device removal stub
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t, driver_t >.
|
inlinenoexceptinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
STL member.
bool dx::driver< device_t >::launched = false |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Nov 15 2024 |