|
RTC Toolkit 5.1.0
|
Class used to parse default command line arguments. More...
#include <rtctk/componentFramework/rtcComponentArgs.hpp>
Public Member Functions | |
| Args (int argc, char **argv) | |
| Constructor for Args class. | |
| std::string | GetComponentName () const |
| Get component name or identifier. | |
| elt::mal::Uri | GetServiceDiscEndpoint () const |
| Get service discovery endpoint. | |
| std::optional< std::filesystem::path > | GetLogPropsFile () const |
| Get name of optionally provided log4cplus log properties file. | |
| bool | GetDebugMode () const |
| Get debug mode. | |
| std::optional< elt::mal::Uri > | GetModelExportFile () const |
| Get name of optionally provided state machine model export file. | |
| void | Parse () |
| do the actual parsing of CLI | |
| int | PrintHelpOrErrMsg (const CLI::Error &e) const |
| Print parsing help/version msg or error msg, and return 0 or 1. | |
Class used to parse default command line arguments.
| std::string rtctk::componentFramework::Args::GetComponentName | ( | ) | const |
Get component name or identifier.
| bool rtctk::componentFramework::Args::GetDebugMode | ( | ) | const |
Get debug mode.
| std::optional< std::filesystem::path > rtctk::componentFramework::Args::GetLogPropsFile | ( | ) | const |
Get name of optionally provided log4cplus log properties file.
| std::optional< elt::mal::Uri > rtctk::componentFramework::Args::GetModelExportFile | ( | ) | const |
Get name of optionally provided state machine model export file.
| elt::mal::Uri rtctk::componentFramework::Args::GetServiceDiscEndpoint | ( | ) | const |
Get service discovery endpoint.
| void rtctk::componentFramework::Args::Parse | ( | ) |
do the actual parsing of CLI
Print parsing help/version msg or error msg, and return 0 or 1.
| e | CLI error code |
| CLI::ParseError | - CLI11 parsing exception |