dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx_test_device.h File Reference
#include "dx_ansi_colors.h"
#include "dx_circular.h"
#include "dx_parser.h"
#include "dx_stream.h"
#include "dx_value.h"
#include <atomic>
#include <bit>
#include <bitset>
#include <chrono>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <mutex>
#include <optional>
#include <random>
#include <sstream>
#include <thread>
#include <tuple>
#include <vector>
#include <signal.h>
Include dependency graph for dx_test_device.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dx::test::device<super_device_t>
 the test harness's device: the bus device plus its command line parser - a derived device adds its commands to the parser's More...
class  dx::test::load
 a load scenario the streaming monitor runs its session under: threads of the named kind for the object's lifetime More...
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 More...
struct  dx::test::stream::device<super_device_t, _engine_t>::has_license<type_t, decltype((void) type_t::license, void())>
struct  dx::test::stream::device<super_device_t, _engine_t>::has_license<type_t, typename>
struct  dx::test::stream::device<super_device_t, _engine_t>::impulse
 one impulse test: what an analog loop keeps is its timing alone More...
struct  dx::test::stream::device<super_device_t, _engine_t>::mask
 the channels a monitor's callback works on: one word per direction, plus the mix target More...
struct  dx::test::stream::device<super_device_t, _engine_t>::sine
 one generator tone: the channels it feeds and its phase, carried between callbacks More...
struct  dx::test::stream::device<super_device_t, _engine_t>::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...
class  dx::test::table
 a command's results as a table: its head once, a row per run beneath the one before - the run's seconds and its share of the duration ahead of the command's columns More...
struct  dx::test::table::column
class  dx::test::table::row<values_t>
 one run's row: true until stopped or the duration is over - asked, it rewrites itself in place every 20 ms, the cursor hidden; its end writes the last state, where it ran, and shows the cursor again More...

Namespaces

namespace  dx
 dynax driver framework interface namespace
namespace  dx::test
 the manual exerciser: one dx::test::driver per client bus, each a dx::parser of its own, handed to dx::select. It prints rather than asserts - the output is the verdict
namespace  dx::test::stream
 the streaming tests over a bus's command set