dxd - dynax driver framework 2.7.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t > Class Template Reference

#include <dx_test.h>

Inheritance diagram for dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >:
Collaboration diagram for dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >:

Classes

struct  match_helper
struct  match_helper< std::set< std::string > >
struct  parameter

Public Types

typedef std::deque< std::string > args

Public Member Functions

 driver (const typename super::match &match, const char *product_id, const char *name, const decltype(dictionary)&dictionary={})
void info (std::ostream &os) noexcept override try
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void operator<< (args &args) try
virtual void operator<< (const args &args)
virtual void quiet (const args &={}) noexcept
bool try_launch ()

Protected Member Functions

void arrived (device_t &device) override
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
DX_PRAGMA_IGNORE_RETURN_VALUE_END void buffer_header () const
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
 catch (...)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
 catch (const std::exception &__std_exception)
void clock_monitor (device_t &device, std::chrono::high_resolution_clock::duration duration) try
void device_arrival_removal (const args &={}) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void enumerate_os_audio (const args &args={}) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void filter (const args &cargs={}) try
bool head () const noexcept override
virtual void help (args &args) try
void help_head () const noexcept override
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void indent (args &args) try
void list (const args &={}) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void loglevel (args &args) try
void meta_buffer (size_t size, uint32_t rx, uint32_t tx, const std::chrono::high_resolution_clock::duration &duration) const
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void no_args (const args &args) try
void notify () noexcept override
void parse (args &args) override try
void process (int64_t) noexcept override
void removed (device_t &device) noexcept override
DX_PRAGMA_IGNORE_RETURN_VALUE_END auto select (const std::string &id) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void streaming_generator (args &args) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void streaming_monitor (const args &args) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void streaming_reset (const args &={}) try
void unittest (const args &args) try
 runs the mask-selected rows, each cycling for the given duration "reject" only counts a row's own tolerated input rejections: an unsupported iosize/samplerate etc. the driver correctly refuses, or the pin start/stop call itself being not_implemented for the current bus (e.g. ASIO requires a prior device-level attach()/createBuffers() no standalone pin start can provide). any other failure of the operation actually under test is not tolerated - it throws and aborts the whole run
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_align (const args &={}) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_buffer (const args &args={}) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_format (const args &={}) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_mask (args &args) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_preference (args &args) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_preference_erase (decltype(device_t::preference)&preferences, uint32_t &leaves) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_preference_write (const decltype(device_t::preference)&preference, const std::chrono::high_resolution_clock::time_point &timeout, uint32_t &leaves, uint32_t depth=0) try
DX_PRAGMA_IGNORE_RETURN_VALUE_END void unittest_stream_duration (args &args) try
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void version (const args &args={}) try

Static Protected Member Functions

static void abort (int) noexcept
static DX_PRAGMA_IGNORE_RETURN_VALUE_END void sig (int) noexcept
 also fires from spurious console-control events across sibling child processes sharing a console, not just real Ctrl-C: an isolated one resets counters and extends the run, two within 500ms stop it early

Protected Attributes

std::map< std::deque< std::string >, dispatchdictionary
uint32_t dropout = 0
std::deque< typename parameter::generatorgenerator
std::chrono::milliseconds launch_time {}
 longest try_launch() since last reset
