13#ifndef RTCTK_COMPONENTFRAMEWORK_RTCCOMPONENTARGS_HPP
14#define RTCTK_COMPONENTFRAMEWORK_RTCCOMPONENTARGS_HPP
20#include <boost/program_options.hpp>
43 explicit HelpOnly(
const std::string& help_text);
53 explicit ArgNotSet(
const std::string& arg_name);
60 Args(
int argc,
char** argv);
103 boost::program_options::variables_map vm;
Exception class used by the command line argument parser.
Definition: rtcComponentArgs.hpp:51
Exception class used by the command line argument parser.
Definition: rtcComponentArgs.hpp:41
Class used to parse default command line arguments.
Definition: rtcComponentArgs.hpp:34
bool GetDebugMode() const
Get debug mode.
Definition: rtcComponentArgs.cpp:44
std::optional< elt::mal::Uri > GetModelExportFile() const
Get name of optionally provided state machine model export file.
Definition: rtcComponentArgs.cpp:48
std::string GetComponentName() const
Get component name or identifier.
Definition: rtcComponentArgs.cpp:28
elt::mal::Uri GetServiceDiscEndpoint() const
Get service discovery endpoint.
Definition: rtcComponentArgs.cpp:32
std::optional< elt::mal::Uri > GetLogPropsFile() const
Get name of optionally provided log4cplus log properties file.
Definition: rtcComponentArgs.cpp:36
The RtctkException class is the base class for all Rtctk exceptions.
Definition: exceptions.hpp:237
Provides macros and utilities for exception handling.
Definition: commandReplier.cpp:22