dxd - dynax driver framework 2.1.0d73
cross platform open source driver development framework
|
generic driver interface class More...
#include <dx_driver.h>
Classes | |
class | setup |
Public Types | |
typedef decltype(matching_dictionaries) | match |
typedef ::GUID | match |
Public Member Functions | |
virtual void | conclude () noexcept |
virtual void | conclude () noexcept |
::CFStringRef | copy () const |
driver (const ::GUID &guid, const char *id, dx::log log={}) | |
the driver interface class constructor | |
driver (const match &matching_dictionaries, const char *id, dx::log log) | |
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 | |
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 |
Static Public Member Functions | |
::CFTypeID | id () noexcept |
Public Attributes | |
::CFStringRef | cf_type_desc = nullptr |
::CFStringRef | cf_type_id = nullptr |
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 | |
operator::CFRunLoopSourceRef () const noexcept | |
operator::IONotificationPortRef () const noexcept | |
operator::mach_port_t () const noexcept | |
virtual void | removed () noexcept |
notify device removals completed stub | |
virtual | ~driver () noexcept |
Protected Attributes | |
cf_object_t | cf_object = nullptr |
generic driver interface class
this is the generic interface to a driver identified by an GUID. the template parameter defines the exception class to be thrown. the driver class is a helper to create a device object and to bind the device to the driver identified by the GUID.
example:
in | case of an error returned by the underlaying API the driver class throws an exception converted from HRESEULT. with the default exception_t=HRESULT template parameter the HRESULT itself will be thrown. |
typedef decltype(matching_dictionaries) dx::generic::driver::match |
typedef ::GUID dx::generic::driver::match |
|
inline |
the driver interface class constructor
checks if kext is installed at all
matching_dictionaries | the matching dictionaries identifying the driver interface |
id | drivers bundle ID |
log | logging settings |
|
inlineprotectedvirtualnoexcept |
Reimplemented in dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, dx::driver< device_t >, dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, and dx::driver< device_t >.
|
inline |
the driver interface class constructor
guid | the GUID identifying the driver interface |
|
inlineprotectedvirtual |
notify device arrivals completed stub
Reimplemented in dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, dx::driver< device_t >, dx::coreaudio::server::plugin< pin_t, device_t >, 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 > > >.
|
inlinevirtualnoexcept |
Reimplemented in dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, dx::driver< device_t >, dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, and dx::driver< device_t >.
|
inlinevirtualnoexcept |
Reimplemented in dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, dx::driver< device_t >, dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, and dx::driver< device_t >.
|
inlineinherited |
|
inline |
|
inlinenoexcept |
|
inlinevirtualnoexcept |
notification exception handler
Reimplemented in dx::asio< device_t, pin_t >.
|
inlinevirtualnoexcept |
notification exception handler
Reimplemented in dx::asio< device_t, pin_t >.
|
staticnoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinevirtual |
|
inlinevirtual |
|
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 in dx::driver< device< pin_t > >, dx::driver< device< stream_pin_t > >, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > >, dx::driver< device_t >, dx::driver< device_t >, and dx::coreaudio::server::plugin< pin_t, device_t >.
|
inlinenoexceptinherited |
|
protectedinherited |
|
inherited |
|
inherited |
bool dx::generic::driver::launched = false |
log dx::generic::driver::log {} |
dx::log dx::generic::driver::log {} |
cf::preference dx::generic::driver::preference |
dx::registry dx::generic::driver::preference |
dx::generic::driver::setup dx::generic::driver::setup |
(c) copyright 2009 dynamic acoustics e.U. | generated on Thu Nov 28 2024 |