std::deque< typename parameter::maskloopback
const char * name {}
struct dx::test::driver::parameter parameter
std::deque< typename parameter::maskpattern
uint64_t tick = 0
struct { 
   bool   asynchronous = false 
   uint64_t   mask = ULLONG_MAX 
   std::chrono::high_resolution_clock::duration   stream_duration = 0s 
unit_test

Friends

class surprise::synchronous< driver >

Member Typedef Documentation

◆ args

typedef std::deque<std::string> dx::parser::args
inherited

Constructor & Destructor Documentation

◆ driver()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::driver ( const typename super::match & match,
const char * product_id,
const char * name,
const decltype(dictionary)& dictionary = {} )
inline

Member Function Documentation

◆ abort()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::abort ( int )
inlinestaticprotectednoexcept

◆ arrived()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::arrived ( device_t & device)
inlineoverrideprotected

◆ buffer()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
template<typename data_t>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::buffer ( size_t size = 0x1000,
uint32_t rx = 1,
uint32_t tx = 1,
const std::chrono::high_resolution_clock::duration & duration = 3s ) const
inlineprotected
Here is the caller graph for this function:

◆ buffer_header()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::buffer_header ( ) const
inlineprotected

◆ catch() [1/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [2/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [3/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [4/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [5/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [6/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [7/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [8/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [9/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [10/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [11/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [12/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [13/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [14/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [15/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [16/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [17/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [18/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [19/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( ...)
inlineprotected

◆ catch() [20/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [21/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [22/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [23/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [24/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [25/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [26/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [27/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [28/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [29/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [30/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [31/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [32/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [33/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [34/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [35/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [36/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [37/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [38/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const dx::exception & __dx_exception)
inlineprotected

◆ catch() [39/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [40/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [41/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [42/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [43/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [44/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [45/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [46/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [47/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [48/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [49/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [50/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [51/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [52/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [53/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [54/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [55/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [56/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ catch() [57/57]

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::catch ( const std::exception & __std_exception)
inlineprotected

◆ clock_monitor()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::clock_monitor ( device_t & device,
std::chrono::high_resolution_clock::duration duration )
inlineprotected
Here is the caller graph for this function:

◆ device_arrival_removal()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::device_arrival_removal ( const args & = {})
inlineprotected

◆ enumerate_os_audio()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::enumerate_os_audio ( const args & args = {})
inlineprotected

◆ filter()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::filter ( const args & cargs = {})
inlineprotected

◆ head()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
bool dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::head ( ) const
inlineoverrideprotectedvirtualnoexcept

Reimplemented from dx::parser.

Here is the caller graph for this function:

◆ help()

virtual void dx::parser::help ( args & args)
inlineprotectedvirtualinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ help_head()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::help_head ( ) const
inlineoverrideprotectedvirtualnoexcept

Reimplemented from dx::parser.

◆ indent()

virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::indent ( args & args)
inlineprotectedvirtualinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ info()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::info ( std::ostream & os)
inlineoverridenoexcept

◆ list()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::list ( const args & = {})
inlineprotected
Todo
: remove obscure cast preventing desc::version and driver::version ambiguity due to single device streaming engine design

◆ loglevel()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::loglevel ( args & args)
inlineprotected

◆ meta_buffer()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::meta_buffer ( size_t size,
uint32_t rx,
uint32_t tx,
const std::chrono::high_resolution_clock::duration & duration ) const
inlineprotected

◆ no_args()

virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::no_args ( const args & args)
inlineprotectedvirtualinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ notify()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::notify ( )
inlineoverrideprotectednoexcept

◆ operator<<() [1/2]

DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::operator<< ( args & args)
inlinevirtualinherited

Reimplemented in dx::select< parsers_t >.

Here is the call graph for this function:

◆ operator<<() [2/2]

virtual void dx::parser::operator<< ( const args & args)
inlinevirtualinherited

◆ parse()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::parse ( args & args)
inlineoverrideprotectedvirtual

Reimplemented from dx::parser.

◆ process()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::process ( int64_t )
inlineoverrideprotectednoexcept

◆ quiet()

virtual void dx::parser::quiet ( const args & = {})
inlinevirtualnoexceptinherited

◆ removed()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::removed ( device_t & device)
inlineoverrideprotectednoexcept

◆ select()

DX_PRAGMA_IGNORE_RETURN_VALUE_END auto dx::parser::select ( const std::string & id)
inlineprotectedinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sig()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::sig ( int )
inlinestaticprotectednoexcept

also fires from spurious console-control events across sibling child processes sharing a console, not just real Ctrl-C: an isolated one resets counters and extends the run, two within 500ms stop it early

◆ streaming_generator()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::streaming_generator ( args & args)
inlineprotected

◆ streaming_monitor()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::streaming_monitor ( const args & args)
inlineprotected

◆ streaming_reset()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::streaming_reset ( const args & = {})
inlineprotected

◆ try_launch()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
bool dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::try_launch ( )
inline
Here is the caller graph for this function:

◆ unittest()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest ( const args & args)
inlineprotected

runs the mask-selected rows, each cycling for the given duration "reject" only counts a row's own tolerated input rejections: an unsupported iosize/samplerate etc. the driver correctly refuses, or the pin start/stop call itself being not_implemented for the current bus (e.g. ASIO requires a prior device-level attach()/createBuffers() no standalone pin start can provide). any other failure of the operation actually under test is not tolerated - it throws and aborts the whole run

◆ unittest_align()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_align ( const args & = {})
inlineprotected

◆ unittest_buffer()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_buffer ( const args & args = {})
inlineprotected

◆ unittest_format()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_format ( const args & = {})
inlineprotected

◆ unittest_mask()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_mask ( args & args)
inlineprotected

◆ unittest_preference()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_preference ( args & args)
inlineprotected

◆ unittest_preference_erase()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_preference_erase ( decltype(device_t::preference)& preferences,
uint32_t & leaves )
inlineprotected
Here is the caller graph for this function:

◆ unittest_preference_write()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_preference_write ( const decltype(device_t::preference)& preference,
const std::chrono::high_resolution_clock::time_point & timeout,
uint32_t & leaves,
uint32_t depth = 0 )
inlineprotected
Here is the caller graph for this function:

◆ unittest_stream_duration()

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unittest_stream_duration ( args & args)
inlineprotected

◆ version()

virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::version ( const args & args = {})
inlineprotectedvirtualinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ surprise::synchronous< driver >

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
friend class surprise::synchronous< driver >
friend

Member Data Documentation

◆ asynchronous

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
bool dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::asynchronous = false

◆ dictionary

std::map<std::deque<std::string>, dispatch> dx::parser::dictionary
protectedinherited
Initial value:
{
{{"--continue", "--no-error", "--ignore", "--ignore-error"},
{[this](args& args){parameter.error.ignore= true; no_args(args);}, "ignore errors and continue"}},
{{"--indent", "--tab"}, {std::bind(&parser::indent, this, std::placeholders::_1), "set/get indention width and pattern", "[width [pattern]]", {},{
{{"err", "stderr"}, {[this](args&){this->parameter.log.err= true;}, "select std error"}},
{{"log", "stdlog"}, {[this](args&){this->parameter.log.log= true;}, "select std log"}},
{{"out", "stdout"}, {[this](args&){this->parameter.log.out= true;}, "select std out"}},
}}},
{{"--quiet", "-q"}, {std::bind(&parser::quiet, this, std::placeholders::_1), "quiet!"}},
{{"--version", "-v"}, {std::bind(&parser::version, this, std::placeholders::_1), std::string{"display "}+ name+ " version"}},
}
bool log
Definition dx_parser.h:75
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void no_args(const args &args) try
Definition dx_parser.h:216
std::deque< std::string > args
Definition dx_parser.h:61
struct dx::parser::@046247176025362246310022157273031025265032273157 parameter
Definition dx_test.h:138

◆ dropout

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
uint32_t dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::dropout = 0
protected

◆ err

bool dx::parser::err
inherited

◆ [struct]

struct { ... } dx::parser::error

◆ generator

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
std::deque<typename parameter::generator> dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::generator
protected

◆ ignore

bool dx::parser::ignore
inherited

◆ launch_time

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
std::chrono::milliseconds dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::launch_time {}
protected

longest try_launch() since last reset

◆ [struct] [1/2]

struct { ... } dx::parser::log

◆ log [2/2]

bool dx::parser::log
inherited

◆ loopback

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
std::deque<typename parameter::mask> dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::loopback
protected

◆ mask

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
uint64_t dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::mask = ULLONG_MAX

◆ name

const char* dx::parser::name {}
protectedinherited

◆ out

bool dx::parser::out
inherited

◆ parameter

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
struct dx::test::driver::parameter dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::parameter
protected

◆ pattern

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
std::deque<typename parameter::mask> dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::pattern
protected

◆ quiet

bool dx::parser::quiet
inherited

◆ stream_duration

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
std::chrono::high_resolution_clock::duration dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::stream_duration = 0s

◆ tick

template<typename super_device_t, typename audio_pin_t, typename io_t = int32_t, typename device_t = device<super_device_t>, typename driver_t = dx::proxy::driver<device_t>, typename engine_t = stream::engine<device_t, audio_pin_t, driver_t, io_t>>
uint64_t dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::tick = 0
protected

◆ [struct]

DX_PRAGMA_IGNORE_RETURN_VALUE_END struct { ... } dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >::unit_test

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.