#include <dx_service.h>
|
| typedef std::deque< std::string > | args |
| |
|
| | catch (...) |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| |
| | catch (const std::exception &__std_exception) |
| |
| | dx_catchall_rethrow (, "%s: handle: %p, access:%x service: %p", id.c_str(), handle, access, service) manager(const std |
| |
| | dx_catchall_rethrow (, "%s: handle: %p, service: %p", id.c_str(), handle, service) void install(const std |
| |
| void | initialize (const std::string &id="", const ::DWORD(&access)[2]={SC_MANAGER_ALL_ACCESS, SERVICE_ALL_ACCESS}, const std::string desc="", const std::string &path="") try |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | operator<< (args &args) try |
| |
| virtual void | operator<< (const args &args) |
| |
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void | parse (args &args) |
| |
| | parser (const std::string &id, const char *name, const std::string &desc="") |
| |
| virtual void | quiet (const args &={}) noexcept |
| |
| dx::service::manager::status promoted | this (::DWORD value) |
| |
| dx::service::manager::enumerate promoted | this (::DWORD value) |
| |
◆ args
◆ parser()
| dx::service::parser::parser |
( |
const std::string & | id, |
|
|
const char * | name, |
|
|
const std::string & | desc = "" ) |
|
inline |
◆ catch() [1/9]
◆ catch() [2/9]
◆ catch() [3/9]
◆ catch() [4/9]
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::parser::catch |
( |
const dx::exception & | __dx_exception | ) |
|
|
inlineprotectedinherited |
◆ catch() [5/9]
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::parser::catch |
( |
const dx::exception & | __dx_exception | ) |
|
|
inlineprotectedinherited |
◆ catch() [6/9]
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::parser::catch |
( |
const dx::exception & | __dx_exception | ) |
|
|
inlineinherited |
◆ catch() [7/9]
| dx::parser::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineprotectedinherited |
◆ catch() [8/9]
| dx::parser::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineprotectedinherited |
◆ catch() [9/9]
| dx::parser::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineinherited |
◆ dx_catchall_rethrow() [1/8]
| dx::service::parser::dx_catchall_rethrow |
( |
| ) |
& |
|
inlineprotected |
◆ dx_catchall_rethrow() [2/8]
| dx::service::parser::dx_catchall_rethrow |
( |
| ) |
& |
|
inlineprotected |
◆ dx_catchall_rethrow() [3/8]
| dx::service::parser::dx_catchall_rethrow |
( |
| ) |
& |
|
inlineprotected |
◆ dx_catchall_rethrow() [4/8]
| dx::service::parser::dx_catchall_rethrow |
( |
| ) |
& |
|
inlineprotected |
◆ dx_catchall_rethrow() [5/8]
| dx::service::parser::dx_catchall_rethrow |
( |
| ) |
& |
|
inlineprotected |
◆ dx_catchall_rethrow() [6/8]
| dx::service::parser::dx_catchall_rethrow |
( |
| ) |
& |
|
inlineprotected |
◆ dx_catchall_rethrow() [7/8]
| dx::service::manager::dx_catchall_rethrow |
( |
"%s: handle: % | p, |
|
|
access:%x service:%p" | , |
|
|
id. | c_str(), |
|
|
handle | , |
|
|
access | , |
|
|
service | ) const |
|
inlineinherited |
◆ dx_catchall_rethrow() [8/8]
| dx::service::manager::dx_catchall_rethrow |
( |
"%s: handle: % | p, |
|
|
service:%p" | , |
|
|
id. | c_str(), |
|
|
handle | , |
|
|
service | ) const |
|
inlineinherited |
◆ head()
| bool dx::service::parser::head |
( |
| ) |
const |
|
inlineoverrideprotectedvirtualnoexcept |
◆ help()
| virtual void dx::parser::help |
( |
args & | args | ) |
|
|
inlineprotectedvirtualinherited |
◆ help_head()
| virtual void dx::parser::help_head |
( |
| ) |
const |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::virtuel::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< super_device_t >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t > >, and dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.
◆ help_scope()
| virtual void dx::parser::help_scope |
( |
| ) |
const |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::select< parsers_t >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::virtuel::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< super_device_t >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t > >, and dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.
◆ initialize()
| void dx::service::manager::initialize |
( |
const std::string & | id = "", |
|
|
const ::DWORD(&) | access[2] = {SC_MANAGER_ALL_ACCESS, SERVICE_ALL_ACCESS}, |
|
|
const std::string | desc = "", |
|
|
const std::string & | path = "" ) |
|
inlineinherited |
◆ install()
| virtual void dx::service::parser::install |
( |
args & | args | ) |
|
|
inlineprotectedvirtual |
◆ operator<<() [1/2]
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::operator<< |
( |
args & | args | ) |
|
|
inlinevirtualinherited |
◆ operator<<() [2/2]
| virtual void dx::parser::operator<< |
( |
const args & | args | ) |
|
|
inlinevirtualinherited |
◆ parse()
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::parse |
( |
args & | args | ) |
|
|
inlinevirtualinherited |
Reimplemented in dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::virtuel::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< super_device_t >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t > >, and dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.
◆ quiet()
| virtual void dx::parser::quiet |
( |
const args & | = {} | ) |
|
|
inlinevirtualnoexceptinherited |
◆ select()
| const auto dx::parser::select |
( |
const std::string & | id | ) |
const |
|
inlineprotectedinherited |
◆ this() [1/2]
◆ this() [2/2]
◆ version()
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::version |
( |
const args & | = {} | ) |
|
|
inlineprotectedvirtualnoexceptinherited |
◆ access
| ::DWORD dx::service::manager::access {} |
|
protectedinherited |
◆ desc
| std::string dx::service::manager::desc |
|
protectedinherited |
◆ dictionary
| std::map<std::deque<std::string>, dispatch> dx::parser::dictionary |
|
protectedinherited |
Initial value:{
{{
"--help",
"-h",
"-?"},{std::bind(&
parser::help,
this, std::placeholders::_1),
"help or detailed help on specific arguments", [
this](){
for(
const auto& verb:
dictionary) std::cout<<
"["<< verb.first.front()<<
"] ";},
true}},
{{
"--quiet",
"-q"}, {std::bind(&
parser::quiet,
this, std::placeholders::_1),
"quiet!"}},
{{
"--version",
"-v"}, {std::bind(&
parser::version,
this, std::placeholders::_1), std::string{
"display "}+
name+
" version"}},
}
std::map< std::deque< std::string >, dispatch > dictionary
Definition dx_parser.h:119
const char * name
Definition dx_parser.h:58
bool quiet
Definition dx_parser.h:60
virtual void help(args &args) try
Definition dx_parser.h:154
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void version(const args &={}) noexcept
Definition dx_parser.h:188
◆ handle
| ::SC_HANDLE dx::service::manager::handle {} |
|
protectedinherited |
◆ id
| std::string dx::service::manager::id |
|
protectedinherited |
◆ name
| const char* dx::parser::name {} |
|
protectedinherited |
◆ [struct]
| struct { ... } dx::parser::parameter |
◆ path
| std::string dx::service::manager::path |
|
protectedinherited |
◆ quiet
| bool dx::parser::quiet = false |
|
inherited |
◆ service
| ::SC_HANDLE dx::service::manager::service {} |
|
protectedinherited |
◆ this [1/2]
◆ this [2/2]
The documentation for this class was generated from the following file: