dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::test::stream::device< super_device_t, _engine_t > Class Template Reference

the test harness's device with the streaming engine its tests run under - its own group_t slot, or the app's consumer group on its clock divider More...

#include <dx_test_device.h>

Inheritance diagram for dx::test::stream::device< super_device_t, _engine_t >:
Collaboration diagram for dx::test::stream::device< super_device_t, _engine_t >:

Classes

struct  has_license
struct  has_license<type_t, decltype((void) type_t::license, void())>
struct  impulse
 one impulse test: what an analog loop keeps is its timing alone More...
struct  mask
 the channels a monitor's callback works on: one word per direction, plus the mix target More...
struct  sine
 one generator tone: the channels it feeds and its phase, carried between callbacks More...
struct  unit_test
 the unit test's rows and timing: the device's own, or the ones a driver's unit test hands every device it runs More...

Public Types

typedef _engine_t engine_t

Public Member Functions

void conclude() noexcept override
 the pins go while their device still stands: their streams reach its pipe on the way out
template<typename ... initializer_t>
 device(decltype(super::driver)& driver, const decltype(super::id)& id, initializer_t... initializer)
void halt() noexcept
void launch() override
 the audio pins go into their group, which from then on is this device's streaming engine
virtual void operator <<(argsargs& argsargs)
virtual void operator <<(const argsargs& argsargs)
virtual void quiet(const args &= {}) noexcept
void run()
 starting/stopping the engine's pins is what starts/stops their group's streaming session
void unittest(struct unit_test& unit_test, const class table& table)
 runs the mask-selected rows, each cycling for its duration - a row done leaves the mask, a conclude from another thread (the device leaving its bus) ends it where it stands "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 run
 ~device() override

Static Public Member Functions

static std::vector<table::column> unittest_columns()
static void unittest_head(const struct unit_test& unit_test)
 what the unit test runs, ahead of its table
static decltype(parser::dispatch::parameter) unittest_options(struct unit_test& unit_test)
 the options setting a unit test's rows and streaming, the device's and the driver's alike

Public Attributes

uint32_t dropout{}
engine_t* engine{}
 this device's streaming engine, the harness's tests run under
uint64_t tick{}
struct dx::test::stream::device::unit_test unit_test

Protected Types

using args= parser::args
typedef int32_t io_t
 the sample type the tests compute in: the engine's buffers carry it, stated at launch

Protected Member Functions

void _clocksource(argsargs& argsargs)
void _configuration(const argsargs& argsargs= {})
 the device's configuration: a list of per stream indices sets it, comma separated in stream order (the streams left out keep theirs), what the device runs is printed
void _device_configuration(argsargs& argsargs)
 set/get the device's configuration: the change takes its streaming session and its buffers with it
void _generator(args &)
void _impulse(args &)
void _info(const args &)
 list device information
void _iosize(argsargs& argsargs)
 set/get I/O streaming block size
void _license(const args &)
void _monitor(argsargs& argsargs)
void _reset(const args &= {})
void _safety_offset(argsargs& argsargs, dx::stream::role::role choice_role)
 set/get the streaming group's safety offset of its transport (default: the lead the tick keeps to the device, kept per wait strategy) or of its clients (the ring margin), in clock ticks, per direction
void _samplerate(argsargs& argsargs)
void _source(argsargs& argsargs)
void _strategy(argsargs& argsargs)
 set/get the wait strategies of the streaming group's transport and clients, both unless one is named
void _streaming_reset(const args &= {})
void _string(const argsargs& argsargs= {})
void _sync_reference(argsargs& argsargs)
 set/get I/O streaming block size
void _unittest(argsargs& argsargs)
void clock_monitor(std::chrono::high_resolution_clock::duration duration)
virtual bool head() const noexcept
virtual void help(argsargs& argsargs)
virtual void help_head() const noexcept
virtual void indent(argsargs& argsargs)
virtual void no_args(const argsargs& argsargs)
void notify() noexcept
void process(int64_t) noexcept
auto select(const std::string& id)
void sweep_write(dx::stream::direction::direction direction, uint32_t value)
 writes the swept value to the engine's client safety_offset, or - if sweep_transport - the streaming group's transport lead
virtual void version(const argsargs& argsargs= {})

Static Protected Member Functions

template<typename value_t= int32_t>
static std::optional<value_t> value(argsargs& argsargs)
template<typename value_t= int32_t>
static value_t value(argsargs& argsargs, const char* name)
 the next argument as a number of value_t, which the parameter named requires
template<typename value_t>
static value_t value(argsargs& argsargs, value_t dflt)
 the next argument as a number of value_t, the default where it is none

Protected Attributes

std::atomic<bool> concluding{}
 a conclude from another thread waits for the unit test
