|
HART
0.2.0
High level Audio Regression and Testing
|
Holds values set by the user via CLI interface. More...
#include <hart_cliconfig.hpp>
Public Member Functions | |
| void | initCommandLineArgs () |
| Inits the CLI arguments. | |
| CLI::App & | getCLIApp () |
| std::string | getDataRootPath () |
| Get data root path set by a "`--data-root-path`,`-d`" argument. | |
| uint_fast32_t | getRandomSeed () |
| Gets random seed set by a "`--seed`/`-s`" argument. | |
| int | getLinDecimals () |
| int | getDbDecimals () |
| int | getSecDecimals () |
| int | getHzDecimals () |
| int | getRadDecimals () |
| int | getCentsDecimals () |
| bool | shouldRunGenerators () |
| bool | shouldShuffleTasks () |
| std::string & | getTags () |
| size_t | getGefaultBlockSizeFrames () const |
| size_t | getDefaultNumInputChannels () const |
| size_t | getDefaultNumOutputChannels () const |
| double | getDefaultSampleRateHz () const |
| double | getDefaultRenderDurationSeconds () const |
Static Public Member Functions | |
| static CLIConfig & | getInstance () |
| Get the singleton instance. | |
Holds values set by the user via CLI interface.
It's mostly intended for the internal use, but you may access it in your own test cases as well
Definition at line 12 of file hart_cliconfig.hpp.
|
inlinestatic |
Get the singleton instance.
Definition at line 16 of file hart_cliconfig.hpp.
|
inline |
Inits the CLI arguments.
Definition at line 23 of file hart_cliconfig.hpp.
|
inline |
Definition at line 99 of file hart_cliconfig.hpp.
|
inline |
Get data root path set by a "`--data-root-path`,`-d`" argument.
Definition at line 102 of file hart_cliconfig.hpp.
|
inline |
Gets random seed set by a "`--seed`/`-s`" argument.
You can use it in your test cases to keep your own random-ness dependent on the global random seed
Definition at line 106 of file hart_cliconfig.hpp.
|
inline |
Definition at line 109 of file hart_cliconfig.hpp.
|
inline |
Definition at line 112 of file hart_cliconfig.hpp.
|
inline |
Definition at line 115 of file hart_cliconfig.hpp.
|
inline |
Definition at line 118 of file hart_cliconfig.hpp.
|
inline |
Definition at line 121 of file hart_cliconfig.hpp.
|
inline |
Definition at line 124 of file hart_cliconfig.hpp.
|
inline |
Definition at line 126 of file hart_cliconfig.hpp.
|
inline |
Definition at line 127 of file hart_cliconfig.hpp.
|
inline |
Definition at line 128 of file hart_cliconfig.hpp.
|
inline |
Definition at line 130 of file hart_cliconfig.hpp.
|
inline |
Definition at line 131 of file hart_cliconfig.hpp.
|
inline |
Definition at line 132 of file hart_cliconfig.hpp.
|
inline |
Definition at line 133 of file hart_cliconfig.hpp.
|
inline |
Definition at line 134 of file hart_cliconfig.hpp.