This repository was archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathappconfig.h
More file actions
71 lines (61 loc) · 1.75 KB
/
appconfig.h
File metadata and controls
71 lines (61 loc) · 1.75 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
///
/// @file
/// @copyright Copyright (C) 2017, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
///
/// @brief
///
#pragma once
#include "types.h"
#include <QString>
#include <QMap>
class AppConfig
{
public:
AppConfig(QString fileName);
bool Load();
bool Save();
QString ch1IPAddress_;
QString ch1PortNum_;
DataType ch1DataType_;
bool ch1FMURxCheck_;
QString ch1LoadFMURx_;
QString ch1LoadFile_;
DataType ch1PlaybackDataType_;
int ch1DeltaDelay_;
bool ch1EnableSendOut_;
QString ch1SendOutPortNum_;
bool ch1FMUTxCheck_;
QString ch1LoadFMUTx_;
bool ch1ShowFOV_;
float ch1MinRadius_;
float ch1MaxRadius_;
float ch1AzimuthPos_;
float ch1AzimuthNeg_;
QString ch2IPAddress_;
QString ch2PortNum_;
DataType ch2DataType_;
bool ch2FMURxCheck_;
QString ch2LoadFMURx_;
QString ch2LoadFile_;
DataType ch2PlaybackDataType_;
int ch2DeltaDelay_;
bool ch2EnableSendOut_;
QString ch2SendOutPortNum_;
bool ch2FMUTxCheck_;
QString ch2LoadFMUTx_;
bool ch2ShowFOV_;
float ch2MinRadius_;
float ch2MaxRadius_;
float ch2AzimuthPos_;
float ch2AzimuthNeg_;
bool combineChannel_;
bool showGrid_;
bool showObjectDetails_;
bool lockCamera_;
LaneType laneType_;
QMap<ObjectType, QColor> typeColors_;
int osiMsgSaveThreshold_;
QString srcPath_;
private:
QString configFileName_;
};