std::optional<engine_t> consumer
 the engine where it is not this device's group_t slot
std::map<std::deque<std::string>, dispatch> dictionary
std::deque<sine> generator
std::deque<struct impulse> impulse
std::chrono::seconds load_duration{}
std::deque<mask> loopback
struct dx::parser:: { ... }  parameter
std::deque<mask> pattern
std::deque<std::string> scenarios
 load: the scenarios the monitor runs its session under in turn, each for load_duration and closed by its own lead probe
uint32_t sweep{}
 safety_offset ratchet: current in/out offset, raised on every pattern-test dropout for whichever direction's isr overload counted it; 0: off
dx::stream::direction::direction sweep_direction{dx::stream::direction::any}
 sweep scope: any= both directions seeded/ratcheted, out/in= only that one, the other stays at its own current (manually set) value
bool sweep_transport{}
 sweep target: the transport's lead (kept per wait strategy) if set, else the client's margin
std::recursive_mutex testing
 held by a running unit test: a conclude from another thread stops it and waits until it left
struct dx::test::stream::device:: { ... }  tmp

Static Protected Attributes

static constexpr struct dx::test::stream::device:: { ... }  launch []
static constexpr struct dx::test::stream::device:: { ... }  name []= "pin:construction/destruction"

Detailed Description

template<typename super_device_t, typename _engine_t = typename super_device_t::group_t>
class dx::test::stream::device< super_device_t, _engine_t >

the test harness's device with the streaming engine its tests run under - its own group_t slot, or the app's consumer group on its clock divider

Member Typedef Documentation

◆ args

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
using dx::test::stream::device<super_device_t, _engine_t>::args= parser::args
protected

◆ engine_t

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
typedef _engine_t dx::test::stream::device<super_device_t, _engine_t>::engine_t

◆ io_t

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
typedef int32_t dx::test::stream::device<super_device_t, _engine_t>::io_t
protected

the sample type the tests compute in: the engine's buffers carry it, stated at launch

Constructor & Destructor Documentation

◆ device()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
template<typename ... initializer_t>
dx::test::stream::device<super_device_t, _engine_t>::device(decltype(super::driver)& driver, const decltype(super::id)& id, initializer_t... initializer)
inline

◆ ~device()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
dx::test::stream::device<super_device_t, _engine_t>::~device()
inlineoverride

Member Function Documentation

◆ _clocksource()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_clocksource(args& args)
inlineprotected
Here is the caller graph for this function:

◆ _configuration()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_configuration(const args& args= {})
inlineprotected

the device's configuration: a list of per stream indices sets it, comma separated in stream order (the streams left out keep theirs), what the device runs is printed

Here is the caller graph for this function:

◆ _device_configuration()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_device_configuration(args& args)
inlineprotected

set/get the device's configuration: the change takes its streaming session and its buffers with it

Here is the caller graph for this function:

◆ _generator()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_generator(args&)
inlineprotected
Here is the caller graph for this function:

◆ _impulse()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_impulse(args&)
inlineprotected

< one sample's turn of the sine, none without

Here is the caller graph for this function:

◆ _info()

template<typename super_device_t>
void dx::test::device<super_device_t>::_info(const args&)
inlineprotectedinherited

list device information

Here is the call graph for this function:

◆ _iosize()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_iosize(args& args)
inlineprotected

set/get I/O streaming block size

Here is the caller graph for this function:

◆ _license()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_license(const args&)
inlineprotected
Here is the caller graph for this function:

◆ _monitor()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_monitor(args& args)
inlineprotected
Here is the caller graph for this function:

◆ _reset()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_reset(const args&= {})
inlineprotected
Here is the caller graph for this function:

◆ _safety_offset()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_safety_offset(args& args, dx::stream::role::role choice_role)
inlineprotected

set/get the streaming group's safety offset of its transport (default: the lead the tick keeps to the device, kept per wait strategy) or of its clients (the ring margin), in clock ticks, per direction

Here is the caller graph for this function:

◆ _samplerate()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_samplerate(args& args)
inlineprotected
Here is the caller graph for this function:

◆ _source()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_source(args& args)
inlineprotected
Here is the caller graph for this function:

◆ _strategy()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_strategy(args& args)
inlineprotected

set/get the wait strategies of the streaming group's transport and clients, both unless one is named

Here is the caller graph for this function:

◆ _streaming_reset()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_streaming_reset(const args&= {})
inlineprotected
Here is the caller graph for this function:

◆ _string()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_string(const args& args= {})
inlineprotected
Here is the caller graph for this function:

◆ _sync_reference()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_sync_reference(args& args)
inlineprotected

set/get I/O streaming block size

Here is the caller graph for this function:

