classhueplusplus_1_1_light.html
133 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hueplusplus: hueplusplus::Light Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">hueplusplus
 <span id="projectnumber">1.0.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></li><li class="navelem"><a class="el" href="classhueplusplus_1_1_light.html">Light</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="#friends">Friends</a> |
<a href="classhueplusplus_1_1_light-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">hueplusplus::Light Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for Hue <a class="el" href="classhueplusplus_1_1_light.html" title="Class for Hue Light fixtures. ">Light</a> fixtures.
<a href="classhueplusplus_1_1_light.html#details">More...</a></p>
<p><code>#include <<a class="el" href="_light_8h_source.html">hueplusplus/Light.h</a>></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for hueplusplus::Light:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classhueplusplus_1_1_light__inherit__graph.png" border="0" usemap="#hueplusplus_1_1_light_inherit__map" alt="Inheritance graph"/></div>
<map name="hueplusplus_1_1_light_inherit__map" id="hueplusplus_1_1_light_inherit__map">
<area shape="rect" id="node2" href="classhueplusplus_1_1_base_device.html" title="Base class for physical devices connected to the bridge (sensor or light). " alt="" coords="5,5,191,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for hueplusplus::Light:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classhueplusplus_1_1_light__coll__graph.png" border="0" usemap="#hueplusplus_1_1_light_coll__map" alt="Collaboration graph"/></div>
<map name="hueplusplus_1_1_light_coll__map" id="hueplusplus_1_1_light_coll__map">
<area shape="rect" id="node2" href="classhueplusplus_1_1_base_device.html" title="Base class for physical devices connected to the bridge (sensor or light). " alt="" coords="5,95,191,121"/>
<area shape="rect" id="node3" href="classhueplusplus_1_1_a_p_i_cache.html" title="Caches API GET requests and refreshes regularly. " alt="" coords="13,5,183,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">General information</div></td></tr>
<tr class="memitem:afb12426562cc4cbdf429f37bdabd0c70"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#afb12426562cc4cbdf429f37bdabd0c70">getLuminaireUId</a> () const</td></tr>
<tr class="memdesc:afb12426562cc4cbdf429f37bdabd0c70"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the luminaireuniqueid of the light. <a href="#afb12426562cc4cbdf429f37bdabd0c70">More...</a><br /></td></tr>
<tr class="separator:afb12426562cc4cbdf429f37bdabd0c70"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abfff60ed1b992b11ebff8af37586e2a8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">ColorType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#abfff60ed1b992b11ebff8af37586e2a8">getColorType</a> () const</td></tr>
<tr class="memdesc:abfff60ed1b992b11ebff8af37586e2a8"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the color type of the light. <a href="#abfff60ed1b992b11ebff8af37586e2a8">More...</a><br /></td></tr>
<tr class="separator:abfff60ed1b992b11ebff8af37586e2a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa389d6eebf6a843d76a4dc40504278f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structhueplusplus_1_1_color_gamut.html">ColorGamut</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#aa389d6eebf6a843d76a4dc40504278f1">getColorGamut</a> () const</td></tr>
<tr class="memdesc:aa389d6eebf6a843d76a4dc40504278f1"><td class="mdescLeft"> </td><td class="mdescRight">Get gamut space of possible light colors. <a href="#aa389d6eebf6a843d76a4dc40504278f1">More...</a><br /></td></tr>
<tr class="separator:aa389d6eebf6a843d76a4dc40504278f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Light state</div></td></tr>
<tr class="memitem:aab9db2db84ad55e19d7b46c77807973d"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#aab9db2db84ad55e19d7b46c77807973d">on</a> (uint8_t transition=4)</td></tr>
<tr class="memdesc:aab9db2db84ad55e19d7b46c77807973d"><td class="mdescLeft"> </td><td class="mdescRight">Function that turns the light on. <a href="#aab9db2db84ad55e19d7b46c77807973d">More...</a><br /></td></tr>
<tr class="separator:aab9db2db84ad55e19d7b46c77807973d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5f4699729652474534d5783c9a27ed94"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a5f4699729652474534d5783c9a27ed94">off</a> (uint8_t transition=4)</td></tr>
<tr class="memdesc:a5f4699729652474534d5783c9a27ed94"><td class="mdescLeft"> </td><td class="mdescRight">Function that turns the light off. <a href="#a5f4699729652474534d5783c9a27ed94">More...</a><br /></td></tr>
<tr class="separator:a5f4699729652474534d5783c9a27ed94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26172501723aeec5abcf8db5b0dc6986"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a26172501723aeec5abcf8db5b0dc6986">isOn</a> ()</td></tr>
<tr class="memdesc:a26172501723aeec5abcf8db5b0dc6986"><td class="mdescLeft"> </td><td class="mdescRight">Function to check whether a light is on or off. <a href="#a26172501723aeec5abcf8db5b0dc6986">More...</a><br /></td></tr>
<tr class="separator:a26172501723aeec5abcf8db5b0dc6986"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3acfa79ff45065b5a12bf37f42a5f012"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a3acfa79ff45065b5a12bf37f42a5f012">isOn</a> () const</td></tr>
<tr class="memdesc:a3acfa79ff45065b5a12bf37f42a5f012"><td class="mdescLeft"> </td><td class="mdescRight">Const function to check whether a light is on or off. <a href="#a3acfa79ff45065b5a12bf37f42a5f012">More...</a><br /></td></tr>
<tr class="separator:a3acfa79ff45065b5a12bf37f42a5f012"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af680548b576b57a713018a353d8c8a88"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#af680548b576b57a713018a353d8c8a88">hasBrightnessControl</a> () const</td></tr>
<tr class="memdesc:af680548b576b57a713018a353d8c8a88"><td class="mdescLeft"> </td><td class="mdescRight">Const function to check whether this light has brightness control. <a href="#af680548b576b57a713018a353d8c8a88">More...</a><br /></td></tr>
<tr class="separator:af680548b576b57a713018a353d8c8a88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b013d5e1cff6bdc02f273d57fc0db22"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a4b013d5e1cff6bdc02f273d57fc0db22">hasTemperatureControl</a> () const</td></tr>
<tr class="memdesc:a4b013d5e1cff6bdc02f273d57fc0db22"><td class="mdescLeft"> </td><td class="mdescRight">Const function to check whether this light has color temperature control. <a href="#a4b013d5e1cff6bdc02f273d57fc0db22">More...</a><br /></td></tr>
<tr class="separator:a4b013d5e1cff6bdc02f273d57fc0db22"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a661e357c5648ff574634a12b40680a6f"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a661e357c5648ff574634a12b40680a6f">hasColorControl</a> () const</td></tr>
<tr class="memdesc:a661e357c5648ff574634a12b40680a6f"><td class="mdescLeft"> </td><td class="mdescRight">Connst function to check whether this light has full color control. <a href="#a661e357c5648ff574634a12b40680a6f">More...</a><br /></td></tr>
<tr class="separator:a661e357c5648ff574634a12b40680a6f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a103f8c3ab0a6bbf17839a9fd59049ce1"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a103f8c3ab0a6bbf17839a9fd59049ce1">setBrightness</a> (unsigned int bri, uint8_t transition=4)</td></tr>
<tr class="memdesc:a103f8c3ab0a6bbf17839a9fd59049ce1"><td class="mdescLeft"> </td><td class="mdescRight">Function that sets the brightness of this light. <a href="#a103f8c3ab0a6bbf17839a9fd59049ce1">More...</a><br /></td></tr>
<tr class="separator:a103f8c3ab0a6bbf17839a9fd59049ce1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c2acffeb03fe5e4ce90d88c319a3326"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a9c2acffeb03fe5e4ce90d88c319a3326">getBrightness</a> () const</td></tr>
<tr class="memdesc:a9c2acffeb03fe5e4ce90d88c319a3326"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the brightness of this light. <a href="#a9c2acffeb03fe5e4ce90d88c319a3326">More...</a><br /></td></tr>
<tr class="separator:a9c2acffeb03fe5e4ce90d88c319a3326"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace8771637e9489f5063c001b5caddac3"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#ace8771637e9489f5063c001b5caddac3">getBrightness</a> ()</td></tr>
<tr class="memdesc:ace8771637e9489f5063c001b5caddac3"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the brightness of this light. <a href="#ace8771637e9489f5063c001b5caddac3">More...</a><br /></td></tr>
<tr class="separator:ace8771637e9489f5063c001b5caddac3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5f5b8b411e96493c82f4f392d3efe932"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a5f5b8b411e96493c82f4f392d3efe932">setColorTemperature</a> (unsigned int mired, uint8_t transition=4)</td></tr>
<tr class="memdesc:a5f5b8b411e96493c82f4f392d3efe932"><td class="mdescLeft"> </td><td class="mdescRight">Function that sets the color temperature of this light in mired. <a href="#a5f5b8b411e96493c82f4f392d3efe932">More...</a><br /></td></tr>
<tr class="separator:a5f5b8b411e96493c82f4f392d3efe932"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa594a5ef3f74f4a67b334a51b953cef3"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#aa594a5ef3f74f4a67b334a51b953cef3">getColorTemperature</a> () const</td></tr>
<tr class="memdesc:aa594a5ef3f74f4a67b334a51b953cef3"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the current color temperature of the light. <a href="#aa594a5ef3f74f4a67b334a51b953cef3">More...</a><br /></td></tr>
<tr class="separator:aa594a5ef3f74f4a67b334a51b953cef3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aac4924bb706d4a7548ad8dbb47a6b9cf"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#aac4924bb706d4a7548ad8dbb47a6b9cf">getColorTemperature</a> ()</td></tr>
<tr class="memdesc:aac4924bb706d4a7548ad8dbb47a6b9cf"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the current color temperature of the light. <a href="#aac4924bb706d4a7548ad8dbb47a6b9cf">More...</a><br /></td></tr>
<tr class="separator:aac4924bb706d4a7548ad8dbb47a6b9cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c50bf851bf76150d8e37b9bf0ba47a1"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a0c50bf851bf76150d8e37b9bf0ba47a1">setColorHue</a> (uint16_t hue, uint8_t transition=4)</td></tr>
<tr class="memdesc:a0c50bf851bf76150d8e37b9bf0ba47a1"><td class="mdescLeft"> </td><td class="mdescRight">Function to set the color of this light with specified hue. <a href="#a0c50bf851bf76150d8e37b9bf0ba47a1">More...</a><br /></td></tr>
<tr class="separator:a0c50bf851bf76150d8e37b9bf0ba47a1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0db3f274671a9f2246708a0d3f8b7cf3"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a0db3f274671a9f2246708a0d3f8b7cf3">setColorSaturation</a> (uint8_t sat, uint8_t transition=4)</td></tr>
<tr class="memdesc:a0db3f274671a9f2246708a0d3f8b7cf3"><td class="mdescLeft"> </td><td class="mdescRight">Function to set the color of this light with specified saturation. <a href="#a0db3f274671a9f2246708a0d3f8b7cf3">More...</a><br /></td></tr>
<tr class="separator:a0db3f274671a9f2246708a0d3f8b7cf3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a378ef834d9939ed7c4835e62f506d9b1"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a378ef834d9939ed7c4835e62f506d9b1">setColorHueSaturation</a> (const <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> &hueSat, uint8_t transition=4)</td></tr>
<tr class="memdesc:a378ef834d9939ed7c4835e62f506d9b1"><td class="mdescLeft"> </td><td class="mdescRight">Function to set the color of this light with specified hue and saturation. <a href="#a378ef834d9939ed7c4835e62f506d9b1">More...</a><br /></td></tr>
<tr class="separator:a378ef834d9939ed7c4835e62f506d9b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad95677b99a9cde2027789bc42c3357a3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#ad95677b99a9cde2027789bc42c3357a3">getColorHueSaturation</a> () const</td></tr>
<tr class="memdesc:ad95677b99a9cde2027789bc42c3357a3"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the current color of the light as hue and saturation. <a href="#ad95677b99a9cde2027789bc42c3357a3">More...</a><br /></td></tr>
<tr class="separator:ad95677b99a9cde2027789bc42c3357a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a964f95119071333b43927b90bfaea91d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a964f95119071333b43927b90bfaea91d">getColorHueSaturation</a> ()</td></tr>
<tr class="memdesc:a964f95119071333b43927b90bfaea91d"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the current color of the light as hue and saturation. <a href="#a964f95119071333b43927b90bfaea91d">More...</a><br /></td></tr>
<tr class="separator:a964f95119071333b43927b90bfaea91d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2f35a51520f91875522b944985e757c"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#aa2f35a51520f91875522b944985e757c">setColorXY</a> (const <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> &xy, uint8_t transition=4)</td></tr>
<tr class="memdesc:aa2f35a51520f91875522b944985e757c"><td class="mdescLeft"> </td><td class="mdescRight">Function to set the color of this light in CIE with specified x y. <a href="#aa2f35a51520f91875522b944985e757c">More...</a><br /></td></tr>
<tr class="separator:aa2f35a51520f91875522b944985e757c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ea91616036e3ba59b4590f69d1fc8bd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a1ea91616036e3ba59b4590f69d1fc8bd">getColorXY</a> () const</td></tr>
<tr class="memdesc:a1ea91616036e3ba59b4590f69d1fc8bd"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the current color of the light as xy. <a href="#a1ea91616036e3ba59b4590f69d1fc8bd">More...</a><br /></td></tr>
<tr class="separator:a1ea91616036e3ba59b4590f69d1fc8bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41ea854f1fb0331c7bf8c8595ef9e443"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a41ea854f1fb0331c7bf8c8595ef9e443">getColorXY</a> ()</td></tr>
<tr class="memdesc:a41ea854f1fb0331c7bf8c8595ef9e443"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the current color of the light as xy. <a href="#a41ea854f1fb0331c7bf8c8595ef9e443">More...</a><br /></td></tr>
<tr class="separator:a41ea854f1fb0331c7bf8c8595ef9e443"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45c57a522e5785729fa7f557bf8591e3"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a45c57a522e5785729fa7f557bf8591e3">setColorRGB</a> (const <a class="el" href="structhueplusplus_1_1_r_g_b.html">RGB</a> &rgb, uint8_t transition=4)</td></tr>
<tr class="memdesc:a45c57a522e5785729fa7f557bf8591e3"><td class="mdescLeft"> </td><td class="mdescRight">Function to set the color of this light with red green and blue values. <a href="#a45c57a522e5785729fa7f557bf8591e3">More...</a><br /></td></tr>
<tr class="separator:a45c57a522e5785729fa7f557bf8591e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a920b8ddc9d564b3a1126a68fac1722d7"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a920b8ddc9d564b3a1126a68fac1722d7">alert</a> ()</td></tr>
<tr class="memdesc:a920b8ddc9d564b3a1126a68fac1722d7"><td class="mdescLeft"> </td><td class="mdescRight">Function that lets the light perform one breath cycle. <a href="#a920b8ddc9d564b3a1126a68fac1722d7">More...</a><br /></td></tr>
<tr class="separator:a920b8ddc9d564b3a1126a68fac1722d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad21d944fb0054b25455338e8bf2fc4d2"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#ad21d944fb0054b25455338e8bf2fc4d2">alertTemperature</a> (unsigned int mired)</td></tr>
<tr class="memdesc:ad21d944fb0054b25455338e8bf2fc4d2"><td class="mdescLeft"> </td><td class="mdescRight">Function that lets the light perform one breath cycle in specified color temperature. <a href="#ad21d944fb0054b25455338e8bf2fc4d2">More...</a><br /></td></tr>
<tr class="separator:ad21d944fb0054b25455338e8bf2fc4d2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a32fef56140dccb003516842fe958f8"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a4a32fef56140dccb003516842fe958f8">alertHueSaturation</a> (const <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> &hueSat)</td></tr>
<tr class="memdesc:a4a32fef56140dccb003516842fe958f8"><td class="mdescLeft"> </td><td class="mdescRight">Function that lets the light perform one breath cycle in specified color. <a href="#a4a32fef56140dccb003516842fe958f8">More...</a><br /></td></tr>
<tr class="separator:a4a32fef56140dccb003516842fe958f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ec39bced79c49e31d236210392e6c38"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a0ec39bced79c49e31d236210392e6c38">alertXY</a> (const <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> &xy)</td></tr>
<tr class="memdesc:a0ec39bced79c49e31d236210392e6c38"><td class="mdescLeft"> </td><td class="mdescRight">Function that lets the light perform one breath cycle in specified color. <a href="#a0ec39bced79c49e31d236210392e6c38">More...</a><br /></td></tr>
<tr class="separator:a0ec39bced79c49e31d236210392e6c38"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace958475e37b6273da1a47395076156d"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#ace958475e37b6273da1a47395076156d">setColorLoop</a> (bool <a class="el" href="classhueplusplus_1_1_light.html#aab9db2db84ad55e19d7b46c77807973d">on</a>)</td></tr>
<tr class="memdesc:ace958475e37b6273da1a47395076156d"><td class="mdescLeft"> </td><td class="mdescRight">Function to turn colorloop effect on/off. <a href="#ace958475e37b6273da1a47395076156d">More...</a><br /></td></tr>
<tr class="separator:ace958475e37b6273da1a47395076156d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37d025adaf1791ac0ba904fa52a5bfb5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classhueplusplus_1_1_state_transaction.html">StateTransaction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a37d025adaf1791ac0ba904fa52a5bfb5">transaction</a> ()</td></tr>
<tr class="memdesc:a37d025adaf1791ac0ba904fa52a5bfb5"><td class="mdescLeft"> </td><td class="mdescRight">Create a transaction for this light. <a href="#a37d025adaf1791ac0ba904fa52a5bfb5">More...</a><br /></td></tr>
<tr class="separator:a37d025adaf1791ac0ba904fa52a5bfb5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classhueplusplus_1_1_base_device"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhueplusplus_1_1_base_device')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr>
<tr class="memitem:ab08c354ca3eef24240f98267df4ae01a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ab08c354ca3eef24240f98267df4ae01a">~BaseDevice</a> ()=default</td></tr>
<tr class="memdesc:ab08c354ca3eef24240f98267df4ae01a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <a href="classhueplusplus_1_1_base_device.html#ab08c354ca3eef24240f98267df4ae01a">More...</a><br /></td></tr>
<tr class="separator:ab08c354ca3eef24240f98267df4ae01a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a21122992819e6155867c02578773d0cd inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a21122992819e6155867c02578773d0cd">getId</a> () const</td></tr>
<tr class="memdesc:a21122992819e6155867c02578773d0cd inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the id of this device. <a href="classhueplusplus_1_1_base_device.html#a21122992819e6155867c02578773d0cd">More...</a><br /></td></tr>
<tr class="separator:a21122992819e6155867c02578773d0cd inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6741ba9ec72108ca0101d41c0b02c568 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a6741ba9ec72108ca0101d41c0b02c568">getType</a> () const</td></tr>
<tr class="memdesc:a6741ba9ec72108ca0101d41c0b02c568 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the device type. <a href="classhueplusplus_1_1_base_device.html#a6741ba9ec72108ca0101d41c0b02c568">More...</a><br /></td></tr>
<tr class="separator:a6741ba9ec72108ca0101d41c0b02c568 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5331ce38f4e6c9def7bafc23112ccd34 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">getName</a> ()</td></tr>
<tr class="memdesc:a5331ce38f4e6c9def7bafc23112ccd34 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the name of the device. <a href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">More...</a><br /></td></tr>
<tr class="separator:a5331ce38f4e6c9def7bafc23112ccd34 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a095f4467a072fee3091402e7ed31a6fe inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a095f4467a072fee3091402e7ed31a6fe">getName</a> () const</td></tr>
<tr class="memdesc:a095f4467a072fee3091402e7ed31a6fe inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the name of the device. <a href="classhueplusplus_1_1_base_device.html#a095f4467a072fee3091402e7ed31a6fe">More...</a><br /></td></tr>
<tr class="separator:a095f4467a072fee3091402e7ed31a6fe inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7572be90ab966033ad8b9c7e83598ce inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aa7572be90ab966033ad8b9c7e83598ce">getModelId</a> () const</td></tr>
<tr class="memdesc:aa7572be90ab966033ad8b9c7e83598ce inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the modelid of the device. <a href="classhueplusplus_1_1_base_device.html#aa7572be90ab966033ad8b9c7e83598ce">More...</a><br /></td></tr>
<tr class="separator:aa7572be90ab966033ad8b9c7e83598ce inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a821dc52df6472b2604f56579dac4ac04 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a821dc52df6472b2604f56579dac4ac04">getUId</a> () const</td></tr>
<tr class="memdesc:a821dc52df6472b2604f56579dac4ac04 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the uniqueid of the device. <a href="classhueplusplus_1_1_base_device.html#a821dc52df6472b2604f56579dac4ac04">More...</a><br /></td></tr>
<tr class="separator:a821dc52df6472b2604f56579dac4ac04 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6e1af663e4f14afc6293aacdd5130c0 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ad6e1af663e4f14afc6293aacdd5130c0">getManufacturername</a> () const</td></tr>
<tr class="memdesc:ad6e1af663e4f14afc6293aacdd5130c0 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the manufacturername of the device. <a href="classhueplusplus_1_1_base_device.html#ad6e1af663e4f14afc6293aacdd5130c0">More...</a><br /></td></tr>
<tr class="separator:ad6e1af663e4f14afc6293aacdd5130c0 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53f675db31058c574fbf55baea8bd556 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a53f675db31058c574fbf55baea8bd556">getProductname</a> () const</td></tr>
<tr class="memdesc:a53f675db31058c574fbf55baea8bd556 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the productname of the device. <a href="classhueplusplus_1_1_base_device.html#a53f675db31058c574fbf55baea8bd556">More...</a><br /></td></tr>
<tr class="separator:a53f675db31058c574fbf55baea8bd556 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aebc5484b45b833491385a5381e3234bb inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">getSwVersion</a> ()</td></tr>
<tr class="memdesc:aebc5484b45b833491385a5381e3234bb inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Function that returns the software version of the device. <a href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">More...</a><br /></td></tr>
<tr class="separator:aebc5484b45b833491385a5381e3234bb inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a136cdba60a6781c15c6869ddcc7f2e1a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a136cdba60a6781c15c6869ddcc7f2e1a">getSwVersion</a> () const</td></tr>
<tr class="memdesc:a136cdba60a6781c15c6869ddcc7f2e1a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Const function that returns the software version of the device. <a href="classhueplusplus_1_1_base_device.html#a136cdba60a6781c15c6869ddcc7f2e1a">More...</a><br /></td></tr>
<tr class="separator:a136cdba60a6781c15c6869ddcc7f2e1a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7554114eee573ab784c44d53f439028 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ab7554114eee573ab784c44d53f439028">setName</a> (const std::string &name)</td></tr>
<tr class="memdesc:ab7554114eee573ab784c44d53f439028 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Function that sets the name of the device. <a href="classhueplusplus_1_1_base_device.html#ab7554114eee573ab784c44d53f439028">More...</a><br /></td></tr>
<tr class="separator:ab7554114eee573ab784c44d53f439028 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6ac28ae3879a41ace1cd6806ca9a2f1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aa6ac28ae3879a41ace1cd6806ca9a2f1">refresh</a> (bool force=false)</td></tr>
<tr class="memdesc:aa6ac28ae3879a41ace1cd6806ca9a2f1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Refreshes internal cached state. <a href="classhueplusplus_1_1_base_device.html#aa6ac28ae3879a41ace1cd6806ca9a2f1">More...</a><br /></td></tr>
<tr class="separator:aa6ac28ae3879a41ace1cd6806ca9a2f1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5dd630da2c99842700d555788c0b75b1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a5dd630da2c99842700d555788c0b75b1">setRefreshDuration</a> (std::chrono::steady_clock::duration refreshDuration)</td></tr>
<tr class="memdesc:a5dd630da2c99842700d555788c0b75b1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Sets custom refresh interval for this device. <a href="classhueplusplus_1_1_base_device.html#a5dd630da2c99842700d555788c0b75b1">More...</a><br /></td></tr>
<tr class="separator:a5dd630da2c99842700d555788c0b75b1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a9dc21c546b234045de7ab50128fe17fd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a9dc21c546b234045de7ab50128fe17fd">Light</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> &commands)</td></tr>
<tr class="memdesc:a9dc21c546b234045de7ab50128fe17fd"><td class="mdescLeft"> </td><td class="mdescRight">Protected ctor that is used by <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a>. <a href="#a9dc21c546b234045de7ab50128fe17fd">More...</a><br /></td></tr>
<tr class="separator:a9dc21c546b234045de7ab50128fe17fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3a1a17f076155002399fb6f339e38367"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a3a1a17f076155002399fb6f339e38367">Light</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const std::shared_ptr< <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> > &baseCache)</td></tr>
<tr class="memdesc:a3a1a17f076155002399fb6f339e38367"><td class="mdescLeft"> </td><td class="mdescRight">Protected ctor that is used by <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a>. <a href="#a3a1a17f076155002399fb6f339e38367">More...</a><br /></td></tr>
<tr class="separator:a3a1a17f076155002399fb6f339e38367"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d675796a00e29c09c31ee570ad7b114"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a1d675796a00e29c09c31ee570ad7b114">Light</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> &commands, std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a> > <a class="el" href="classhueplusplus_1_1_light.html#af9948baaf52a9ce2ed0f145368492873">brightnessStrategy</a>, std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a> > colorTempStrategy, std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a> > <a class="el" href="classhueplusplus_1_1_light.html#a58a030711463559c249e26c85e8847eb">colorHueStrategy</a>, std::chrono::steady_clock::duration refreshDuration, const nlohmann::json &currentState)</td></tr>
<tr class="memdesc:a1d675796a00e29c09c31ee570ad7b114"><td class="mdescLeft"> </td><td class="mdescRight">Protected ctor that is used by <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a>, also sets strategies. <a href="#a1d675796a00e29c09c31ee570ad7b114">More...</a><br /></td></tr>
<tr class="separator:a1d675796a00e29c09c31ee570ad7b114"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aed932e5106c7dd16c716514a35554a56"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#aed932e5106c7dd16c716514a35554a56">setBrightnessStrategy</a> (std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a> > strat)</td></tr>
<tr class="memdesc:aed932e5106c7dd16c716514a35554a56"><td class="mdescLeft"> </td><td class="mdescRight">Protected function that sets the brightness strategy. <a href="#aed932e5106c7dd16c716514a35554a56">More...</a><br /></td></tr>
<tr class="separator:aed932e5106c7dd16c716514a35554a56"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1427acdc4429be82f9a2071bdcb991b1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a1427acdc4429be82f9a2071bdcb991b1">setColorTemperatureStrategy</a> (std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a> > strat)</td></tr>
<tr class="memdesc:a1427acdc4429be82f9a2071bdcb991b1"><td class="mdescLeft"> </td><td class="mdescRight">Protected function that sets the colorTemperature strategy. <a href="#a1427acdc4429be82f9a2071bdcb991b1">More...</a><br /></td></tr>
<tr class="separator:a1427acdc4429be82f9a2071bdcb991b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b1291f0c5e6e41be11c7908ea1e77db"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a6b1291f0c5e6e41be11c7908ea1e77db">setColorHueStrategy</a> (std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a> > strat)</td></tr>
<tr class="memdesc:a6b1291f0c5e6e41be11c7908ea1e77db"><td class="mdescLeft"> </td><td class="mdescRight">Protected function that sets the colorHue strategy. <a href="#a6b1291f0c5e6e41be11c7908ea1e77db">More...</a><br /></td></tr>
<tr class="separator:a6b1291f0c5e6e41be11c7908ea1e77db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classhueplusplus_1_1_base_device"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classhueplusplus_1_1_base_device')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr>
<tr class="memitem:a48bf88e758fd7191c599a46751755c97 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">BaseDevice</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const std::shared_ptr< <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> > &baseCache)</td></tr>
<tr class="memdesc:a48bf88e758fd7191c599a46751755c97 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Protected ctor that is used by subclasses, construct with shared cache. <a href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">More...</a><br /></td></tr>
<tr class="separator:a48bf88e758fd7191c599a46751755c97 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa90386c0cea99464dee6bedb2c68254 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aaa90386c0cea99464dee6bedb2c68254">BaseDevice</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> &commands, const std::string &path, std::chrono::steady_clock::duration refreshDuration, const nlohmann::json &currentState)</td></tr>
<tr class="memdesc:aaa90386c0cea99464dee6bedb2c68254 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Protected ctor that is used by subclasses. <a href="classhueplusplus_1_1_base_device.html#aaa90386c0cea99464dee6bedb2c68254">More...</a><br /></td></tr>
<tr class="separator:aaa90386c0cea99464dee6bedb2c68254 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8089e8f00d426427ed2fc7f6b817082 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual nlohmann::json </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ac8089e8f00d426427ed2fc7f6b817082">sendPutRequest</a> (const std::string &subPath, const nlohmann::json &request, <a class="el" href="structhueplusplus_1_1_file_info.html">FileInfo</a> fileInfo)</td></tr>
<tr class="memdesc:ac8089e8f00d426427ed2fc7f6b817082 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">Utility function to send a put request to the device. <a href="classhueplusplus_1_1_base_device.html#ac8089e8f00d426427ed2fc7f6b817082">More...</a><br /></td></tr>
<tr class="separator:ac8089e8f00d426427ed2fc7f6b817082 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a7f504e827b158c81e9ca3c57f158ae3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">ColorType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a7f504e827b158c81e9ca3c57f158ae3b">colorType</a></td></tr>
<tr class="memdesc:a7f504e827b158c81e9ca3c57f158ae3b"><td class="mdescLeft"> </td><td class="mdescRight">holds the <a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">ColorType</a> of the light <a href="#a7f504e827b158c81e9ca3c57f158ae3b">More...</a><br /></td></tr>
<tr class="separator:a7f504e827b158c81e9ca3c57f158ae3b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9948baaf52a9ce2ed0f145368492873"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#af9948baaf52a9ce2ed0f145368492873">brightnessStrategy</a></td></tr>
<tr class="memdesc:af9948baaf52a9ce2ed0f145368492873"><td class="mdescLeft"> </td><td class="mdescRight">holds a reference to the strategy that handles brightness commands <a href="#af9948baaf52a9ce2ed0f145368492873">More...</a><br /></td></tr>
<tr class="separator:af9948baaf52a9ce2ed0f145368492873"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0c64d4bdaa4a26a3da35dae112101d1"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#ac0c64d4bdaa4a26a3da35dae112101d1">colorTemperatureStrategy</a></td></tr>
<tr class="memdesc:ac0c64d4bdaa4a26a3da35dae112101d1"><td class="mdescLeft"> </td><td class="mdescRight">holds a reference to the strategy that handles colortemperature commands <a href="#ac0c64d4bdaa4a26a3da35dae112101d1">More...</a><br /></td></tr>
<tr class="separator:ac0c64d4bdaa4a26a3da35dae112101d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a58a030711463559c249e26c85e8847eb"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a58a030711463559c249e26c85e8847eb">colorHueStrategy</a></td></tr>
<tr class="memdesc:a58a030711463559c249e26c85e8847eb"><td class="mdescLeft"> </td><td class="mdescRight">holds a reference to the strategy that handles all color commands <a href="#a58a030711463559c249e26c85e8847eb">More...</a><br /></td></tr>
<tr class="separator:a58a030711463559c249e26c85e8847eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classhueplusplus_1_1_base_device"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classhueplusplus_1_1_base_device')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr>
<tr class="memitem:aa65a31223cfa2a054c28148c35c8b3cf inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a></td></tr>
<tr class="memdesc:aa65a31223cfa2a054c28148c35c8b3cf inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">holds the id of the device <a href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">More...</a><br /></td></tr>
<tr class="separator:aa65a31223cfa2a054c28148c35c8b3cf inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a526b63fa6eb1c9dc9a7b1926ad0be27a inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a">state</a></td></tr>
<tr class="memdesc:a526b63fa6eb1c9dc9a7b1926ad0be27a inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="mdescLeft"> </td><td class="mdescRight">holds the current state of the device <a href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a">More...</a><br /></td></tr>
<tr class="separator:a526b63fa6eb1c9dc9a7b1926ad0be27a inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ac8e9c6bbd43e33cbdd138af2f654342d"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#ac8e9c6bbd43e33cbdd138af2f654342d">LightFactory</a></td></tr>
<tr class="separator:ac8e9c6bbd43e33cbdd138af2f654342d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5babb7ef26b2bbb53c32f8b2378340dd"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a5babb7ef26b2bbb53c32f8b2378340dd">SimpleBrightnessStrategy</a></td></tr>
<tr class="separator:a5babb7ef26b2bbb53c32f8b2378340dd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72883e32140a640d19b91e8f778be41f"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a72883e32140a640d19b91e8f778be41f">SimpleColorHueStrategy</a></td></tr>
<tr class="separator:a72883e32140a640d19b91e8f778be41f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c3ccafa802cdb32c292c49f575148f4"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a9c3ccafa802cdb32c292c49f575148f4">ExtendedColorHueStrategy</a></td></tr>
<tr class="separator:a9c3ccafa802cdb32c292c49f575148f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3dd11d27e5f374c0e8c88ebf6f24c7a0"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a3dd11d27e5f374c0e8c88ebf6f24c7a0">SimpleColorTemperatureStrategy</a></td></tr>
<tr class="separator:a3dd11d27e5f374c0e8c88ebf6f24c7a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39b9af853936935617664c3f7814d910"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html#a39b9af853936935617664c3f7814d910">ExtendedColorTemperatureStrategy</a></td></tr>
<tr class="separator:a39b9af853936935617664c3f7814d910"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for Hue <a class="el" href="classhueplusplus_1_1_light.html" title="Class for Hue Light fixtures. ">Light</a> fixtures. </p>
<p>Provides methods to query and control lights. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a9dc21c546b234045de7ab50128fe17fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dc21c546b234045de7ab50128fe17fd">◆ </a></span>Light() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">hueplusplus::Light::Light </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> & </td>
<td class="paramname"><em>commands</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected ctor that is used by <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Integer that specifies the id of this light </td></tr>
<tr><td class="paramname">commands</td><td><a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> for communication with the bridge</td></tr>
</table>
</dd>
</dl>
<p>leaves strategies unset </p>
</div>
</div>
<a id="a3a1a17f076155002399fb6f339e38367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a1a17f076155002399fb6f339e38367">◆ </a></span>Light() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">hueplusplus::Light::Light </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::shared_ptr< <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> > & </td>
<td class="paramname"><em>baseCache</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected ctor that is used by <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Integer that specifies the id of this light </td></tr>
<tr><td class="paramname">baseCache</td><td>Cache of the light list (must not be null).</td></tr>
</table>
</dd>
</dl>
<p>leaves strategies unset </p>
</div>
</div>
<a id="a1d675796a00e29c09c31ee570ad7b114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d675796a00e29c09c31ee570ad7b114">◆ </a></span>Light() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">hueplusplus::Light::Light </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> & </td>
<td class="paramname"><em>commands</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a> > </td>
<td class="paramname"><em>brightnessStrategy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a> > </td>
<td class="paramname"><em>colorTempStrategy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a> > </td>
<td class="paramname"><em>colorHueStrategy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::chrono::steady_clock::duration </td>
<td class="paramname"><em>refreshDuration</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const nlohmann::json & </td>
<td class="paramname"><em>currentState</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected ctor that is used by <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a>, also sets strategies. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Integer that specifies the id of this light </td></tr>
<tr><td class="paramname">commands</td><td><a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> for communication with the bridge </td></tr>
<tr><td class="paramname">brightnessStrategy</td><td>Strategy for brightness. May be nullptr. </td></tr>
<tr><td class="paramname">colorTempStrategy</td><td>Strategy for color temperature. May be nullptr. </td></tr>
<tr><td class="paramname">colorHueStrategy</td><td>Strategy for color hue/saturation. May be nullptr. </td></tr>
<tr><td class="paramname">refreshDuration</td><td>Time between refreshing the cached state. Can be 0 to always refresh, or steady_clock::duration::max() to never refresh. </td></tr>
<tr><td class="paramname">currentState</td><td>The current light state, may be null. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a920b8ddc9d564b3a1126a68fac1722d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a920b8ddc9d564b3a1126a68fac1722d7">◆ </a></span>alert()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool hueplusplus::Light::alert </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that lets the light perform one breath cycle. </p>
<p>Can be used for locating a light. </p><dl class="section return"><dt>Returns</dt><dd>bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4a32fef56140dccb003516842fe958f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a32fef56140dccb003516842fe958f8">◆ </a></span>alertHueSaturation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::alertHueSaturation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> & </td>
<td class="paramname"><em>hueSat</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that lets the light perform one breath cycle in specified color. </p>
<dl class="section note"><dt>Note</dt><dd>The breath cylce will only be performed if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hueSat</td><td>Color in hue and saturation </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad21d944fb0054b25455338e8bf2fc4d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad21d944fb0054b25455338e8bf2fc4d2">◆ </a></span>alertTemperature()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::alertTemperature </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>mired</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that lets the light perform one breath cycle in specified color temperature. </p>
<dl class="section note"><dt>Note</dt><dd>The breath cylce will only be performed if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a>. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mired</td><td>Color temperature in mired </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0ec39bced79c49e31d236210392e6c38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ec39bced79c49e31d236210392e6c38">◆ </a></span>alertXY()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::alertXY </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> & </td>
<td class="paramname"><em>xy</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that lets the light perform one breath cycle in specified color. </p>
<dl class="section note"><dt>Note</dt><dd>The breath cylce will only be performed if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">xy</td><td>The x,y coordinates in CIE and brightness </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a9c2acffeb03fe5e4ce90d88c319a3326"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c2acffeb03fe5e4ce90d88c319a3326">◆ </a></span>getBrightness() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual unsigned int hueplusplus::Light::getBrightness </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function that returns the brightness of this light. </p>
<dl class="section note"><dt>Note</dt><dd>The brightness will only be returned if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a>. </dd>
<dd>
This will not refresh the light state The brightness can range from 0 = off to 254 = fully lit. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Unsigned int that is 0 when function failed </dd></dl>
</div>
</div>
<a id="ace8771637e9489f5063c001b5caddac3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace8771637e9489f5063c001b5caddac3">◆ </a></span>getBrightness() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual unsigned int hueplusplus::Light::getBrightness </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that returns the brightness of this light. </p>
<dl class="section note"><dt>Note</dt><dd>The brightness will only be returned if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a>. The brightness can range from 0 = off to 254 = fully lit. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Unsigned int that is 0 when function failed </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa389d6eebf6a843d76a4dc40504278f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa389d6eebf6a843d76a4dc40504278f1">◆ </a></span>getColorGamut()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structhueplusplus_1_1_color_gamut.html">ColorGamut</a> hueplusplus::Light::getColorGamut </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get gamut space of possible light colors. </p>
<dl class="section return"><dt>Returns</dt><dd>Used gamut, or <a class="el" href="namespacehueplusplus_1_1gamut.html#a67fc106cc7ec76c28ccb357404594693">gamut::maxGamut</a> when unknown. </dd></dl>
</div>
</div>
<a id="ad95677b99a9cde2027789bc42c3357a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad95677b99a9cde2027789bc42c3357a3">◆ </a></span>getColorHueSaturation() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> hueplusplus::Light::getColorHueSaturation </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function that returns the current color of the light as hue and saturation. </p>
<dl class="section note"><dt>Note</dt><dd>The color hue and saturation will only be returned when the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. </dd>
<dd>
This will not refresh the light state </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Current hue and saturation or {0,0} when failed </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a964f95119071333b43927b90bfaea91d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a964f95119071333b43927b90bfaea91d">◆ </a></span>getColorHueSaturation() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> hueplusplus::Light::getColorHueSaturation </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that returns the current color of the light as hue and saturation. </p>
<dl class="section note"><dt>Note</dt><dd>The color hue and saturation will only be returned when the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. Updates the lights state by calling refreshState() </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Current hue and saturation or {0,0} when failed </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa594a5ef3f74f4a67b334a51b953cef3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa594a5ef3f74f4a67b334a51b953cef3">◆ </a></span>getColorTemperature() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual unsigned int hueplusplus::Light::getColorTemperature </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function that returns the current color temperature of the light. </p>
<dl class="section note"><dt>Note</dt><dd>The color temperature will only be returned when the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a>. </dd>
<dd>
This will not refresh the light state The color temperature in mired ranges from 153 to 500 whereas 153 is cold and 500 is warm. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Unsigned int representing the color temperature in mired or 0 when failed </dd></dl>
</div>
</div>
<a id="aac4924bb706d4a7548ad8dbb47a6b9cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac4924bb706d4a7548ad8dbb47a6b9cf">◆ </a></span>getColorTemperature() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual unsigned int hueplusplus::Light::getColorTemperature </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that returns the current color temperature of the light. </p>
<dl class="section note"><dt>Note</dt><dd>The color temperature will only be returned when the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a>. Updates the lights state by calling refreshState() The color temperature in mired ranges from 153 to 500 whereas 153 is cold and 500 is warm. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Unsigned int representing the color temperature in mired or 0 when failed </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abfff60ed1b992b11ebff8af37586e2a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfff60ed1b992b11ebff8af37586e2a8">◆ </a></span>getColorType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">ColorType</a> hueplusplus::Light::getColorType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function that returns the color type of the light. </p>
<dl class="section return"><dt>Returns</dt><dd>ColorType containig the color type of the light </dd></dl>
</div>
</div>
<a id="a1ea91616036e3ba59b4590f69d1fc8bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ea91616036e3ba59b4590f69d1fc8bd">◆ </a></span>getColorXY() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> hueplusplus::Light::getColorXY </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function that returns the current color of the light as xy. </p>
<dl class="section note"><dt>Note</dt><dd>The color x and y will only be returned when the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. </dd>
<dd>
This does not update the lights state </dd></dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structhueplusplus_1_1_x_y_brightness.html" title="Color and brightness in CIE. ">XYBrightness</a> with x, y and brightness or an empty one (all 0) when failed </dd></dl>
</div>
</div>
<a id="a41ea854f1fb0331c7bf8c8595ef9e443"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41ea854f1fb0331c7bf8c8595ef9e443">◆ </a></span>getColorXY() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> hueplusplus::Light::getColorXY </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that returns the current color of the light as xy. </p>
<dl class="section note"><dt>Note</dt><dd>The color x and y will only be returned when the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. Updates the lights state by calling refreshState() </dd></dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structhueplusplus_1_1_x_y_brightness.html" title="Color and brightness in CIE. ">XYBrightness</a> with x, y and brightness or an empty one (all 0) when failed </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="afb12426562cc4cbdf429f37bdabd0c70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb12426562cc4cbdf429f37bdabd0c70">◆ </a></span>getLuminaireUId()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string hueplusplus::Light::getLuminaireUId </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function that returns the luminaireuniqueid of the light. </p>
<dl class="section note"><dt>Note</dt><dd>Only working on bridges with versions starting at 1.9 </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>String containing the luminaireuniqueid or an empty string when the function is not supported </dd></dl>
</div>
</div>
<a id="af680548b576b57a713018a353d8c8a88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af680548b576b57a713018a353d8c8a88">◆ </a></span>hasBrightnessControl()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::hasBrightnessControl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function to check whether this light has brightness control. </p>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true when the light has specified abilities and false when not </dd></dl>
</div>
</div>
<a id="a661e357c5648ff574634a12b40680a6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a661e357c5648ff574634a12b40680a6f">◆ </a></span>hasColorControl()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::hasColorControl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Connst function to check whether this light has full color control. </p>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true when the light has specified abilities and false when not </dd></dl>
</div>
</div>
<a id="a4b013d5e1cff6bdc02f273d57fc0db22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b013d5e1cff6bdc02f273d57fc0db22">◆ </a></span>hasTemperatureControl()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::hasTemperatureControl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function to check whether this light has color temperature control. </p>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true when the light has specified abilities and false when not </dd></dl>
</div>
</div>
<a id="a26172501723aeec5abcf8db5b0dc6986"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26172501723aeec5abcf8db5b0dc6986">◆ </a></span>isOn() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool hueplusplus::Light::isOn </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to check whether a light is on or off. </p>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true, when the light is on and false, when off </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a3acfa79ff45065b5a12bf37f42a5f012"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3acfa79ff45065b5a12bf37f42a5f012">◆ </a></span>isOn() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool hueplusplus::Light::isOn </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const function to check whether a light is on or off. </p>
<dl class="section note"><dt>Note</dt><dd>This will not refresh the light state </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true, when the light is on and false, when off </dd></dl>
</div>
</div>
<a id="a5f4699729652474534d5783c9a27ed94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f4699729652474534d5783c9a27ed94">◆ </a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool hueplusplus::Light::off </td>
<td>(</td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that turns the light off. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aab9db2db84ad55e19d7b46c77807973d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab9db2db84ad55e19d7b46c77807973d">◆ </a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool hueplusplus::Light::on </td>
<td>(</td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that turns the light on. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a103f8c3ab0a6bbf17839a9fd59049ce1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a103f8c3ab0a6bbf17839a9fd59049ce1">◆ </a></span>setBrightness()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setBrightness </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>bri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that sets the brightness of this light. </p>
<dl class="section note"><dt>Note</dt><dd>The brightness will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a>. The brightness can range from 0 = off to 254 = fully lit. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">bri</td><td>Unsigned int that specifies the brightness </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aed932e5106c7dd16c716514a35554a56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed932e5106c7dd16c716514a35554a56">◆ </a></span>setBrightnessStrategy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void hueplusplus::Light::setBrightnessStrategy </td>
<td>(</td>
<td class="paramtype">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a> > </td>
<td class="paramname"><em>strat</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected function that sets the brightness strategy. </p>
<p>The strategy defines how specific commands that deal with brightness control are executed </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strat</td><td>a strategy of type <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0c50bf851bf76150d8e37b9bf0ba47a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c50bf851bf76150d8e37b9bf0ba47a1">◆ </a></span>setColorHue()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorHue </td>
<td>(</td>
<td class="paramtype">uint16_t </td>
<td class="paramname"><em>hue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to set the color of this light with specified hue. </p>
<dl class="section note"><dt>Note</dt><dd>The color will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. The hue can range from 0 to 65535, whereas 65535 and 0 are red, 25500 is green and 46920 is blue. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hue</td><td>uint16_t that specifies the hue </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a378ef834d9939ed7c4835e62f506d9b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a378ef834d9939ed7c4835e62f506d9b1">◆ </a></span>setColorHueSaturation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorHueSaturation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structhueplusplus_1_1_hue_saturation.html">HueSaturation</a> & </td>
<td class="paramname"><em>hueSat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to set the color of this light with specified hue and saturation. </p>
<dl class="section note"><dt>Note</dt><dd>The color will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hueSat</td><td>Color in hue and satuation. </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6b1291f0c5e6e41be11c7908ea1e77db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b1291f0c5e6e41be11c7908ea1e77db">◆ </a></span>setColorHueStrategy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void hueplusplus::Light::setColorHueStrategy </td>
<td>(</td>
<td class="paramtype">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a> > </td>
<td class="paramname"><em>strat</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected function that sets the colorHue strategy. </p>
<p>The strategy defines how specific commands that deal with color control are executed </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strat</td><td>a strategy of type <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ace958475e37b6273da1a47395076156d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace958475e37b6273da1a47395076156d">◆ </a></span>setColorLoop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorLoop </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to turn colorloop effect on/off. </p>
<p>Notice this function will only be performed light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. The colorloop effect will loop through all colors on current hue and saturation levels. Notice that none of the setter functions check whether this feature is enabled and the colorloop can only be disabled with this function or by simply calling <a class="el" href="classhueplusplus_1_1_light.html#a5f4699729652474534d5783c9a27ed94" title="Function that turns the light off. ">off()</a> and then <a class="el" href="classhueplusplus_1_1_light.html#aab9db2db84ad55e19d7b46c77807973d" title="Function that turns the light on. ">on()</a>, so you could alternatively call <a class="el" href="classhueplusplus_1_1_light.html#a5f4699729652474534d5783c9a27ed94" title="Function that turns the light off. ">off()</a> and then use any of the setter functions. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">on</td><td>bool that enables this feature when true and disables it when false </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a45c57a522e5785729fa7f557bf8591e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45c57a522e5785729fa7f557bf8591e3">◆ </a></span>setColorRGB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorRGB </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structhueplusplus_1_1_r_g_b.html">RGB</a> & </td>
<td class="paramname"><em>rgb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to set the color of this light with red green and blue values. </p>
<dl class="section note"><dt>Note</dt><dd>The color will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. The values of red, green and blue are ranging from 0 to 255. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">rgb</td><td><a class="el" href="structhueplusplus_1_1_r_g_b.html" title="Color in RGB. ">RGB</a> color that will be mapped to the available color space </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0db3f274671a9f2246708a0d3f8b7cf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0db3f274671a9f2246708a0d3f8b7cf3">◆ </a></span>setColorSaturation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorSaturation </td>
<td>(</td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>sat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to set the color of this light with specified saturation. </p>
<dl class="section note"><dt>Note</dt><dd>The color will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. The saturation can range from 0 to 254, whereas 0 is least saturated (white) and 254 is most saturated. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sat</td><td>uint8_t that specifies the saturation </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5f5b8b411e96493c82f4f392d3efe932"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f5b8b411e96493c82f4f392d3efe932">◆ </a></span>setColorTemperature()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorTemperature </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>mired</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function that sets the color temperature of this light in mired. </p>
<dl class="section note"><dt>Note</dt><dd>The color temperature will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a>. The color temperature can range from 153 to 500. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mired</td><td>Unsigned int that specifies the color temperature in Mired </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1427acdc4429be82f9a2071bdcb991b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1427acdc4429be82f9a2071bdcb991b1">◆ </a></span>setColorTemperatureStrategy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void hueplusplus::Light::setColorTemperatureStrategy </td>
<td>(</td>
<td class="paramtype">std::shared_ptr< const <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a> > </td>
<td class="paramname"><em>strat</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected function that sets the colorTemperature strategy. </p>
<p>The strategy defines how specific commands that deal with colortemperature control are executed </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strat</td><td>a strategy of type <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa2f35a51520f91875522b944985e757c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2f35a51520f91875522b944985e757c">◆ </a></span>setColorXY()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool hueplusplus::Light::setColorXY </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structhueplusplus_1_1_x_y_brightness.html">XYBrightness</a> & </td>
<td class="paramname"><em>xy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t </td>
<td class="paramname"><em>transition</em> = <code>4</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to set the color of this light in CIE with specified x y. </p>
<dl class="section note"><dt>Note</dt><dd>The color will only be set if the light has a reference to a specific <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>. The values of x and y are ranging from 0 to 1. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">xy</td><td>The color in <a class="el" href="structhueplusplus_1_1_x_y.html" title="Color in CIE x and y coordinates. ">XY</a> and brightness </td></tr>
<tr><td class="paramname">transition</td><td>Optional parameter to set the transition from current state to new, standard is 4 = 400ms </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Bool that is true on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
<tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API "error" response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
<tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a37d025adaf1791ac0ba904fa52a5bfb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37d025adaf1791ac0ba904fa52a5bfb5">◆ </a></span>transaction()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classhueplusplus_1_1_state_transaction.html">StateTransaction</a> hueplusplus::Light::transaction </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a transaction for this light. </p>
<p>The transaction can be used to change more than one value in one request. Only use the functions supported by the current light type.</p>
<p>Example usage:</p><div class="fragment"><div class="line">light.<a class="code" href="classhueplusplus_1_1_light.html#a37d025adaf1791ac0ba904fa52a5bfb5">transaction</a>().<a class="code" href="classhueplusplus_1_1_state_transaction.html#a3502aed5c5b47f058133358959c171e5">setBrightness</a>(240).<a class="code" href="classhueplusplus_1_1_state_transaction.html#a6861e2c1cdbf0e95b14b81869a5eb7de">setColorHue</a>(5000).<a class="code" href="classhueplusplus_1_1_state_transaction.html#aeb7dae7c01fdffad9e224e5393f83b85">commit</a>();</div></div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a9c3ccafa802cdb32c292c49f575148f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c3ccafa802cdb32c292c49f575148f4">◆ </a></span>ExtendedColorHueStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classhueplusplus_1_1_extended_color_hue_strategy.html">ExtendedColorHueStrategy</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a39b9af853936935617664c3f7814d910"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39b9af853936935617664c3f7814d910">◆ </a></span>ExtendedColorTemperatureStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classhueplusplus_1_1_extended_color_temperature_strategy.html">ExtendedColorTemperatureStrategy</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac8e9c6bbd43e33cbdd138af2f654342d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8e9c6bbd43e33cbdd138af2f654342d">◆ </a></span>LightFactory</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classhueplusplus_1_1_light_factory.html">LightFactory</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a5babb7ef26b2bbb53c32f8b2378340dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5babb7ef26b2bbb53c32f8b2378340dd">◆ </a></span>SimpleBrightnessStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classhueplusplus_1_1_simple_brightness_strategy.html">SimpleBrightnessStrategy</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a72883e32140a640d19b91e8f778be41f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72883e32140a640d19b91e8f778be41f">◆ </a></span>SimpleColorHueStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classhueplusplus_1_1_simple_color_hue_strategy.html">SimpleColorHueStrategy</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3dd11d27e5f374c0e8c88ebf6f24c7a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dd11d27e5f374c0e8c88ebf6f24c7a0">◆ </a></span>SimpleColorTemperatureStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classhueplusplus_1_1_simple_color_temperature_strategy.html">SimpleColorTemperatureStrategy</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af9948baaf52a9ce2ed0f145368492873"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9948baaf52a9ce2ed0f145368492873">◆ </a></span>brightnessStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr<const <a class="el" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a>> hueplusplus::Light::brightnessStrategy</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>holds a reference to the strategy that handles brightness commands </p>
</div>
</div>
<a id="a58a030711463559c249e26c85e8847eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58a030711463559c249e26c85e8847eb">◆ </a></span>colorHueStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr<const <a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">ColorHueStrategy</a>> hueplusplus::Light::colorHueStrategy</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>holds a reference to the strategy that handles all color commands </p>
</div>
</div>
<a id="ac0c64d4bdaa4a26a3da35dae112101d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0c64d4bdaa4a26a3da35dae112101d1">◆ </a></span>colorTemperatureStrategy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr<const <a class="el" href="classhueplusplus_1_1_color_temperature_strategy.html">ColorTemperatureStrategy</a>> hueplusplus::Light::colorTemperatureStrategy</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>holds a reference to the strategy that handles colortemperature commands </p>
</div>
</div>
<a id="a7f504e827b158c81e9ca3c57f158ae3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f504e827b158c81e9ca3c57f158ae3b">◆ </a></span>colorType</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">ColorType</a> hueplusplus::Light::colorType</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>holds the <a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">ColorType</a> of the light </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/hueplusplus/<a class="el" href="_light_8h_source.html">Light.h</a></li>
<li>src/<a class="el" href="_light_8cpp.html">Light.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>