forked from tperamun2/Phillips-Hue-Lighting-System
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBridge.cpp
More file actions
41 lines (31 loc) · 680 Bytes
/
Bridge.cpp
File metadata and controls
41 lines (31 loc) · 680 Bytes
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
#include "Bridge.hpp"
Bridge::Bridge(std::string name, std::string location, std::string ip, std::string port){
this->name = name;
this->location = location;
this->ip = ip;
this->port = port;
}
std::string Bridge::getName(){
return this->name;
}
std::string Bridge::getLocation(){
return this->location;
}
std::string Bridge::getIP(){
return this->ip;
}
std::string Bridge::getPort(){
return this->port;
}
void Bridge::setName(std::string name){
this->name = name;
}
void Bridge::setLocation(std::string location){
this->location = location;
}
void Bridge::setIP(std::string ip){
this->ip = ip;
}
void Bridge::setPort(std::string port){
this->port = port;
}