◆ _unittest()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::_unittest(args& args)
inlineprotected
Here is the caller graph for this function:

◆ clock_monitor()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::clock_monitor(std::chrono::high_resolution_clock::duration duration)
inlineprotected

< sweep: a pattern lock survived the monitor clear settle - dropouts only count while armed

< sweep: isr[tx]/isr[rx] overload snapshot at arming, to attribute the next dropout to a direction

< sweep: time of the last (re)start at the current value - never locking within a timeout escalates too (the never-lock trap: a start below the floor never arms, so the dropout ratchet alone would hang forever)

< samples per tick: the client margins' unit

the least reserve each lead kept: host out/in from their own cells (frames), local out/in from the ring distances at the pipe's fill/take (bytes -> ticks)

< load: the most each lead needed over the scenarios, by its cell

the lead each side needs: what it had, less the least it kept since the last clear, plus a tick - under whatever load the run saw

< load: the running scenario's threads

◆ conclude()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::conclude()
inlineoverridenoexcept

the pins go while their device still stands: their streams reach its pipe on the way out

◆ halt()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::halt()
inlinenoexcept

◆ head()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
virtual bool dx::parser::head() const
inlineprotectedvirtualnoexcept

Reimplemented from dx::parser.

◆ 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()

virtual void dx::parser::help_head() const
inlineprotectedvirtualnoexceptinherited

Reimplemented in dx::select< parsers_t >, dx::test::driver< super_device_t, device_t, driver_t >, and dx::test::stream::driver< super_device_t, device_t, driver_t >.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ indent()

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

◆ launch()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::launch()
inlineoverride

the audio pins go into their group, which from then on is this device's streaming engine

◆ no_args()

virtual 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 _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::notify()
inlineprotectednoexcept

◆ operator <<() [1/2]

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

Reimplemented in dx::install::parser, dx::select< parsers_t >, and dx::test::driver< super_device_t, device_t, driver_t >.

Here is the call graph for this function:

◆ operator <<() [2/2]

virtual void dx::parser::operator <<(const args& args)
inlinevirtualinherited
Here is the caller graph for this function:

◆ process()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::process(int64_t)
inlineprotectednoexcept

◆ quiet()

virtual void dx::parser::quiet(const args&= {})
inlinevirtualnoexceptinherited
Here is the caller graph for this function:

◆ run()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::run()
inline

starting/stopping the engine's pins is what starts/stops their group's streaming session

◆ select()

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:

◆ sweep_write()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::sweep_write(dx::stream::direction::direction direction, uint32_t value)
inlineprotected

writes the swept value to the engine's client safety_offset, or - if sweep_transport - the streaming group's transport lead

◆ unittest()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::unittest(struct unit_test& unit_test, const class table& table)
inline

runs the mask-selected rows, each cycling for its duration - a row done leaves the mask, a conclude from another thread (the device leaving its bus) ends it where it stands "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 run

◆ unittest_columns()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::vector<table::column> dx::test::stream::device<super_device_t, _engine_t>::unittest_columns()
inlinestatic

◆ unittest_head()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
void dx::test::stream::device<super_device_t, _engine_t>::unittest_head(const struct unit_test& unit_test)
inlinestatic

what the unit test runs, ahead of its table

◆ unittest_options()

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
decltype(parser::dispatch::parameter) dx::test::stream::device<super_device_t, _engine_t>::unittest_options(struct unit_test& unit_test)
inlinestatic

the options setting a unit test's rows and streaming, the device's and the driver's alike

◆ value() [1/3]

template<typename value_t= int32_t>
std::optional<value_t> dx::parser::value(args& args)
inlinestaticprotectedinherited

the next argument where it is a number of value_t, consumed: $ and 0x hexadecimal, decimal otherwise - none where it is no number or outside value_t

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value() [2/3]

template<typename value_t= int32_t>
value_t dx::parser::value(args& args, const char* name)
inlinestaticprotectedinherited

the next argument as a number of value_t, which the parameter named requires

Here is the call graph for this function:

◆ value() [3/3]

template<typename value_t>
value_t dx::parser::value(args& args, value_t dflt)
inlinestaticprotectedinherited

the next argument as a number of value_t, the default where it is none

Here is the call graph for this function:

◆ version()

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

Member Data Documentation

◆ concluding

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::atomic<bool> dx::test::stream::device<super_device_t, _engine_t>::concluding{}
protected

a conclude from another thread waits for the unit test

◆ consumer

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::optional<engine_t> dx::test::stream::device<super_device_t, _engine_t>::consumer
protected

the engine where it is not this device's group_t slot

