forked from gavrushkin/bldc-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathargprocessor.h
52 lines (41 loc) · 773 Bytes
/
argprocessor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef ARGPROCESSOR_H
#define ARGPROCESSOR_H
#include <QObject>
class ArgProcessor : public QObject
{
Q_OBJECT
public:
explicit ArgProcessor(QObject *parent = 0);
QString getPort() const;
int getCamera() const;
int getWidth() const;
int getHeight() const;
double getFps() const;
private:
QString mPort;
int mCamera;
int mWidth;
int mHeight;
double mFps;
};
inline QString ArgProcessor::getPort() const
{
return mPort;
}
inline int ArgProcessor::getCamera() const
{
return mCamera;
}
inline int ArgProcessor::getWidth() const
{
return mWidth;
}
inline int ArgProcessor::getHeight() const
{
return mHeight;
}
inline double ArgProcessor::getFps() const
{
return mFps;
}
#endif // ARGPROCESSOR_H