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...
#include <dx_test_device.h>
|
| struct | column |
| class | row |
| | 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...
|
|
| template<typename values_t> |
| row<values_t> | operator ()(std::optional<std::chrono::seconds> duration, values_t&& values) const |
| | table(bool quiet, std::vector<column> columns) |
|
| static std::string | legend(std::vector<column> columns) |
| | every column with its description, for the command's help
|
|
| std::recursive_mutex | mutex |
| | what else the command prints meanwhile takes it
|
|
| static const std::vector<column> | run{{.name= "sec", .width= 6, .description= "seconds the run streams"}, {.name= "%", .width= 3, .description= "its share of the duration"}} |
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
◆ table()
| dx::test::table::table(bool quiet, std::vector<column> columns) |
|
inline |
◆ legend()
| std::string dx::test::table::legend(std::vector<column> columns) |
|
inlinestatic |
every column with its description, for the command's help
◆ operator ()()
template<typename values_t>
| row<values_t> dx::test::table::operator ()(std::optional<std::chrono::seconds> duration, values_t&& values) const |
|
inline |
◆ mutex
| std::recursive_mutex dx::test::table::mutex |
|
mutable |
what else the command prints meanwhile takes it
◆ run
| const std::vector<table::column> dx::test::table::run{{.name= "sec", .width= 6, .description= "seconds the run streams"},{.name= "%", .width= 3, .description= "its share of the duration"}} |
|
inlinestatic |
the columns every row leads with
The documentation for this class was generated from the following file: