-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.cpp
62 lines (46 loc) · 1005 Bytes
/
settings.cpp
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
#include "settings.h"
Settings::Settings() {
}
int Settings::getVideoPort() const {
return videoPort;
}
void Settings::setVideoPort(int value) {
videoPort = value;
}
int Settings::getMetadataPort() const {
return metadataPort;
}
void Settings::setMetadataPort(int value) {
metadataPort = value;
}
int Settings::getTcpPort() const {
return tcpPort;
}
void Settings::setTcpPort(int value) {
tcpPort = value;
}
std::string Settings::getVideoSource() const {
return videoSource;
}
void Settings::setVideoSource(const std::string &value)
{
videoSource = value;
}
int Settings::getFrameWidth() const {
return frameWidth;
}
void Settings::setFrameWidth(int value) {
frameWidth = value;
}
int Settings::getFrameHeight() const {
return frameHeight;
}
void Settings::setFrameHeight(int value) {
frameHeight = value;
}
double Settings::getFrameRate() const {
return frameRate;
}
void Settings::setFrameRate(double value) {
frameRate = value;
}