|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
the test harness's device: the bus device plus its command line parser - a derived device adds its commands to the parser's More...
#include <dx_test_device.h>
Public Types | |
| typedef std::deque<std::string> | args |
Public Member Functions | |
| template<typename ... initializer_t> | |
| device(decltype(super::driver)& driver, const decltype(super::id)& id, initializer_t... initializer) | |
| virtual void | operator <<(argsargs& argsargs) |
| virtual void | operator <<(const argsargs& argsargs) |
| virtual void | quiet(const args &= {}) noexcept |
Protected Member Functions | |
| void | _info(const args &) |
| list device information | |
| 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) |
| auto | select(const std::string& id) |
| 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::map<std::deque<std::string>, dispatch> | dictionary |
| const char* | name{} |
| struct dx::parser:: { ... } | parameter |
Friends | |
| template<typename, typename, typename> | |
| class | driver |
| the driver carries the only device's commands as its own | |
the test harness's device: the bus device plus its command line parser - a derived device adds its commands to the parser's
declared ahead of the device's friend, which MSVC binds to dx::driver otherwise
|
inherited |
|
inline |
|
inlineprotected |
list device information
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::service::parser, dx::test::driver< super_device_t, device_t, driver_t >, dx::test::stream::device< super_device_t, _engine_t >, dx::test::stream::device< super_device_t, engine_t >, dx::test::stream::device< super_device_t, typename super_device_t::group_t >, and dx::test::stream::driver< super_device_t, device_t, driver_t >.
|
inlineprotectedvirtualinherited |
|
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 >.
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
Reimplemented in dx::install::parser, dx::select< parsers_t >, and dx::test::driver< super_device_t, device_t, driver_t >.
|
inlinevirtualinherited |
|
inlinevirtualnoexceptinherited |
|
inlineprotectedinherited |
|
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
|
inlinestaticprotectedinherited |
the next argument as a number of value_t, which the parameter named requires
|
inlinestaticprotectedinherited |
the next argument as a number of value_t, the default where it is none
|
inlineprotectedvirtualinherited |
the driver carries the only device's commands as its own
|
protectedinherited |
|
protectedinherited |
| struct { ... } dx::parser::parameter |