projects
/
iot2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Moving Java drivers; Creating iotruntime socket connections for C++; First version...
[iot2.git]
/
benchmarks
/
drivers
/
Cpp
/
LifxLightBulb
/
LightState.hpp
1
#ifndef _LIGHTSTATE_HPP__
2
#define _LIGHTSTATE_HPP__
3
#include <iostream>
4
5
#include "BulbColor.hpp"
6
7
class LightState {
8
private:
9
BulbColor* color;
10
int power;
11
string label;
12
13
public:
14
15
LightState(BulbColor* _color, int _power, string _label) {
16
17
color = _color;
18
power = _power;
19
label = _label;
20
}
21
22
23
~LightState() {
24
}
25
26
27
BulbColor* getColor() {
28
return color;
29
}
30
31
32
int getPower() {
33
return power;
34
}
35
36
37
string getLabel() {
38
return label;
39
}
40
};
41
#endif