|
dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
|
the driver package installer: a product's <Product>Install.exe, the installer's custom action (dxd_installer.wxs) and a command line alike More...
#include <dx_install.h>
Public Types | |
| typedef std::deque< std::string > | args |
Public Member Functions | |
| virtual void | operator<< (args &args) |
| virtual void | operator<< (const args &args) |
| parser (const char *name, const ::GUID &guid={}, const decltype(hwids)&hwids={}) | |
| virtual void | quiet (const args &={}) noexcept |
Protected Member Functions | |
| virtual bool | head () const noexcept |
| virtual void | help (args &args) |
| virtual void | help_head () const noexcept |
| virtual void | indent (args &args) |
| virtual void | install (args &args) |
| virtual void | no_args (const args &args) |
| void | resolve (const std::string &inf) |
| the class and the hardware ids for a run: what the arguments left unknown comes off the inf | |
| auto | select (const std::string &id) |
| virtual void | uninstall (args &args) |
| virtual void | version (const args &args={}) |
Static Protected Member Functions | |
| static std::string | enumerator (const std::string &hwid) |
Protected Attributes | |
| std::map< std::deque< std::string >, dispatch > | dictionary |
| bool | given {} |
| a hwid sub parameter replaced the product's list | |
| ::GUID | guid |
| the devices' class, GUID_NULL unknown | |
| std::deque< std::string > | hwids |
| the devices, as an inf's models name them (USB\VID_xxxx&PID_xxxx) | |
| const char * | name {} |
| struct { | |
| struct { | |
| bool ignore | |
| } error | |
| struct { | |
| union { | |
| struct { | |
| bool err:1 | |
| bool log:1 | |
| bool out:1 | |
| } | |
| uint32_t mask | |
| } | |
| } log | |
| bool quiet | |
| } | parameter |
| decltype(dispatch::parameter) | sub |
| the sub parameters –install and –uninstall share | |
the driver package installer: a product's <Product>Install.exe, the installer's custom action (dxd_installer.wxs) and a command line alike
--install [class <guid>] [hwid <id> [hwid ..]] <inf>: purges every package with a model of the hardware ids (a competitor for the same devices - the alternative package of the product, an older release - would otherwise be ranked against the new one) and installs the package through setup::install(); --uninstall [class <guid>] [hwid <id> ..] [inf]: removes the devices' nodes and every package of theirs, then rescans the bus. The devices' class and hardware ids are the product's (the constructor), a sub parameter overrides them - the first hwid replaces the list, further ones add - and what is still unknown comes off the inf given (its ClassGUID, its models); the enumerator is the hardware id's own prefix.
|
inherited |
|
inline |
|
inlinestaticprotected |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::service::parser, and dx::test::driver< super_device_t, device_t, driver_t >.
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::select< parsers_t >, and dx::test::driver< super_device_t, device_t, driver_t >.
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtual |
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
Reimplemented in dx::select< parsers_t >, and dx::test::driver< super_device_t, device_t, driver_t >.
|
inlinevirtualinherited |
|
inlinevirtualnoexceptinherited |
|
inlineprotected |
the class and the hardware ids for a run: what the arguments left unknown comes off the inf
|
inlineprotectedinherited |
|
inlineprotectedvirtual |
|
inlineprotectedvirtualinherited |
|
protectedinherited |
|
inherited |
| struct { ... } dx::parser::error |
|
protected |
a hwid sub parameter replaced the product's list
|
protected |
the devices' class, GUID_NULL unknown
|
protected |
the devices, as an inf's models name them (USB\VID_xxxx&PID_xxxx)
|
inherited |
| struct { ... } dx::parser::log |
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
| struct { ... } dx::parser::parameter |
|
inherited |
|
protected |
the sub parameters –install and –uninstall share
| (c) copyright 2009 dynamic acoustics e.U. | generated on |