◆ 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"}},
}
virtual void no_args(const args &args)
Definition dx_parser.h:232
std::deque< std::string > args
Definition dx_parser.h:64
struct dx::parser::@046247176025362246310022157273031025265032273157 parameter
the test harness's device with the streaming engine its tests run under - its own group_t slot,...
Definition dx_test_device.h:241
static constexpr struct dx::test::stream::device::@245205141261075367001111270043204116173136153306 name[]
parser::args args
Definition dx_test_device.h:245

◆ dropout

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
uint32_t dx::test::stream::device<super_device_t, _engine_t>::dropout{}

◆ engine

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
engine_t* dx::test::stream::device<super_device_t, _engine_t>::engine{}

this device's streaming engine, the harness's tests run under

◆ generator

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::deque<sine> dx::test::stream::device<super_device_t, _engine_t>::generator
protected

◆ impulse

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::deque<struct impulse> dx::test::stream::device<super_device_t, _engine_t>::impulse
protected

◆ launch

struct { ... } dx::test::stream::device<super_device_t, _engine_t>::launch[]
Initial value:
= true},
{.name= "pin:start/stop", .pin= true},
{.name= "pin:const/dest|start/stop", .launch= true, .pin= true},
{.name= "clock:start/stop", .clock= true},
{.name= "clock:start/stop|pin:const/dest", .launch= true, .clock= true},
{.name= "kernel notification insertion", .event= true},
{.name= "kernel notification|pin:const/dest", .launch= true, .pin= true, .event= true},
{.name= "kernel notification|clock", .clock= true, .event= true},
{.name= "kernel notification|clock|pin", .launch= true, .pin= true, .clock= true, .event= true},
{.name= "iosizes", .iosize{.valid= true}},
{.name= "invalid iosizes", .iosize{.invalid= true}},
{.name= "iosizes|event", .event= true, .iosize{.valid= true}},
{.name= "invalid iosizes|event", .event= true, .iosize{.invalid= true}},
{.name= "multichannel creation", .channels= true},
{.name= "multichannel|pin:const/dest", .launch= true, .channels= true},
{.name= "multichannel|clock|event", .clock= true, .event= true, .channels= true},
{.name= "multichannel|clock|event|pin", .launch= true, .pin= true, .clock= true, .event= true, .channels= true},
{.name= "samplerate|clock|event", .clock= true, .event= true, .samplerate= true},
{.name= "samplerate|clock|event|iosize", .clock= true, .event= true, .iosize{.valid= true}, .samplerate= true},
{.name= "multichannel|clock|event|samplerate", .clock= true, .event= true, .iosize{.valid= true}, .channels= true, .samplerate= true},
{.name= "multichannel|clock|event|srate|pin", .launch= true, .pin= true, .clock= true, .event= true, .iosize{.valid= true}, .channels= true, .samplerate= true},
}

◆ load_duration

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::chrono::seconds dx::test::stream::device<super_device_t, _engine_t>::load_duration{}
protected

◆ loopback

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::deque<mask> dx::test::stream::device<super_device_t, _engine_t>::loopback
protected

◆ name

struct { ... } dx::test::stream::device<super_device_t, _engine_t>::name[]

◆ parameter

struct { ... } dx::parser::parameter

◆ pattern

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::deque<mask> dx::test::stream::device<super_device_t, _engine_t>::pattern
protected

◆ scenarios

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::deque<std::string> dx::test::stream::device<super_device_t, _engine_t>::scenarios
protected

load: the scenarios the monitor runs its session under in turn, each for load_duration and closed by its own lead probe

◆ sweep

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
uint32_t dx::test::stream::device<super_device_t, _engine_t>::sweep{}
protected

safety_offset ratchet: current in/out offset, raised on every pattern-test dropout for whichever direction's isr overload counted it; 0: off

◆ sweep_direction

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
dx::stream::direction::direction dx::test::stream::device<super_device_t, _engine_t>::sweep_direction{dx::stream::direction::any}
protected

sweep scope: any= both directions seeded/ratcheted, out/in= only that one, the other stays at its own current (manually set) value

◆ sweep_transport

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
bool dx::test::stream::device<super_device_t, _engine_t>::sweep_transport{}
protected

sweep target: the transport's lead (kept per wait strategy) if set, else the client's margin

◆ testing

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
std::recursive_mutex dx::test::stream::device<super_device_t, _engine_t>::testing
protected

held by a running unit test: a conclude from another thread stops it and waits until it left

◆ tick

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
uint64_t dx::test::stream::device<super_device_t, _engine_t>::tick{}

◆ tmp

struct { ... } dx::test::stream::device<super_device_t, _engine_t>::tmp

◆ unit_test

template<typename super_device_t, typename _engine_t= typename super_device_t::group_t>
struct dx::test::stream::device::unit_test dx::test::stream::device<super_device_t, _engine_t>::unit_test

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