sensorfw
parser.h
Go to the documentation of this file.
1
26
#ifndef PARSER_H
27
#define PARSER_H
28
29
#include <QString>
30
#include <QStringList>
31
#include "logging.h"
32
33
class
Parser
34
{
35
public
:
36
37
Parser
(QStringList arguments);
38
~Parser
();
39
40
bool
printHelp
()
const
;
41
QtMsgType
getLogLevel
()
const
;
42
43
bool
configFileInput
()
const
;
44
const
QString&
configFilePath
()
const
;
45
bool
configDirInput
()
const
;
46
const
QString&
configDirPath
()
const
;
47
48
bool
contextInfo
()
const
;
49
bool
magnetometerCalibration
()
const
;
50
bool
createDaemon
()
const
;
51
bool
notifySystemd
()
const
;
52
53
private
:
54
void
parsingCommandLine(QStringList arguments);
55
56
bool
printHelp_;
57
bool
contextInfo_;
58
bool
configFile_;
59
bool
configDir_;
60
bool
daemon_;
61
bool
systemd_;
62
bool
magnetometerCalibration_;
63
64
QString configFilePath_;
65
QString configDirPath_;
66
QtMsgType logLevel_;
67
};
68
69
#endif // PARSER_H
Parser::magnetometerCalibration
bool magnetometerCalibration() const
Parser::configFilePath
const QString & configFilePath() const
Parser::configFileInput
bool configFileInput() const
Parser::~Parser
~Parser()
Parser::notifySystemd
bool notifySystemd() const
Parser::configDirInput
bool configDirInput() const
Parser::configDirPath
const QString & configDirPath() const
Parser
Definition:
parser.h:34
Parser::createDaemon
bool createDaemon() const
Parser::Parser
Parser(QStringList arguments)
Parser::printHelp
bool printHelp() const
Parser::contextInfo
bool contextInfo() const
Parser::getLogLevel
QtMsgType getLogLevel() const
sensord
parser.h
Generated by
1.8.20