MythTV
master
programs
mythjobqueue
mythjobqueue_commandlineparser.cpp
Go to the documentation of this file.
1
#include <QString>
2
3
#include "
libmythbase/mythcorecontext.h
"
4
#include "
mythjobqueue_commandlineparser.h
"
5
6
MythJobQueueCommandLineParser::MythJobQueueCommandLineParser
() :
7
MythCommandLineParser
(
MYTH_APPNAME_MYTHJOBQUEUE
)
8
{
MythJobQueueCommandLineParser::LoadArguments
(); }
9
10
QString
MythJobQueueCommandLineParser::GetHelpHeader
(
void
)
const
11
{
12
return
"MythJobqueue is daemon implementing the job queue. It is intended \n"
13
"for use as additional processing power without requiring a full backend."
;
14
}
15
16
void
MythJobQueueCommandLineParser::LoadArguments
(
void
)
17
{
18
addHelp
();
19
addSettingsOverride
();
20
addVersion
();
21
addLogging
();
22
addPIDFile
();
23
addDaemon
();
24
}
25
MythCommandLineParser
Parent class for defining application command line parsers.
Definition:
mythcommandlineparser.h:116
MythJobQueueCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition:
mythjobqueue_commandlineparser.cpp:10
MythJobQueueCommandLineParser::MythJobQueueCommandLineParser
MythJobQueueCommandLineParser()
Definition:
mythjobqueue_commandlineparser.cpp:6
MythCommandLineParser::addPIDFile
void addPIDFile(void)
Canned argument definition for –pidfile.
Definition:
mythcommandlineparser.cpp:2705
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition:
mythcommandlineparser.cpp:2534
MythCommandLineParser::addLogging
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
Definition:
mythcommandlineparser.cpp:2638
MythJobQueueCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition:
mythjobqueue_commandlineparser.cpp:16
mythjobqueue_commandlineparser.h
MYTH_APPNAME_MYTHJOBQUEUE
static constexpr const char * MYTH_APPNAME_MYTHJOBQUEUE
Definition:
mythcorecontext.h:20
mythcorecontext.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition:
mythcommandlineparser.cpp:2521
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition:
mythcommandlineparser.cpp:2585
MythCommandLineParser::addDaemon
void addDaemon(void)
Canned argument definition for –daemon.
Definition:
mythcommandlineparser.cpp:2573
Generated on Tue Apr 16 2024 03:18:46 for MythTV by
1.8.17