classhueplusplus_1_1_sensor_list.html
46.5 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
<!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::SensorList 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_sensor_list.html">SensorList</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classhueplusplus_1_1_sensor_list-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">hueplusplus::SensorList Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Handles a list of <a class="el" href="classhueplusplus_1_1_sensor.html" title="Class for generic or unknown sensor types. ">Sensor</a>s with type specific getters.
<a href="classhueplusplus_1_1_sensor_list.html#details">More...</a></p>
<p><code>#include <<a class="el" href="_sensor_list_8h_source.html">hueplusplus/SensorList.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::SensorList:</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_sensor_list__inherit__graph.png" border="0" usemap="#hueplusplus_1_1_sensor_list_inherit__map" alt="Inheritance graph"/></div>
<map name="hueplusplus_1_1_sensor_list_inherit__map" id="hueplusplus_1_1_sensor_list_inherit__map">
<area shape="rect" id="node2" href="classhueplusplus_1_1_createable_resource_list.html" title="hueplusplus::CreateableResource\lList\< SearchableResourceList\l\< Sensor \>, CreateSensor \>" alt="" coords="531,5,769,61"/>
<area shape="rect" id="node3" href="classhueplusplus_1_1_searchable_resource_list.html" title="hueplusplus::SearchableResource\lList\< Sensor \>" alt="" coords="244,13,483,54"/>
<area shape="rect" id="node4" href="classhueplusplus_1_1_resource_list.html" title="hueplusplus::ResourceList\l\< Sensor, int \>" alt="" coords="5,13,196,54"/>
</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::SensorList:</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_sensor_list__coll__graph.png" border="0" usemap="#hueplusplus_1_1_sensor_list_coll__map" alt="Collaboration graph"/></div>
<map name="hueplusplus_1_1_sensor_list_coll__map" id="hueplusplus_1_1_sensor_list_coll__map">
<area shape="rect" id="node2" href="classhueplusplus_1_1_createable_resource_list.html" title="hueplusplus::CreateableResource\lList\< SearchableResourceList\l\< Sensor \>, CreateSensor \>" alt="" coords="531,5,769,61"/>
<area shape="rect" id="node3" href="classhueplusplus_1_1_searchable_resource_list.html" title="hueplusplus::SearchableResource\lList\< Sensor \>" alt="" coords="244,13,483,54"/>
<area shape="rect" id="node4" href="classhueplusplus_1_1_resource_list.html" title="hueplusplus::ResourceList\l\< Sensor, int \>" alt="" coords="5,13,196,54"/>
</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 class="memitem:a3dcafc979eaa60e7b725ae50488be6df"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
<tr class="memitem:a3dcafc979eaa60e7b725ae50488be6df"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_sensor_list.html#a3dcafc979eaa60e7b725ae50488be6df">getAsType</a> (int id)</td></tr>
<tr class="memdesc:a3dcafc979eaa60e7b725ae50488be6df"><td class="mdescLeft"> </td><td class="mdescRight">Get sensor specified by id, convert to <code>T</code>. <a href="#a3dcafc979eaa60e7b725ae50488be6df">More...</a><br /></td></tr>
<tr class="separator:a3dcafc979eaa60e7b725ae50488be6df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5f6cd913954558252ef97ead28890ec3"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
<tr class="memitem:a5f6cd913954558252ef97ead28890ec3"><td class="memTemplItemLeft" align="right" valign="top">std::vector< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_sensor_list.html#a5f6cd913954558252ef97ead28890ec3">getAllByType</a> ()</td></tr>
<tr class="memdesc:a5f6cd913954558252ef97ead28890ec3"><td class="mdescLeft"> </td><td class="mdescRight">Get all sensors of type <code>T</code>. <a href="#a5f6cd913954558252ef97ead28890ec3">More...</a><br /></td></tr>
<tr class="separator:a5f6cd913954558252ef97ead28890ec3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classhueplusplus_1_1_createable_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhueplusplus_1_1_createable_resource_list')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classhueplusplus_1_1_createable_resource_list.html">hueplusplus::CreateableResourceList< SearchableResourceList< Sensor >, CreateSensor ></a></td></tr>
<tr class="memitem:abf886bbd80f86e00a66c7ad61bd773c9 inherit pub_methods_classhueplusplus_1_1_createable_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_searchable_resource_list.html">SearchableResourceList</a>< <a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a> > ::<a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_createable_resource_list.html#abf886bbd80f86e00a66c7ad61bd773c9">create</a> (const <a class="el" href="classhueplusplus_1_1_create_sensor.html">CreateSensor</a> &params)</td></tr>
<tr class="memdesc:abf886bbd80f86e00a66c7ad61bd773c9 inherit pub_methods_classhueplusplus_1_1_createable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Create a new resource. <a href="classhueplusplus_1_1_createable_resource_list.html#abf886bbd80f86e00a66c7ad61bd773c9">More...</a><br /></td></tr>
<tr class="separator:abf886bbd80f86e00a66c7ad61bd773c9 inherit pub_methods_classhueplusplus_1_1_createable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classhueplusplus_1_1_searchable_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhueplusplus_1_1_searchable_resource_list')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classhueplusplus_1_1_searchable_resource_list.html">hueplusplus::SearchableResourceList< Sensor ></a></td></tr>
<tr class="memitem:aa67cf6cc3bde30b1c8a79d98d270ae32 inherit pub_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_searchable_resource_list.html#aa67cf6cc3bde30b1c8a79d98d270ae32">search</a> (const std::vector< std::string > &deviceIds={})</td></tr>
<tr class="memdesc:aa67cf6cc3bde30b1c8a79d98d270ae32 inherit pub_methods_classhueplusplus_1_1_searchable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Start search for new devices. <a href="classhueplusplus_1_1_searchable_resource_list.html#aa67cf6cc3bde30b1c8a79d98d270ae32">More...</a><br /></td></tr>
<tr class="separator:aa67cf6cc3bde30b1c8a79d98d270ae32 inherit pub_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07bc6249721ec996a38091ee7c46ef3d inherit pub_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_new_device_list.html">NewDeviceList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_searchable_resource_list.html#a07bc6249721ec996a38091ee7c46ef3d">getNewDevices</a> () const</td></tr>
<tr class="memdesc:a07bc6249721ec996a38091ee7c46ef3d inherit pub_methods_classhueplusplus_1_1_searchable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Get devices found in last search. <a href="classhueplusplus_1_1_searchable_resource_list.html#a07bc6249721ec996a38091ee7c46ef3d">More...</a><br /></td></tr>
<tr class="separator:a07bc6249721ec996a38091ee7c46ef3d inherit pub_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classhueplusplus_1_1_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhueplusplus_1_1_resource_list')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classhueplusplus_1_1_resource_list.html">hueplusplus::ResourceList< Sensor, int ></a></td></tr>
<tr class="memitem:a92d644c4440523ba31d36da291ce499a inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a92d644c4440523ba31d36da291ce499a">ResourceList</a> (std::shared_ptr< <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> > baseCache, const std::string &cacheEntry, std::chrono::steady_clock::duration refreshDuration, bool <a class="el" href="classhueplusplus_1_1_resource_list.html#abc08e43ff0bd00145331db6a39fd1708">sharedState</a>=false, const std::function< <a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a>(<a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a>, const nlohmann::json &, const std::shared_ptr< <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> > &)> &<a class="el" href="classhueplusplus_1_1_resource_list.html#ac5777102379d55049380d777e779f56f">factory</a>=nullptr)</td></tr>
<tr class="memdesc:a92d644c4440523ba31d36da291ce499a inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Construct ResourceList using a base cache and optional factory function. <a href="classhueplusplus_1_1_resource_list.html#a92d644c4440523ba31d36da291ce499a">More...</a><br /></td></tr>
<tr class="separator:a92d644c4440523ba31d36da291ce499a inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ad0fc473c4b3ac35210da9f2909e034 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a3ad0fc473c4b3ac35210da9f2909e034">ResourceList</a> (const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> &commands, const std::string &<a class="el" href="classhueplusplus_1_1_resource_list.html#ac3490f9e6b165f3a71c13337887a1a88">path</a>, std::chrono::steady_clock::duration refreshDuration, const std::function< <a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a>(<a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a>, const nlohmann::json &, const std::shared_ptr< <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> > &)> &<a class="el" href="classhueplusplus_1_1_resource_list.html#ac5777102379d55049380d777e779f56f">factory</a>=nullptr)</td></tr>
<tr class="memdesc:a3ad0fc473c4b3ac35210da9f2909e034 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Construct ResourceList with a separate cache and optional factory function. <a href="classhueplusplus_1_1_resource_list.html#a3ad0fc473c4b3ac35210da9f2909e034">More...</a><br /></td></tr>
<tr class="separator:a3ad0fc473c4b3ac35210da9f2909e034 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a165b892a0100a4ec6b575a2076f6bb8d inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a165b892a0100a4ec6b575a2076f6bb8d">ResourceList</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html">ResourceList</a> &)=delete</td></tr>
<tr class="memdesc:a165b892a0100a4ec6b575a2076f6bb8d inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Deleted copy constructor. <a href="classhueplusplus_1_1_resource_list.html#a165b892a0100a4ec6b575a2076f6bb8d">More...</a><br /></td></tr>
<tr class="separator:a165b892a0100a4ec6b575a2076f6bb8d inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa75121b18d67faf84ff6b894d0c45b0b inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_resource_list.html">ResourceList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#aa75121b18d67faf84ff6b894d0c45b0b">operator=</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html">ResourceList</a> &)=delete</td></tr>
<tr class="memdesc:aa75121b18d67faf84ff6b894d0c45b0b inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Deleted copy assignment. <a href="classhueplusplus_1_1_resource_list.html#aa75121b18d67faf84ff6b894d0c45b0b">More...</a><br /></td></tr>
<tr class="separator:aa75121b18d67faf84ff6b894d0c45b0b inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fe81cf76931d2bcf9dda56ea63524bd inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a6fe81cf76931d2bcf9dda56ea63524bd">refresh</a> ()</td></tr>
<tr class="memdesc:a6fe81cf76931d2bcf9dda56ea63524bd inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Refreshes internal state now. <a href="classhueplusplus_1_1_resource_list.html#a6fe81cf76931d2bcf9dda56ea63524bd">More...</a><br /></td></tr>
<tr class="separator:a6fe81cf76931d2bcf9dda56ea63524bd inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa165e446439defcae7d1bf05b4576739 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#aa165e446439defcae7d1bf05b4576739">setRefreshDuration</a> (std::chrono::steady_clock::duration refreshDuration)</td></tr>
<tr class="memdesc:aa165e446439defcae7d1bf05b4576739 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Sets custom refresh interval for this list and all resources created. <a href="classhueplusplus_1_1_resource_list.html#aa165e446439defcae7d1bf05b4576739">More...</a><br /></td></tr>
<tr class="separator:aa165e446439defcae7d1bf05b4576739 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7b3bef47b0c09764377cbad327545df inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ad7b3bef47b0c09764377cbad327545df">getAll</a> ()</td></tr>
<tr class="memdesc:ad7b3bef47b0c09764377cbad327545df inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Get all resources that exist. <a href="classhueplusplus_1_1_resource_list.html#ad7b3bef47b0c09764377cbad327545df">More...</a><br /></td></tr>
<tr class="separator:ad7b3bef47b0c09764377cbad327545df inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7bcf2ed48e70e9f11a4b6bdc24e0e611 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a7bcf2ed48e70e9f11a4b6bdc24e0e611">get</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> &id)</td></tr>
<tr class="memdesc:a7bcf2ed48e70e9f11a4b6bdc24e0e611 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Get resource specified by id. <a href="classhueplusplus_1_1_resource_list.html#a7bcf2ed48e70e9f11a4b6bdc24e0e611">More...</a><br /></td></tr>
<tr class="separator:a7bcf2ed48e70e9f11a4b6bdc24e0e611 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af5e884eefde0a45d53f029a9f30a6ab7 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#af5e884eefde0a45d53f029a9f30a6ab7">exists</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> &id)</td></tr>
<tr class="memdesc:af5e884eefde0a45d53f029a9f30a6ab7 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether resource with id exists. <a href="classhueplusplus_1_1_resource_list.html#af5e884eefde0a45d53f029a9f30a6ab7">More...</a><br /></td></tr>
<tr class="separator:af5e884eefde0a45d53f029a9f30a6ab7 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c0219d853d551394020b7b482518070 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a8c0219d853d551394020b7b482518070">exists</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> &id) const</td></tr>
<tr class="memdesc:a8c0219d853d551394020b7b482518070 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether resource with id exists. <a href="classhueplusplus_1_1_resource_list.html#a8c0219d853d551394020b7b482518070">More...</a><br /></td></tr>
<tr class="separator:a8c0219d853d551394020b7b482518070 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac65ac738c8cf0eaac35634ccffa455f5 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ac65ac738c8cf0eaac35634ccffa455f5">remove</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> &id)</td></tr>
<tr class="memdesc:ac65ac738c8cf0eaac35634ccffa455f5 inherit pub_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Removes the resource. <a href="classhueplusplus_1_1_resource_list.html#ac65ac738c8cf0eaac35634ccffa455f5">More...</a><br /></td></tr>
<tr class="separator:ac65ac738c8cf0eaac35634ccffa455f5 inherit pub_methods_classhueplusplus_1_1_resource_list"><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:a50856b1861e871652de5ce7185e0c5a2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_sensor_list.html#a50856b1861e871652de5ce7185e0c5a2">SensorList</a> (<a class="el" href="classhueplusplus_1_1_sensor_list.html">SensorList</a> &&)=default</td></tr>
<tr class="memdesc:a50856b1861e871652de5ce7185e0c5a2"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move constructor. <a href="#a50856b1861e871652de5ce7185e0c5a2">More...</a><br /></td></tr>
<tr class="separator:a50856b1861e871652de5ce7185e0c5a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad4b33da37bfa7b68e8254c2767c18a69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_sensor_list.html">SensorList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_sensor_list.html#ad4b33da37bfa7b68e8254c2767c18a69">operator=</a> (<a class="el" href="classhueplusplus_1_1_sensor_list.html">SensorList</a> &&)=default</td></tr>
<tr class="memdesc:ad4b33da37bfa7b68e8254c2767c18a69"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move assignment. <a href="#ad4b33da37bfa7b68e8254c2767c18a69">More...</a><br /></td></tr>
<tr class="separator:ad4b33da37bfa7b68e8254c2767c18a69"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classhueplusplus_1_1_createable_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classhueplusplus_1_1_createable_resource_list')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classhueplusplus_1_1_createable_resource_list.html">hueplusplus::CreateableResourceList< SearchableResourceList< Sensor >, CreateSensor ></a></td></tr>
<tr class="memitem:aeb4f83610cae0670890bf7bb3649e9fb inherit pro_methods_classhueplusplus_1_1_createable_resource_list"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_createable_resource_list.html#aeb4f83610cae0670890bf7bb3649e9fb">CreateableResourceList</a> (<a class="el" href="classhueplusplus_1_1_createable_resource_list.html">CreateableResourceList</a> &&)=default</td></tr>
<tr class="memdesc:aeb4f83610cae0670890bf7bb3649e9fb inherit pro_methods_classhueplusplus_1_1_createable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move constructor. <a href="classhueplusplus_1_1_createable_resource_list.html#aeb4f83610cae0670890bf7bb3649e9fb">More...</a><br /></td></tr>
<tr class="separator:aeb4f83610cae0670890bf7bb3649e9fb inherit pro_methods_classhueplusplus_1_1_createable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adfba6867594c38e7df0de20cf143ab38 inherit pro_methods_classhueplusplus_1_1_createable_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_createable_resource_list.html">CreateableResourceList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_createable_resource_list.html#adfba6867594c38e7df0de20cf143ab38">operator=</a> (<a class="el" href="classhueplusplus_1_1_createable_resource_list.html">CreateableResourceList</a> &&)=default</td></tr>
<tr class="memdesc:adfba6867594c38e7df0de20cf143ab38 inherit pro_methods_classhueplusplus_1_1_createable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move assignment. <a href="classhueplusplus_1_1_createable_resource_list.html#adfba6867594c38e7df0de20cf143ab38">More...</a><br /></td></tr>
<tr class="separator:adfba6867594c38e7df0de20cf143ab38 inherit pro_methods_classhueplusplus_1_1_createable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classhueplusplus_1_1_searchable_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classhueplusplus_1_1_searchable_resource_list')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classhueplusplus_1_1_searchable_resource_list.html">hueplusplus::SearchableResourceList< Sensor ></a></td></tr>
<tr class="memitem:ab4a2bfed71c55e91dbead4d4e17d50f7 inherit pro_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_searchable_resource_list.html#ab4a2bfed71c55e91dbead4d4e17d50f7">SearchableResourceList</a> (<a class="el" href="classhueplusplus_1_1_searchable_resource_list.html">SearchableResourceList</a> &&)=default</td></tr>
<tr class="memdesc:ab4a2bfed71c55e91dbead4d4e17d50f7 inherit pro_methods_classhueplusplus_1_1_searchable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move constructor. <a href="classhueplusplus_1_1_searchable_resource_list.html#ab4a2bfed71c55e91dbead4d4e17d50f7">More...</a><br /></td></tr>
<tr class="separator:ab4a2bfed71c55e91dbead4d4e17d50f7 inherit pro_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a525df9955f4395c75def137bb55622d1 inherit pro_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_searchable_resource_list.html">SearchableResourceList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_searchable_resource_list.html#a525df9955f4395c75def137bb55622d1">operator=</a> (<a class="el" href="classhueplusplus_1_1_searchable_resource_list.html">SearchableResourceList</a> &&)=default</td></tr>
<tr class="memdesc:a525df9955f4395c75def137bb55622d1 inherit pro_methods_classhueplusplus_1_1_searchable_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move assignment. <a href="classhueplusplus_1_1_searchable_resource_list.html#a525df9955f4395c75def137bb55622d1">More...</a><br /></td></tr>
<tr class="separator:a525df9955f4395c75def137bb55622d1 inherit pro_methods_classhueplusplus_1_1_searchable_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classhueplusplus_1_1_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classhueplusplus_1_1_resource_list')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classhueplusplus_1_1_resource_list.html">hueplusplus::ResourceList< Sensor, int ></a></td></tr>
<tr class="memitem:a035501423175d4dc5d91b677de1a9c95 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a035501423175d4dc5d91b677de1a9c95">ResourceList</a> (<a class="el" href="classhueplusplus_1_1_resource_list.html">ResourceList</a> &&)=default</td></tr>
<tr class="memdesc:a035501423175d4dc5d91b677de1a9c95 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move constructor. <a href="classhueplusplus_1_1_resource_list.html#a035501423175d4dc5d91b677de1a9c95">More...</a><br /></td></tr>
<tr class="separator:a035501423175d4dc5d91b677de1a9c95 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd327e8fb74cc60ac100bc750af338a3 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_resource_list.html">ResourceList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#abd327e8fb74cc60ac100bc750af338a3">operator=</a> (<a class="el" href="classhueplusplus_1_1_resource_list.html">ResourceList</a> &&)=default</td></tr>
<tr class="memdesc:abd327e8fb74cc60ac100bc750af338a3 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Protected defaulted move assignment. <a href="classhueplusplus_1_1_resource_list.html#abd327e8fb74cc60ac100bc750af338a3">More...</a><br /></td></tr>
<tr class="separator:abd327e8fb74cc60ac100bc750af338a3 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab98434ae91b0868dcf9cb95dfa168c95 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ab98434ae91b0868dcf9cb95dfa168c95">construct</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> &id, const nlohmann::json &state)</td></tr>
<tr class="memdesc:ab98434ae91b0868dcf9cb95dfa168c95 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Constructs resource using factory or constructor, if available. <a href="classhueplusplus_1_1_resource_list.html#ab98434ae91b0868dcf9cb95dfa168c95">More...</a><br /></td></tr>
<tr class="separator:ab98434ae91b0868dcf9cb95dfa168c95 inherit pro_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classhueplusplus_1_1_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classhueplusplus_1_1_resource_list')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classhueplusplus_1_1_resource_list.html">hueplusplus::ResourceList< Sensor, int ></a></td></tr>
<tr class="memitem:a177194d18e9f0f37228a262d6dd6a73c inherit pub_types_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#a177194d18e9f0f37228a262d6dd6a73c">ResourceType</a> = <a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a></td></tr>
<tr class="separator:a177194d18e9f0f37228a262d6dd6a73c inherit pub_types_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab122d90e1fcfde172b21670c74b33f89 inherit pub_types_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> = int</td></tr>
<tr class="separator:ab122d90e1fcfde172b21670c74b33f89 inherit pub_types_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_static_methods_classhueplusplus_1_1_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classhueplusplus_1_1_resource_list')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classhueplusplus_1_1_resource_list.html">hueplusplus::ResourceList< Sensor, int ></a></td></tr>
<tr class="memitem:ab98e351ff57e1674cc5aa25f150a4471 inherit pro_static_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ab98e351ff57e1674cc5aa25f150a4471">maybeStoi</a> (const std::string &key)</td></tr>
<tr class="memdesc:ab98e351ff57e1674cc5aa25f150a4471 inherit pro_static_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Calls std::stoi if IdType is int. <a href="classhueplusplus_1_1_resource_list.html#ab98e351ff57e1674cc5aa25f150a4471">More...</a><br /></td></tr>
<tr class="separator:ab98e351ff57e1674cc5aa25f150a4471 inherit pro_static_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae26bacb486e03c961d992da82d63fdd6 inherit pro_static_methods_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ae26bacb486e03c961d992da82d63fdd6">maybeToString</a> (const <a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a> &id)</td></tr>
<tr class="memdesc:ae26bacb486e03c961d992da82d63fdd6 inherit pro_static_methods_classhueplusplus_1_1_resource_list"><td class="mdescLeft"> </td><td class="mdescRight">Calls std::to_string if IdType is int. <a href="classhueplusplus_1_1_resource_list.html#ae26bacb486e03c961d992da82d63fdd6">More...</a><br /></td></tr>
<tr class="separator:ae26bacb486e03c961d992da82d63fdd6 inherit pro_static_methods_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classhueplusplus_1_1_resource_list"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classhueplusplus_1_1_resource_list')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classhueplusplus_1_1_resource_list.html">hueplusplus::ResourceList< Sensor, int ></a></td></tr>
<tr class="memitem:abc77b3be3e5e8da4c7b6cfe86637f048 inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< <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_resource_list.html#abc77b3be3e5e8da4c7b6cfe86637f048">stateCache</a></td></tr>
<tr class="separator:abc77b3be3e5e8da4c7b6cfe86637f048 inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac5777102379d55049380d777e779f56f inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">std::function< <a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a>(<a class="el" href="classhueplusplus_1_1_resource_list.html#ab122d90e1fcfde172b21670c74b33f89">IdType</a>, const nlohmann::json &, const std::shared_ptr< <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_resource_list.html#ac5777102379d55049380d777e779f56f">factory</a></td></tr>
<tr class="separator:ac5777102379d55049380d777e779f56f inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac3490f9e6b165f3a71c13337887a1a88 inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#ac3490f9e6b165f3a71c13337887a1a88">path</a></td></tr>
<tr class="separator:ac3490f9e6b165f3a71c13337887a1a88 inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc08e43ff0bd00145331db6a39fd1708 inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_resource_list.html#abc08e43ff0bd00145331db6a39fd1708">sharedState</a></td></tr>
<tr class="separator:abc08e43ff0bd00145331db6a39fd1708 inherit pro_attribs_classhueplusplus_1_1_resource_list"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Handles a list of <a class="el" href="classhueplusplus_1_1_sensor.html" title="Class for generic or unknown sensor types. ">Sensor</a>s with type specific getters. </p>
<p>Allows to directly get the requested sensor type or all sensors of a given type. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a50856b1861e871652de5ce7185e0c5a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50856b1861e871652de5ce7185e0c5a2">◆ </a></span>SensorList()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">hueplusplus::SensorList::SensorList </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classhueplusplus_1_1_sensor_list.html">SensorList</a> && </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected defaulted move constructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5f6cd913954558252ef97ead28890ec3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f6cd913954558252ef97ead28890ec3">◆ </a></span>getAllByType()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector<T> hueplusplus::SensorList::getAllByType </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> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get all sensors of type <code>T</code>. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td><a class="el" href="classhueplusplus_1_1_sensor.html" title="Class for generic or unknown sensor types. ">Sensor</a> type to get (from <a class="el" href="sensors.html">Sensors</a>) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>All sensors matching the type </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<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 contains no body </td></tr>
<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_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="a3dcafc979eaa60e7b725ae50488be6df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dcafc979eaa60e7b725ae50488be6df">◆ </a></span>getAsType()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">T hueplusplus::SensorList::getAsType </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get sensor specified by id, convert to <code>T</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td><a class="el" href="classhueplusplus_1_1_sensor.html" title="Class for generic or unknown sensor types. ">Sensor</a> id </td></tr>
</table>
</dd>
</dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td><a class="el" href="classhueplusplus_1_1_sensor.html" title="Class for generic or unknown sensor types. ">Sensor</a> type to convert to (from <a class="el" href="sensors.html">Sensors</a>) </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The sensor matching the id and type </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<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 id does not exist or type does not match </td></tr>
<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_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="ad4b33da37bfa7b68e8254c2767c18a69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4b33da37bfa7b68e8254c2767c18a69">◆ </a></span>operator=()</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_sensor_list.html">SensorList</a>& hueplusplus::SensorList::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classhueplusplus_1_1_sensor_list.html">SensorList</a> && </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Protected defaulted move assignment. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/hueplusplus/<a class="el" href="_sensor_list_8h_source.html">SensorList.h</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>