dxd - dynax driver framework 2.1.0d62
cross platform open source driver development framework
|
#include <dx_test.h>
Public Types | |
typedef device_t::desc | desc |
Public Attributes | |
::CFStringRef | cf_type_desc = nullptr |
::CFStringRef | cf_type_id = nullptr |
T | elements |
STL member. | |
bool | launched |
log | log {} |
dx::log | log {} |
cf::preference | preference |
dx::registry | preference |
dx::generic::driver::setup | setup |
Protected Types | |
typedef driver< device_t > | driver |
Protected Member Functions | |
dx_catchall_handler(this,) using driver< device_t > void | arrived () override |
notify device arrivals completed stub | |
virtual void | arrived (device_t &) |
notify specific device arrival stub | |
template<typename data_t > | |
void | buffer (size_t size=0x1000, uint32_t rx=1, uint32_t tx=1, const std::chrono::high_resolution_clock::duration &duration=3s) const |
void | buffer_header () const |
catch (...) | |
catch (const dx::exception &__dx_exception) | |
catch (const std::exception &__std_exception) | |
void | clear () noexcept |
replaces std::deque::clear to call virtual notification methods | |
void | clock_monitor (device_t &device, std::chrono::high_resolution_clock::duration duration) noexcept |
virtual void | handle (char *arg) |
virtual void | help () const noexcept |
void | info () |
realtime & | initialize (const std::chrono::high_resolution_clock::duration &resolution) |
void | initialize (const typename clock_t::duration &duration) |
void | meta_buffer (size_t size, uint32_t rx, uint32_t tx, const std::chrono::high_resolution_clock::duration &duration) const |
void | notify () noexcept override |
notify change from device requiring streaming reset | |
virtual void | notify (uint32_t) noexcept |
notify sample rate change from device | |
operator::CFRunLoopSourceRef () const noexcept | |
operator::IONotificationPortRef () const noexcept | |
operator::mach_port_t () const noexcept | |
virtual void | overload () noexcept |
void | process (int64_t) noexcept override |
virtual void | removed () noexcept |
notify device removals completed stub | |
void | removed (device_t &device) noexcept override |
notify specific device removal stub | |
void | sync (const std::chrono::high_resolution_clock::time_point &now) override |
virtual void | sync (const typename clock_t::time_point &now) |
void | unittest (const std::chrono::high_resolution_clock::duration duration) try |
void | update () noexcept try |
void | wait () try |
Static Protected Member Functions | |
static void | abort (int) noexcept |
static void | sig (int) noexcept |
|
inherited |
|
protectedinherited |
|
inline |
|
inlinestaticprotectednoexcept |
|
inlineoverrideprotectedvirtualinherited |
notify device arrivals completed stub
pin creation exception caught here to allow device inspection even if streaming is not possible - most likely due to exclusive access.
Reimplemented from dx::driver< device_t >.
|
inlineprotectedvirtualinherited |
notify specific device arrival stub
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectednoexceptinherited |
replaces std::deque::clear to call virtual notification methods
|
inlineprotectednoexcept |
|
inlinevirtualnoexceptinherited |
Reimplemented from dx::generic::driver.
|
inlineoverridevirtualnoexceptinherited |
Reimplemented from dx::generic::driver.
|
inlineinherited |
|
inlinevirtualnoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinevirtualnoexceptinherited |
notification exception handler
|
inlinevirtualnoexceptinherited |
notification exception handler
|
inlinenoexceptinherited |
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 |
|
inlinevirtualnoexceptinherited |
|
inlineoverridevirtualnoexceptinherited |
stop streaming engine
Reimplemented from dx::clock< scope_t, clock_t >.
|
inlineprotectedvirtual |
|
inlineprotectedvirtualnoexcept |
|
inlineprotected |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotected |
|
inlineoverrideprotectedvirtualnoexcept |
notify change from device requiring streaming reset
Reimplemented from dx::stream::engine< device_t, pin_t, io_t, circular_t >.
|
inlineprotectedvirtualnoexceptinherited |
notify sample rate change from device
|
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 |
|
inline |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlineprotectedvirtualnoexceptinherited |
|
inlineoverrideprotectedvirtualnoexcept |
Implements dx::stream::engine< device_t, pin_t, io_t, circular_t >.
|
inlinenoexceptinherited |
notify device removals completed stub
Reimplemented from dx::generic::driver.
|
inlineoverrideprotectedvirtualnoexceptinherited |
notify specific device removal stub
Reimplemented from dx::driver< device_t >.
|
inlinenoexceptinherited |
|
inlineoverridevirtualinherited |
start streaming engine
Reimplemented from dx::clock< scope_t, clock_t >.
|
inlineinherited |
|
inlineinherited |
|
inlinestaticprotectednoexcept |
|
inlineoverrideprotectedinherited |
|
inlineprotectedvirtualinherited |
|
inlineprotected |
|
inlineprotectednoexceptinherited |
bool dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::audio = false |
struct { ... } dx::stream::engine< device_t, pin_t, io_t, circular_t >::cache |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
double dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::denominator |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
inherited |
STL member.
|
inherited |
|
inherited |
|
protectedinherited |
struct { ... } dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::generator |
|
protectedinherited |
|
inherited |
clock resolution: HW stream frame size in samples
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
struct { ... } dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::loopback |
uint64_t dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::mask = ULLONG_MAX |
bool dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::midi = false |
|
protectedinherited |
io[directions][double buffer][channel][sample]
struct { ... } dx::stream::engine< device_t, pin_t, io_t, circular_t >::observer |
uint32_t dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::periode = 0 |
|
protectedinherited |
|
inherited |
|
inherited |
|
protected |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
std::chrono::high_resolution_clock::duration dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::stream_duration = 0s |
struct { ... } dx::stream::engine< device_t, pin_t, io_t, circular_t >::sync |
|
protected |
|
inherited |
struct { ... } dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >::unit_test |
(c) copyright 2009 dynamic acoustics e.U. | generated on Thu May 9 2024 |