Commit 29f311cd5c47a8e33012266b1b6b99b4fdab03e8
0 parents
Deploy enwi/hueplusplus to github.com/enwi/hueplusplus.git:gh-pages
Showing
1423 changed files
with
82434 additions
and
0 deletions
Too many changes.
To preserve performance only 100 of 1423 files are displayed.
.nojekyll
0 → 100644
| 1 | +++ a/.nojekyll | ... | ... |
_a_p_i_cache_8cpp.html
0 → 100644
| 1 | +++ a/_a_p_i_cache_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/APICache.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> </div> | |
| 68 | + <div class="headertitle"> | |
| 69 | +<div class="title">APICache.cpp File Reference</div> </div> | |
| 70 | +</div><!--header--> | |
| 71 | +<div class="contents"> | |
| 72 | +<div class="textblock"><code>#include "<a class="el" href="_a_p_i_cache_8h_source.html">hueplusplus/APICache.h</a>"</code><br /> | |
| 73 | +<code>#include "<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>"</code><br /> | |
| 74 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 75 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for APICache.cpp:</div> | |
| 76 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 77 | +</div> | |
| 78 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 79 | +<div class="center"><img src="_a_p_i_cache_8cpp__incl.png" border="0" usemap="#src_2_a_p_i_cache_8cpp" alt=""/></div> | |
| 80 | +<map name="src_2_a_p_i_cache_8cpp" id="src_2_a_p_i_cache_8cpp"> | |
| 81 | +<area shape="rect" id="node2" href="_a_p_i_cache_8h.html" title="hueplusplus/APICache.h" alt="" coords="342,80,519,107"/> | |
| 82 | +<area shape="rect" id="node15" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="601,155,796,196"/> | |
| 83 | +<area shape="rect" id="node5" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="178,162,326,189"/> | |
| 84 | +<area shape="rect" id="node8" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="402,244,526,271"/> | |
| 85 | +<area shape="rect" id="node11" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="262,244,378,271"/> | |
| 86 | +</map> | |
| 87 | +</div> | |
| 88 | +</div><table class="memberdecls"> | |
| 89 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 90 | +Namespaces</h2></td></tr> | |
| 91 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 92 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 93 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 94 | +</table> | |
| 95 | +</div><!-- contents --> | |
| 96 | +<!-- start footer part --> | |
| 97 | +<hr class="footer"/><address class="footer"><small> | |
| 98 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 99 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 100 | +</a> 1.8.13 | |
| 101 | +</small></address> | |
| 102 | +</body> | |
| 103 | +</html> | ... | ... |
_a_p_i_cache_8cpp__incl.map
0 → 100644
| 1 | +++ a/_a_p_i_cache_8cpp__incl.map | |
| 1 | +<map id="src/APICache.cpp" name="src/APICache.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_a_p_i_cache_8h.html" title="hueplusplus/APICache.h" alt="" coords="342,80,519,107"/> | |
| 3 | +<area shape="rect" id="node15" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="601,155,796,196"/> | |
| 4 | +<area shape="rect" id="node5" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="178,162,326,189"/> | |
| 5 | +<area shape="rect" id="node8" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="402,244,526,271"/> | |
| 6 | +<area shape="rect" id="node11" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="262,244,378,271"/> | |
| 7 | +</map> | ... | ... |
_a_p_i_cache_8cpp__incl.md5
0 → 100644
_a_p_i_cache_8cpp__incl.png
0 → 100644
49.4 KB
_a_p_i_cache_8h.html
0 → 100644
| 1 | +++ a/_a_p_i_cache_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/APICache.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> | | |
| 69 | +<a href="#var-members">Variables</a> </div> | |
| 70 | + <div class="headertitle"> | |
| 71 | +<div class="title">APICache.h File Reference</div> </div> | |
| 72 | +</div><!--header--> | |
| 73 | +<div class="contents"> | |
| 74 | +<div class="textblock"><code>#include <chrono></code><br /> | |
| 75 | +<code>#include <string></code><br /> | |
| 76 | +<code>#include "<a class="el" href="_hue_command_a_p_i_8h_source.html">HueCommandAPI.h</a>"</code><br /> | |
| 77 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 78 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for APICache.h:</div> | |
| 79 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 80 | +</div> | |
| 81 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 82 | +<div class="center"><img src="_a_p_i_cache_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_a_p_i_cache_8h" alt=""/></div> | |
| 83 | +<map name="include_2hueplusplus_2_a_p_i_cache_8h" id="include_2hueplusplus_2_a_p_i_cache_8h"> | |
| 84 | +<area shape="rect" id="node4" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="339,95,487,121"/> | |
| 85 | +<area shape="rect" id="node7" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="111,169,235,196"/> | |
| 86 | +<area shape="rect" id="node10" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="355,169,471,196"/> | |
| 87 | +</map> | |
| 88 | +</div> | |
| 89 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 90 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 91 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 92 | +</div> | |
| 93 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 94 | +<div class="center"><img src="_a_p_i_cache_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_a_p_i_cache_8hdep" alt=""/></div> | |
| 95 | +<map name="include_2hueplusplus_2_a_p_i_cache_8hdep" id="include_2hueplusplus_2_a_p_i_cache_8hdep"> | |
| 96 | +<area shape="rect" id="node2" href="_base_device_8h.html" title="include/hueplusplus\l/BaseDevice.h" alt="" coords="1708,95,1859,136"/> | |
| 97 | +<area shape="rect" id="node3" href="_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1136,184,1287,225"/> | |
| 98 | +<area shape="rect" id="node5" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="2261,363,2412,404"/> | |
| 99 | +<area shape="rect" id="node33" href="_bridge_config_8h.html" title="include/hueplusplus\l/BridgeConfig.h" alt="" coords="2188,95,2339,136"/> | |
| 100 | +<area shape="rect" id="node35" href="_group_8h.html" title="include/hueplusplus\l/Group.h" alt="" coords="2961,273,3112,315"/> | |
| 101 | +<area shape="rect" id="node37" href="_resource_list_8h.html" title="include/hueplusplus\l/ResourceList.h" alt="" coords="1969,184,2120,225"/> | |
| 102 | +<area shape="rect" id="node38" href="_rule_8h.html" title="include/hueplusplus\l/Rule.h" alt="" coords="2363,95,2513,136"/> | |
| 103 | +<area shape="rect" id="node40" href="_scene_8h.html" title="include/hueplusplus\l/Scene.h" alt="" coords="2537,95,2688,136"/> | |
| 104 | +<area shape="rect" id="node42" href="_schedule_8h.html" title="include/hueplusplus\l/Schedule.h" alt="" coords="2712,95,2863,136"/> | |
| 105 | +<area shape="rect" id="node44" href="_a_p_i_cache_8cpp.html" title="src/APICache.cpp" alt="" coords="3043,102,3177,129"/> | |
| 106 | +<area shape="rect" id="node25" href="_sensor_8h.html" title="include/hueplusplus\l/Sensor.h" alt="" coords="1620,184,1771,225"/> | |
| 107 | +<area shape="rect" id="node32" href="_base_device_8cpp.html" title="src/BaseDevice.cpp" alt="" coords="1795,191,1945,218"/> | |
| 108 | +<area shape="rect" id="node4" href="_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1332,273,1483,315"/> | |
| 109 | +<area shape="rect" id="node14" href="_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1200,363,1412,404"/> | |
| 110 | +<area shape="rect" id="node16" href="_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="932,273,1128,315"/> | |
| 111 | +<area shape="rect" id="node18" href="_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="5,363,273,404"/> | |
| 112 | +<area shape="rect" id="node20" href="_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="323,273,575,315"/> | |
| 113 | +<area shape="rect" id="node22" href="_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="647,273,853,315"/> | |
| 114 | +<area shape="rect" id="node24" href="_light_8cpp.html" title="src/Light.cpp" alt="" coords="1203,281,1307,307"/> | |
| 115 | +<area shape="rect" id="node13" href="_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="660,459,840,486"/> | |
| 116 | +<area shape="rect" id="node6" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="2781,452,2948,493"/> | |
| 117 | +<area shape="rect" id="node8" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="2395,459,2510,486"/> | |
| 118 | +<area shape="rect" id="node9" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="2535,459,2731,486"/> | |
| 119 | +<area shape="rect" id="node10" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="1947,459,2121,486"/> | |
| 120 | +<area shape="rect" id="node11" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="1670,459,1843,486"/> | |
| 121 | +<area shape="rect" id="node12" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="2145,459,2371,486"/> | |
| 122 | +<area shape="rect" id="node7" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="2765,541,2965,568"/> | |
| 123 | +<area shape="rect" id="node15" href="_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1183,459,1429,486"/> | |
| 124 | +<area shape="rect" id="node17" href="_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="945,370,1176,397"/> | |
| 125 | +<area shape="rect" id="node19" href="_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="28,452,251,493"/> | |
| 126 | +<area shape="rect" id="node21" href="_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="297,363,504,404"/> | |
| 127 | +<area shape="rect" id="node23" href="_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="631,370,869,397"/> | |
| 128 | +<area shape="rect" id="node26" href="_sensor_list_8h.html" title="include/hueplusplus\l/SensorList.h" alt="" coords="2097,273,2248,315"/> | |
| 129 | +<area shape="rect" id="node27" href="_c_l_i_p_sensors_8h.html" title="include/hueplusplus\l/CLIPSensors.h" alt="" coords="1507,273,1657,315"/> | |
| 130 | +<area shape="rect" id="node29" href="_z_l_l_sensors_8h.html" title="include/hueplusplus\l/ZLLSensors.h" alt="" coords="1681,273,1832,315"/> | |
| 131 | +<area shape="rect" id="node31" href="_sensor_8cpp.html" title="src/Sensor.cpp" alt="" coords="1907,281,2022,307"/> | |
| 132 | +<area shape="rect" id="node28" href="_c_l_i_p_sensors_8cpp.html" title="src/CLIPSensors.cpp" alt="" coords="1568,370,1719,397"/> | |
| 133 | +<area shape="rect" id="node30" href="_z_l_l_sensors_8cpp.html" title="src/ZLLSensors.cpp" alt="" coords="1794,370,1941,397"/> | |
| 134 | +<area shape="rect" id="node34" href="_bridge_config_8cpp.html" title="src/BridgeConfig.cpp" alt="" coords="2145,191,2299,218"/> | |
| 135 | +<area shape="rect" id="node36" href="_group_8cpp.html" title="src/Group.cpp" alt="" coords="2981,370,3092,397"/> | |
| 136 | +<area shape="rect" id="node39" href="_rule_8cpp.html" title="src/Rule.cpp" alt="" coords="2425,191,2525,218"/> | |
| 137 | +<area shape="rect" id="node41" href="_scene_8cpp.html" title="src/Scene.cpp" alt="" coords="2601,191,2712,218"/> | |
| 138 | +<area shape="rect" id="node43" href="_schedule_8cpp.html" title="src/Schedule.cpp" alt="" coords="2787,191,2918,218"/> | |
| 139 | +</map> | |
| 140 | +</div> | |
| 141 | +</div> | |
| 142 | +<p><a href="_a_p_i_cache_8h_source.html">Go to the source code of this file.</a></p> | |
| 143 | +<table class="memberdecls"> | |
| 144 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 145 | +Classes</h2></td></tr> | |
| 146 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">hueplusplus::APICache</a></td></tr> | |
| 147 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Caches API GET requests and refreshes regularly. <a href="classhueplusplus_1_1_a_p_i_cache.html#details">More...</a><br /></td></tr> | |
| 148 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 149 | +</table><table class="memberdecls"> | |
| 150 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 151 | +Namespaces</h2></td></tr> | |
| 152 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 153 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 154 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 155 | +</table><table class="memberdecls"> | |
| 156 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> | |
| 157 | +Variables</h2></td></tr> | |
| 158 | +<tr class="memitem:add9e010e3277f7763db4006cc9f46b86"><td class="memItemLeft" align="right" valign="top">constexpr std::chrono::steady_clock::duration </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html#add9e010e3277f7763db4006cc9f46b86">hueplusplus::c_refreshNever</a> = std::chrono::steady_clock::duration::max()</td></tr> | |
| 159 | +<tr class="memdesc:add9e010e3277f7763db4006cc9f46b86"><td class="mdescLeft"> </td><td class="mdescRight">Maximum duration, used to indicate that the cache should never be refreshed automatically. <a href="namespacehueplusplus.html#add9e010e3277f7763db4006cc9f46b86">More...</a><br /></td></tr> | |
| 160 | +<tr class="separator:add9e010e3277f7763db4006cc9f46b86"><td class="memSeparator" colspan="2"> </td></tr> | |
| 161 | +</table> | |
| 162 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 163 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 164 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 165 | +Copyright (C) 2020 Moritz Wirger - developer<br /> | |
| 166 | + This file is part of hueplusplus.</p> | |
| 167 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 168 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 169 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 170 | +</div></div><!-- contents --> | |
| 171 | +<!-- start footer part --> | |
| 172 | +<hr class="footer"/><address class="footer"><small> | |
| 173 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 174 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 175 | +</a> 1.8.13 | |
| 176 | +</small></address> | |
| 177 | +</body> | |
| 178 | +</html> | ... | ... |
_a_p_i_cache_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_a_p_i_cache_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/APICache.h" name="include/hueplusplus/APICache.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_base_device_8h.html" title="include/hueplusplus\l/BaseDevice.h" alt="" coords="1708,95,1859,136"/> | |
| 3 | +<area shape="rect" id="node3" href="$_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1136,184,1287,225"/> | |
| 4 | +<area shape="rect" id="node5" href="$_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="2261,363,2412,404"/> | |
| 5 | +<area shape="rect" id="node33" href="$_bridge_config_8h.html" title="include/hueplusplus\l/BridgeConfig.h" alt="" coords="2188,95,2339,136"/> | |
| 6 | +<area shape="rect" id="node35" href="$_group_8h.html" title="include/hueplusplus\l/Group.h" alt="" coords="2961,273,3112,315"/> | |
| 7 | +<area shape="rect" id="node37" href="$_resource_list_8h.html" title="include/hueplusplus\l/ResourceList.h" alt="" coords="1969,184,2120,225"/> | |
| 8 | +<area shape="rect" id="node38" href="$_rule_8h.html" title="include/hueplusplus\l/Rule.h" alt="" coords="2363,95,2513,136"/> | |
| 9 | +<area shape="rect" id="node40" href="$_scene_8h.html" title="include/hueplusplus\l/Scene.h" alt="" coords="2537,95,2688,136"/> | |
| 10 | +<area shape="rect" id="node42" href="$_schedule_8h.html" title="include/hueplusplus\l/Schedule.h" alt="" coords="2712,95,2863,136"/> | |
| 11 | +<area shape="rect" id="node44" href="$_a_p_i_cache_8cpp.html" title="src/APICache.cpp" alt="" coords="3043,102,3177,129"/> | |
| 12 | +<area shape="rect" id="node25" href="$_sensor_8h.html" title="include/hueplusplus\l/Sensor.h" alt="" coords="1620,184,1771,225"/> | |
| 13 | +<area shape="rect" id="node32" href="$_base_device_8cpp.html" title="src/BaseDevice.cpp" alt="" coords="1795,191,1945,218"/> | |
| 14 | +<area shape="rect" id="node4" href="$_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1332,273,1483,315"/> | |
| 15 | +<area shape="rect" id="node14" href="$_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1200,363,1412,404"/> | |
| 16 | +<area shape="rect" id="node16" href="$_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="932,273,1128,315"/> | |
| 17 | +<area shape="rect" id="node18" href="$_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="5,363,273,404"/> | |
| 18 | +<area shape="rect" id="node20" href="$_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="323,273,575,315"/> | |
| 19 | +<area shape="rect" id="node22" href="$_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="647,273,853,315"/> | |
| 20 | +<area shape="rect" id="node24" href="$_light_8cpp.html" title="src/Light.cpp" alt="" coords="1203,281,1307,307"/> | |
| 21 | +<area shape="rect" id="node13" href="$_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="660,459,840,486"/> | |
| 22 | +<area shape="rect" id="node6" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="2781,452,2948,493"/> | |
| 23 | +<area shape="rect" id="node8" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="2395,459,2510,486"/> | |
| 24 | +<area shape="rect" id="node9" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="2535,459,2731,486"/> | |
| 25 | +<area shape="rect" id="node10" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="1947,459,2121,486"/> | |
| 26 | +<area shape="rect" id="node11" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="1670,459,1843,486"/> | |
| 27 | +<area shape="rect" id="node12" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="2145,459,2371,486"/> | |
| 28 | +<area shape="rect" id="node7" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="2765,541,2965,568"/> | |
| 29 | +<area shape="rect" id="node15" href="$_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1183,459,1429,486"/> | |
| 30 | +<area shape="rect" id="node17" href="$_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="945,370,1176,397"/> | |
| 31 | +<area shape="rect" id="node19" href="$_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="28,452,251,493"/> | |
| 32 | +<area shape="rect" id="node21" href="$_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="297,363,504,404"/> | |
| 33 | +<area shape="rect" id="node23" href="$_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="631,370,869,397"/> | |
| 34 | +<area shape="rect" id="node26" href="$_sensor_list_8h.html" title="include/hueplusplus\l/SensorList.h" alt="" coords="2097,273,2248,315"/> | |
| 35 | +<area shape="rect" id="node27" href="$_c_l_i_p_sensors_8h.html" title="include/hueplusplus\l/CLIPSensors.h" alt="" coords="1507,273,1657,315"/> | |
| 36 | +<area shape="rect" id="node29" href="$_z_l_l_sensors_8h.html" title="include/hueplusplus\l/ZLLSensors.h" alt="" coords="1681,273,1832,315"/> | |
| 37 | +<area shape="rect" id="node31" href="$_sensor_8cpp.html" title="src/Sensor.cpp" alt="" coords="1907,281,2022,307"/> | |
| 38 | +<area shape="rect" id="node28" href="$_c_l_i_p_sensors_8cpp.html" title="src/CLIPSensors.cpp" alt="" coords="1568,370,1719,397"/> | |
| 39 | +<area shape="rect" id="node30" href="$_z_l_l_sensors_8cpp.html" title="src/ZLLSensors.cpp" alt="" coords="1794,370,1941,397"/> | |
| 40 | +<area shape="rect" id="node34" href="$_bridge_config_8cpp.html" title="src/BridgeConfig.cpp" alt="" coords="2145,191,2299,218"/> | |
| 41 | +<area shape="rect" id="node36" href="$_group_8cpp.html" title="src/Group.cpp" alt="" coords="2981,370,3092,397"/> | |
| 42 | +<area shape="rect" id="node39" href="$_rule_8cpp.html" title="src/Rule.cpp" alt="" coords="2425,191,2525,218"/> | |
| 43 | +<area shape="rect" id="node41" href="$_scene_8cpp.html" title="src/Scene.cpp" alt="" coords="2601,191,2712,218"/> | |
| 44 | +<area shape="rect" id="node43" href="$_schedule_8cpp.html" title="src/Schedule.cpp" alt="" coords="2787,191,2918,218"/> | |
| 45 | +</map> | ... | ... |
_a_p_i_cache_8h__dep__incl.md5
0 → 100644
_a_p_i_cache_8h__dep__incl.png
0 → 100644
198 KB
_a_p_i_cache_8h__incl.map
0 → 100644
| 1 | +++ a/_a_p_i_cache_8h__incl.map | |
| 1 | +<map id="include/hueplusplus/APICache.h" name="include/hueplusplus/APICache.h"> | |
| 2 | +<area shape="rect" id="node4" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="339,95,487,121"/> | |
| 3 | +<area shape="rect" id="node7" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="111,169,235,196"/> | |
| 4 | +<area shape="rect" id="node10" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="355,169,471,196"/> | |
| 5 | +</map> | ... | ... |
_a_p_i_cache_8h__incl.md5
0 → 100644
_a_p_i_cache_8h__incl.png
0 → 100644
33.3 KB
_a_p_i_cache_8h_source.html
0 → 100644
| 1 | +++ a/_a_p_i_cache_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/APICache.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">APICache.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_a_p_i_cache_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef INCLUDE_API_CACHE_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define INCLUDE_API_CACHE_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <chrono></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_hue_command_a_p_i_8h.html">HueCommandAPI.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacehueplusplus.html#add9e010e3277f7763db4006cc9f46b86"> 34</a></span> constexpr std::chrono::steady_clock::duration <a class="code" href="namespacehueplusplus.html#add9e010e3277f7763db4006cc9f46b86">c_refreshNever</a> = std::chrono::steady_clock::duration::max();</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_a_p_i_cache.html"> 37</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#ab4657a168d72e1f2c344ef1f2f44647c">APICache</a>(</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::shared_ptr<APICache> baseCache, <span class="keyword">const</span> std::string& subEntry, std::chrono::steady_clock::duration <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#a712df81284602eb43afae322f8d43e7b">refresh</a>);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#ab4657a168d72e1f2c344ef1f2f44647c">APICache</a>(<span class="keyword">const</span> std::string& path, <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a>& commands, std::chrono::steady_clock::duration refresh,</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">const</span> nlohmann::json& initial);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#a712df81284602eb43afae322f8d43e7b">refresh</a>();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  nlohmann::json& <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#afeededdbb81e3c668b2b983c3d29ee0d">getValue</a>();</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">const</span> nlohmann::json& <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#afeededdbb81e3c668b2b983c3d29ee0d">getValue</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#a25233da7881b9046555164bcf44b0f85">setRefreshDuration</a>(std::chrono::steady_clock::duration refreshDuration);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  std::chrono::steady_clock::duration <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#a0f924bf1a6341b11f68f020472041548">getRefreshDuration</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a>& <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#afbbe9068d0b6e8e3b600091c51123464">getCommandAPI</a>();</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a>& <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#afbbe9068d0b6e8e3b600091c51123464">getCommandAPI</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::string <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html#ab7bfbec1c32e236c2878a3368f8767cb">getRequestPath</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">bool</span> needsRefresh();</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  std::shared_ptr<APICache> base;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  std::string path;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> commands;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  std::chrono::steady_clock::duration refreshDuration;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  std::chrono::steady_clock::time_point lastRefresh;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  nlohmann::json value;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> };</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1_hue_command_a_p_i_html"><div class="ttname"><a href="classhueplusplus_1_1_hue_command_a_p_i.html">hueplusplus::HueCommandAPI</a></div><div class="ttdef"><b>Definition:</b> HueCommandAPI.h:37</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_afbbe9068d0b6e8e3b600091c51123464"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#afbbe9068d0b6e8e3b600091c51123464">hueplusplus::APICache::getCommandAPI</a></div><div class="ttdeci">HueCommandAPI & getCommandAPI()</div><div class="ttdoc">Get HueCommandAPI used for requests. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:127</div></div> | |
| 72 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 73 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html">hueplusplus::APICache</a></div><div class="ttdoc">Caches API GET requests and refreshes regularly. </div><div class="ttdef"><b>Definition:</b> APICache.h:37</div></div> | |
| 74 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_a712df81284602eb43afae322f8d43e7b"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#a712df81284602eb43afae322f8d43e7b">hueplusplus::APICache::refresh</a></div><div class="ttdeci">void refresh()</div><div class="ttdoc">Refresh cache now. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:47</div></div> | |
| 75 | +<div class="ttc" id="_hue_command_a_p_i_8h_html"><div class="ttname"><a href="_hue_command_a_p_i_8h.html">HueCommandAPI.h</a></div></div> | |
| 76 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_ab4657a168d72e1f2c344ef1f2f44647c"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#ab4657a168d72e1f2c344ef1f2f44647c">hueplusplus::APICache::APICache</a></div><div class="ttdeci">APICache(std::shared_ptr< APICache > baseCache, const std::string &subEntry, std::chrono::steady_clock::duration refresh)</div><div class="ttdoc">Constructs APICache which forwards to a base cache. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:29</div></div> | |
| 77 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_a25233da7881b9046555164bcf44b0f85"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#a25233da7881b9046555164bcf44b0f85">hueplusplus::APICache::setRefreshDuration</a></div><div class="ttdeci">void setRefreshDuration(std::chrono::steady_clock::duration refreshDuration)</div><div class="ttdoc">Set duration after which the cache is refreshed. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:117</div></div> | |
| 78 | +<div class="ttc" id="namespacehueplusplus_html_add9e010e3277f7763db4006cc9f46b86"><div class="ttname"><a href="namespacehueplusplus.html#add9e010e3277f7763db4006cc9f46b86">hueplusplus::c_refreshNever</a></div><div class="ttdeci">constexpr std::chrono::steady_clock::duration c_refreshNever</div><div class="ttdoc">Maximum duration, used to indicate that the cache should never be refreshed automatically. </div><div class="ttdef"><b>Definition:</b> APICache.h:34</div></div> | |
| 79 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_afeededdbb81e3c668b2b983c3d29ee0d"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#afeededdbb81e3c668b2b983c3d29ee0d">hueplusplus::APICache::getValue</a></div><div class="ttdeci">nlohmann::json & getValue()</div><div class="ttdoc">Get cached value, refresh if necessary. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:69</div></div> | |
| 80 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_ab7bfbec1c32e236c2878a3368f8767cb"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#ab7bfbec1c32e236c2878a3368f8767cb">hueplusplus::APICache::getRequestPath</a></div><div class="ttdeci">std::string getRequestPath() const</div><div class="ttdoc">Get path the cache is refreshed from. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:166</div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html_a0f924bf1a6341b11f68f020472041548"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html#a0f924bf1a6341b11f68f020472041548">hueplusplus::APICache::getRefreshDuration</a></div><div class="ttdeci">std::chrono::steady_clock::duration getRefreshDuration() const</div><div class="ttdoc">Get duration between refreshes. </div><div class="ttdef"><b>Definition:</b> APICache.cpp:122</div></div> | |
| 82 | +</div><!-- fragment --></div><!-- contents --> | |
| 83 | +<!-- start footer part --> | |
| 84 | +<hr class="footer"/><address class="footer"><small> | |
| 85 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 86 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 87 | +</a> 1.8.13 | |
| 88 | +</small></address> | |
| 89 | +</body> | |
| 90 | +</html> | ... | ... |
_action_8cpp.html
0 → 100644
| 1 | +++ a/_action_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/Action.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> </div> | |
| 68 | + <div class="headertitle"> | |
| 69 | +<div class="title">Action.cpp File Reference</div> </div> | |
| 70 | +</div><!--header--> | |
| 71 | +<div class="contents"> | |
| 72 | +<div class="textblock"><code>#include <<a class="el" href="_action_8h_source.html">hueplusplus/Action.h</a>></code><br /> | |
| 73 | +<code>#include <<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>></code><br /> | |
| 74 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 75 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for Action.cpp:</div> | |
| 76 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 77 | +</div> | |
| 78 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 79 | +<div class="center"><img src="_action_8cpp__incl.png" border="0" usemap="#src_2_action_8cpp" alt=""/></div> | |
| 80 | +<map name="src_2_action_8cpp" id="src_2_action_8cpp"> | |
| 81 | +<area shape="rect" id="node2" href="_action_8h.html" title="hueplusplus/Action.h" alt="" coords="5,169,163,196"/> | |
| 82 | +<area shape="rect" id="node4" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="144,80,339,121"/> | |
| 83 | +<area shape="rect" id="node5" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="187,169,311,196"/> | |
| 84 | +</map> | |
| 85 | +</div> | |
| 86 | +</div><table class="memberdecls"> | |
| 87 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 88 | +Namespaces</h2></td></tr> | |
| 89 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 90 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 91 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 92 | +</table> | |
| 93 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 94 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 95 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 96 | + This file is part of hueplusplus.</p> | |
| 97 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 98 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 99 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 100 | +</div></div><!-- contents --> | |
| 101 | +<!-- start footer part --> | |
| 102 | +<hr class="footer"/><address class="footer"><small> | |
| 103 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 104 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 105 | +</a> 1.8.13 | |
| 106 | +</small></address> | |
| 107 | +</body> | |
| 108 | +</html> | ... | ... |
_action_8cpp__incl.map
0 → 100644
| 1 | +++ a/_action_8cpp__incl.map | |
| 1 | +<map id="src/Action.cpp" name="src/Action.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_action_8h.html" title="hueplusplus/Action.h" alt="" coords="5,169,163,196"/> | |
| 3 | +<area shape="rect" id="node4" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="144,80,339,121"/> | |
| 4 | +<area shape="rect" id="node5" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="187,169,311,196"/> | |
| 5 | +</map> | ... | ... |
_action_8cpp__incl.md5
0 → 100644
_action_8cpp__incl.png
0 → 100644
14.6 KB
_action_8h.html
0 → 100644
| 1 | +++ a/_action_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/Action.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">Action.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include "json/json.hpp"</code><br /> | |
| 74 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 75 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for Action.h:</div> | |
| 76 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 77 | +</div> | |
| 78 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 79 | +<div class="center"><img src="_action_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_action_8h" alt=""/></div> | |
| 80 | +<map name="include_2hueplusplus_2_action_8h" id="include_2hueplusplus_2_action_8h"> | |
| 81 | +</map> | |
| 82 | +</div> | |
| 83 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 84 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 85 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 86 | +</div> | |
| 87 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 88 | +<div class="center"><img src="_action_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_action_8hdep" alt=""/></div> | |
| 89 | +<map name="include_2hueplusplus_2_action_8hdep" id="include_2hueplusplus_2_action_8hdep"> | |
| 90 | +<area shape="rect" id="node2" href="_group_8h.html" title="include/hueplusplus\l/Group.h" alt="" coords="1461,184,1612,225"/> | |
| 91 | +<area shape="rect" id="node12" href="_state_transaction_8h.html" title="include/hueplusplus\l/StateTransaction.h" alt="" coords="1284,95,1435,136"/> | |
| 92 | +<area shape="rect" id="node28" href="_rule_8h.html" title="include/hueplusplus\l/Rule.h" alt="" coords="1592,95,1743,136"/> | |
| 93 | +<area shape="rect" id="node30" href="_schedule_8h.html" title="include/hueplusplus\l/Schedule.h" alt="" coords="1767,95,1917,136"/> | |
| 94 | +<area shape="rect" id="node32" href="_action_8cpp.html" title="src/Action.cpp" alt="" coords="1941,102,2055,129"/> | |
| 95 | +<area shape="rect" id="node3" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="1699,363,1849,404"/> | |
| 96 | +<area shape="rect" id="node4" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="1361,452,1528,493"/> | |
| 97 | +<area shape="rect" id="node11" href="_group_8cpp.html" title="src/Group.cpp" alt="" coords="1625,281,1736,307"/> | |
| 98 | +<area shape="rect" id="node6" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="2001,459,2115,486"/> | |
| 99 | +<area shape="rect" id="node7" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="2140,459,2336,486"/> | |
| 100 | +<area shape="rect" id="node8" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="2360,459,2535,486"/> | |
| 101 | +<area shape="rect" id="node9" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="1553,459,1726,486"/> | |
| 102 | +<area shape="rect" id="node10" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="1751,459,1976,486"/> | |
| 103 | +<area shape="rect" id="node5" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="1345,541,1545,568"/> | |
| 104 | +<area shape="rect" id="node13" href="_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1116,184,1267,225"/> | |
| 105 | +<area shape="rect" id="node27" href="_state_transaction_8cpp.html" title="src/StateTransaction.cpp" alt="" coords="912,191,1092,218"/> | |
| 106 | +<area shape="rect" id="node14" href="_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1297,273,1448,315"/> | |
| 107 | +<area shape="rect" id="node16" href="_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1199,363,1411,404"/> | |
| 108 | +<area shape="rect" id="node18" href="_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="1025,273,1221,315"/> | |
| 109 | +<area shape="rect" id="node20" href="_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="5,363,273,404"/> | |
| 110 | +<area shape="rect" id="node22" href="_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="393,273,645,315"/> | |
| 111 | +<area shape="rect" id="node24" href="_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="670,273,875,315"/> | |
| 112 | +<area shape="rect" id="node26" href="_light_8cpp.html" title="src/Light.cpp" alt="" coords="265,281,369,307"/> | |
| 113 | +<area shape="rect" id="node15" href="_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="695,459,875,486"/> | |
| 114 | +<area shape="rect" id="node17" href="_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1091,459,1337,486"/> | |
| 115 | +<area shape="rect" id="node19" href="_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="893,370,1124,397"/> | |
| 116 | +<area shape="rect" id="node21" href="_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="28,452,251,493"/> | |
| 117 | +<area shape="rect" id="node23" href="_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="297,363,504,404"/> | |
| 118 | +<area shape="rect" id="node25" href="_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="631,370,869,397"/> | |
| 119 | +<area shape="rect" id="node29" href="_rule_8cpp.html" title="src/Rule.cpp" alt="" coords="1636,191,1736,218"/> | |
| 120 | +<area shape="rect" id="node31" href="_schedule_8cpp.html" title="src/Schedule.cpp" alt="" coords="1862,191,1993,218"/> | |
| 121 | +</map> | |
| 122 | +</div> | |
| 123 | +</div> | |
| 124 | +<p><a href="_action_8h_source.html">Go to the source code of this file.</a></p> | |
| 125 | +<table class="memberdecls"> | |
| 126 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 127 | +Classes</h2></td></tr> | |
| 128 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_action.html">hueplusplus::Action</a></td></tr> | |
| 129 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classhueplusplus_1_1_action.html" title="Action executed by the bridge, e.g. as a Schedule command. ">Action</a> executed by the bridge, e.g. as a <a class="el" href="classhueplusplus_1_1_schedule.html" title="Schedule stored in the bridge. ">Schedule</a> command. <a href="classhueplusplus_1_1_action.html#details">More...</a><br /></td></tr> | |
| 130 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 131 | +</table><table class="memberdecls"> | |
| 132 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 133 | +Namespaces</h2></td></tr> | |
| 134 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 135 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 136 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 137 | +</table> | |
| 138 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 139 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 140 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 141 | + This file is part of hueplusplus.</p> | |
| 142 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 143 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 144 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 145 | +</div></div><!-- contents --> | |
| 146 | +<!-- start footer part --> | |
| 147 | +<hr class="footer"/><address class="footer"><small> | |
| 148 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 149 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 150 | +</a> 1.8.13 | |
| 151 | +</small></address> | |
| 152 | +</body> | |
| 153 | +</html> | ... | ... |
_action_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_action_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/Action.h" name="include/hueplusplus/Action.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_group_8h.html" title="include/hueplusplus\l/Group.h" alt="" coords="1461,184,1612,225"/> | |
| 3 | +<area shape="rect" id="node12" href="$_state_transaction_8h.html" title="include/hueplusplus\l/StateTransaction.h" alt="" coords="1284,95,1435,136"/> | |
| 4 | +<area shape="rect" id="node28" href="$_rule_8h.html" title="include/hueplusplus\l/Rule.h" alt="" coords="1592,95,1743,136"/> | |
| 5 | +<area shape="rect" id="node30" href="$_schedule_8h.html" title="include/hueplusplus\l/Schedule.h" alt="" coords="1767,95,1917,136"/> | |
| 6 | +<area shape="rect" id="node32" href="$_action_8cpp.html" title="src/Action.cpp" alt="" coords="1941,102,2055,129"/> | |
| 7 | +<area shape="rect" id="node3" href="$_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="1699,363,1849,404"/> | |
| 8 | +<area shape="rect" id="node4" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="1361,452,1528,493"/> | |
| 9 | +<area shape="rect" id="node11" href="$_group_8cpp.html" title="src/Group.cpp" alt="" coords="1625,281,1736,307"/> | |
| 10 | +<area shape="rect" id="node6" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="2001,459,2115,486"/> | |
| 11 | +<area shape="rect" id="node7" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="2140,459,2336,486"/> | |
| 12 | +<area shape="rect" id="node8" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="2360,459,2535,486"/> | |
| 13 | +<area shape="rect" id="node9" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="1553,459,1726,486"/> | |
| 14 | +<area shape="rect" id="node10" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="1751,459,1976,486"/> | |
| 15 | +<area shape="rect" id="node5" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="1345,541,1545,568"/> | |
| 16 | +<area shape="rect" id="node13" href="$_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1116,184,1267,225"/> | |
| 17 | +<area shape="rect" id="node27" href="$_state_transaction_8cpp.html" title="src/StateTransaction.cpp" alt="" coords="912,191,1092,218"/> | |
| 18 | +<area shape="rect" id="node14" href="$_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1297,273,1448,315"/> | |
| 19 | +<area shape="rect" id="node16" href="$_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1199,363,1411,404"/> | |
| 20 | +<area shape="rect" id="node18" href="$_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="1025,273,1221,315"/> | |
| 21 | +<area shape="rect" id="node20" href="$_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="5,363,273,404"/> | |
| 22 | +<area shape="rect" id="node22" href="$_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="393,273,645,315"/> | |
| 23 | +<area shape="rect" id="node24" href="$_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="670,273,875,315"/> | |
| 24 | +<area shape="rect" id="node26" href="$_light_8cpp.html" title="src/Light.cpp" alt="" coords="265,281,369,307"/> | |
| 25 | +<area shape="rect" id="node15" href="$_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="695,459,875,486"/> | |
| 26 | +<area shape="rect" id="node17" href="$_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1091,459,1337,486"/> | |
| 27 | +<area shape="rect" id="node19" href="$_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="893,370,1124,397"/> | |
| 28 | +<area shape="rect" id="node21" href="$_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="28,452,251,493"/> | |
| 29 | +<area shape="rect" id="node23" href="$_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="297,363,504,404"/> | |
| 30 | +<area shape="rect" id="node25" href="$_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="631,370,869,397"/> | |
| 31 | +<area shape="rect" id="node29" href="$_rule_8cpp.html" title="src/Rule.cpp" alt="" coords="1636,191,1736,218"/> | |
| 32 | +<area shape="rect" id="node31" href="$_schedule_8cpp.html" title="src/Schedule.cpp" alt="" coords="1862,191,1993,218"/> | |
| 33 | +</map> | ... | ... |
_action_8h__dep__incl.md5
0 → 100644
_action_8h__dep__incl.png
0 → 100644
129 KB
_action_8h__incl.map
0 → 100644
_action_8h__incl.md5
0 → 100644
_action_8h__incl.png
0 → 100644
3.65 KB
_action_8h_source.html
0 → 100644
| 1 | +++ a/_action_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/Action.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">Action.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_action_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_ACTION_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_ACTION_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "json/json.hpp"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacehueplusplus.html"> 27</a></span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_action.html"> 35</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_action.html">Action</a></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1_action.html#a581153171ecf44ce583e088c9bd6f048">Action</a>(<span class="keyword">const</span> nlohmann::json& json);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542"> 43</a></span>  <span class="keyword">enum class</span> <a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542">Method</a></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542a42b90196b487c54069097a68fe98ab6f">post</a>, </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542a8e13ffc9fd9d6a6761231a764bdf106b">put</a>, </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542abd269368d92362975c0ab1bb7b461813">deleteMethod</a> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  };</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  std::string <a class="code" href="classhueplusplus_1_1_action.html#a258c2d4a88d5eed9dc85a2539fbcbd71">getAddress</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542">Method</a> <a class="code" href="classhueplusplus_1_1_action.html#a65f0cf2fb01397e023b1098aae2e8184">getMethod</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">const</span> nlohmann::json& <a class="code" href="classhueplusplus_1_1_action.html#a25e3761540d73055114b68c931353b72">getBody</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">const</span> nlohmann::json& <a class="code" href="classhueplusplus_1_1_action.html#a6de75285262d49b6ffb7edd4051cf6f3">toJson</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">static</span> <a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542">Method</a> <a class="code" href="classhueplusplus_1_1_action.html#a51b50bd1b0b8dd3641a42218abb9f24e">parseMethod</a>(<span class="keyword">const</span> std::string& s);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">static</span> std::string <a class="code" href="classhueplusplus_1_1_action.html#a758c2ebb8875022fffca68c5b6a3c2d5">methodToString</a>(<a class="code" href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542">Method</a> m);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  nlohmann::json json;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> };</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1_action_html_a65f0cf2fb01397e023b1098aae2e8184"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a65f0cf2fb01397e023b1098aae2e8184">hueplusplus::Action::getMethod</a></div><div class="ttdeci">Method getMethod() const</div><div class="ttdoc">Get request method. </div><div class="ttdef"><b>Definition:</b> Action.cpp:35</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1_action_html"><div class="ttname"><a href="classhueplusplus_1_1_action.html">hueplusplus::Action</a></div><div class="ttdoc">Action executed by the bridge, e.g. as a Schedule command. </div><div class="ttdef"><b>Definition:</b> Action.h:35</div></div> | |
| 72 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 73 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a51b50bd1b0b8dd3641a42218abb9f24e"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a51b50bd1b0b8dd3641a42218abb9f24e">hueplusplus::Action::parseMethod</a></div><div class="ttdeci">static Method parseMethod(const std::string &s)</div><div class="ttdoc">Parse Method from string. </div><div class="ttdef"><b>Definition:</b> Action.cpp:50</div></div> | |
| 74 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a6de75285262d49b6ffb7edd4051cf6f3"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a6de75285262d49b6ffb7edd4051cf6f3">hueplusplus::Action::toJson</a></div><div class="ttdeci">const nlohmann::json & toJson() const</div><div class="ttdoc">Get json object of command. </div><div class="ttdef"><b>Definition:</b> Action.cpp:45</div></div> | |
| 75 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a2181208d0b6e26bdb84e594af85b1542abd269368d92362975c0ab1bb7b461813"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542abd269368d92362975c0ab1bb7b461813">hueplusplus::Action::Method::deleteMethod</a></div><div class="ttdoc">DELETE request. </div></div> | |
| 76 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a2181208d0b6e26bdb84e594af85b1542"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542">hueplusplus::Action::Method</a></div><div class="ttdeci">Method</div><div class="ttdoc">Method used for the command. </div><div class="ttdef"><b>Definition:</b> Action.h:43</div></div> | |
| 77 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a2181208d0b6e26bdb84e594af85b1542a8e13ffc9fd9d6a6761231a764bdf106b"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542a8e13ffc9fd9d6a6761231a764bdf106b">hueplusplus::Action::Method::put</a></div><div class="ttdoc">PUT request. </div></div> | |
| 78 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a758c2ebb8875022fffca68c5b6a3c2d5"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a758c2ebb8875022fffca68c5b6a3c2d5">hueplusplus::Action::methodToString</a></div><div class="ttdeci">static std::string methodToString(Method m)</div><div class="ttdoc">Get string from Method. </div><div class="ttdef"><b>Definition:</b> Action.cpp:67</div></div> | |
| 79 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a25e3761540d73055114b68c931353b72"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a25e3761540d73055114b68c931353b72">hueplusplus::Action::getBody</a></div><div class="ttdeci">const nlohmann::json & getBody() const</div><div class="ttdoc">Get request body. </div><div class="ttdef"><b>Definition:</b> Action.cpp:40</div></div> | |
| 80 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a2181208d0b6e26bdb84e594af85b1542a42b90196b487c54069097a68fe98ab6f"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a2181208d0b6e26bdb84e594af85b1542a42b90196b487c54069097a68fe98ab6f">hueplusplus::Action::Method::post</a></div><div class="ttdoc">POST request. </div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a258c2d4a88d5eed9dc85a2539fbcbd71"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a258c2d4a88d5eed9dc85a2539fbcbd71">hueplusplus::Action::getAddress</a></div><div class="ttdeci">std::string getAddress() const</div><div class="ttdoc">Get address the request is made to. </div><div class="ttdef"><b>Definition:</b> Action.cpp:30</div></div> | |
| 82 | +<div class="ttc" id="classhueplusplus_1_1_action_html_a581153171ecf44ce583e088c9bd6f048"><div class="ttname"><a href="classhueplusplus_1_1_action.html#a581153171ecf44ce583e088c9bd6f048">hueplusplus::Action::Action</a></div><div class="ttdeci">Action(const nlohmann::json &json)</div><div class="ttdoc">Create Action from json. </div><div class="ttdef"><b>Definition:</b> Action.cpp:28</div></div> | |
| 83 | +</div><!-- fragment --></div><!-- contents --> | |
| 84 | +<!-- start footer part --> | |
| 85 | +<hr class="footer"/><address class="footer"><small> | |
| 86 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 87 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 88 | +</a> 1.8.13 | |
| 89 | +</small></address> | |
| 90 | +</body> | |
| 91 | +</html> | ... | ... |
_base_device_8cpp.html
0 → 100644
| 1 | +++ a/_base_device_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/BaseDevice.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> </div> | |
| 68 | + <div class="headertitle"> | |
| 69 | +<div class="title">BaseDevice.cpp File Reference</div> </div> | |
| 70 | +</div><!--header--> | |
| 71 | +<div class="contents"> | |
| 72 | +<div class="textblock"><code>#include "<a class="el" href="_base_device_8h_source.html">hueplusplus/BaseDevice.h</a>"</code><br /> | |
| 73 | +<code>#include <cmath></code><br /> | |
| 74 | +<code>#include <iostream></code><br /> | |
| 75 | +<code>#include <thread></code><br /> | |
| 76 | +<code>#include "<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>"</code><br /> | |
| 77 | +<code>#include "<a class="el" href="_utils_8h_source.html">hueplusplus/Utils.h</a>"</code><br /> | |
| 78 | +<code>#include "json/json.hpp"</code><br /> | |
| 79 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 80 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BaseDevice.cpp:</div> | |
| 81 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 82 | +</div> | |
| 83 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 84 | +<div class="center"><img src="_base_device_8cpp__incl.png" border="0" usemap="#src_2_base_device_8cpp" alt=""/></div> | |
| 85 | +<map name="src_2_base_device_8cpp" id="src_2_base_device_8cpp"> | |
| 86 | +<area shape="rect" id="node2" href="_base_device_8h.html" title="hueplusplus/BaseDevice.h" alt="" coords="286,80,479,107"/> | |
| 87 | +<area shape="rect" id="node18" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="593,229,788,271"/> | |
| 88 | +<area shape="rect" id="node19" href="_utils_8h.html" title="hueplusplus/Utils.h" alt="" coords="847,155,993,181"/> | |
| 89 | +<area shape="rect" id="node4" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="315,155,410,181"/> | |
| 90 | +<area shape="rect" id="node7" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="269,237,417,263"/> | |
| 91 | +<area shape="rect" id="node10" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="602,319,726,345"/> | |
| 92 | +<area shape="rect" id="node13" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="181,319,297,345"/> | |
| 93 | +</map> | |
| 94 | +</div> | |
| 95 | +</div><table class="memberdecls"> | |
| 96 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 97 | +Namespaces</h2></td></tr> | |
| 98 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 99 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 100 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 101 | +</table> | |
| 102 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 103 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 104 | +Copyright (C) 2020 Stefan Herbrechtsmeier - developer<br /> | |
| 105 | + This file is part of hueplusplus.</p> | |
| 106 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 107 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 108 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 109 | +</div></div><!-- contents --> | |
| 110 | +<!-- start footer part --> | |
| 111 | +<hr class="footer"/><address class="footer"><small> | |
| 112 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 113 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 114 | +</a> 1.8.13 | |
| 115 | +</small></address> | |
| 116 | +</body> | |
| 117 | +</html> | ... | ... |
_base_device_8cpp__incl.map
0 → 100644
| 1 | +++ a/_base_device_8cpp__incl.map | |
| 1 | +<map id="src/BaseDevice.cpp" name="src/BaseDevice.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_base_device_8h.html" title="hueplusplus/BaseDevice.h" alt="" coords="286,80,479,107"/> | |
| 3 | +<area shape="rect" id="node18" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="593,229,788,271"/> | |
| 4 | +<area shape="rect" id="node19" href="$_utils_8h.html" title="hueplusplus/Utils.h" alt="" coords="847,155,993,181"/> | |
| 5 | +<area shape="rect" id="node4" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="315,155,410,181"/> | |
| 6 | +<area shape="rect" id="node7" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="269,237,417,263"/> | |
| 7 | +<area shape="rect" id="node10" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="602,319,726,345"/> | |
| 8 | +<area shape="rect" id="node13" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="181,319,297,345"/> | |
| 9 | +</map> | ... | ... |
_base_device_8cpp__incl.md5
0 → 100644
_base_device_8cpp__incl.png
0 → 100644
85.4 KB
_base_device_8h.html
0 → 100644
| 1 | +++ a/_base_device_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BaseDevice.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">BaseDevice.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include <memory></code><br /> | |
| 74 | +<code>#include "<a class="el" href="_a_p_i_cache_8h_source.html">APICache.h</a>"</code><br /> | |
| 75 | +<code>#include "json/json.hpp"</code><br /> | |
| 76 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 77 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BaseDevice.h:</div> | |
| 78 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 79 | +</div> | |
| 80 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 81 | +<div class="center"><img src="_base_device_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_base_device_8h" alt=""/></div> | |
| 82 | +<map name="include_2hueplusplus_2_base_device_8h" id="include_2hueplusplus_2_base_device_8h"> | |
| 83 | +<area shape="rect" id="node3" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="323,95,418,121"/> | |
| 84 | +<area shape="rect" id="node6" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="409,169,557,196"/> | |
| 85 | +<area shape="rect" id="node9" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="409,244,533,271"/> | |
| 86 | +<area shape="rect" id="node12" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="217,244,333,271"/> | |
| 87 | +</map> | |
| 88 | +</div> | |
| 89 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 90 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 91 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 92 | +</div> | |
| 93 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 94 | +<div class="center"><img src="_base_device_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_base_device_8hdep" alt=""/></div> | |
| 95 | +<map name="include_2hueplusplus_2_base_device_8hdep" id="include_2hueplusplus_2_base_device_8hdep"> | |
| 96 | +<area shape="rect" id="node2" href="_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1007,95,1157,136"/> | |
| 97 | +<area shape="rect" id="node24" href="_sensor_8h.html" title="include/hueplusplus\l/Sensor.h" alt="" coords="1795,95,1945,136"/> | |
| 98 | +<area shape="rect" id="node31" href="_base_device_8cpp.html" title="src/BaseDevice.cpp" alt="" coords="1970,102,2119,129"/> | |
| 99 | +<area shape="rect" id="node3" href="_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1373,184,1524,225"/> | |
| 100 | +<area shape="rect" id="node4" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="1636,273,1787,315"/> | |
| 101 | +<area shape="rect" id="node13" href="_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1200,273,1412,315"/> | |
| 102 | +<area shape="rect" id="node15" href="_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="984,184,1180,225"/> | |
| 103 | +<area shape="rect" id="node17" href="_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="5,273,273,315"/> | |
| 104 | +<area shape="rect" id="node19" href="_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="312,184,564,225"/> | |
| 105 | +<area shape="rect" id="node21" href="_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="754,184,959,225"/> | |
| 106 | +<area shape="rect" id="node23" href="_light_8cpp.html" title="src/Light.cpp" alt="" coords="626,191,730,218"/> | |
| 107 | +<area shape="rect" id="node12" href="_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="752,370,932,397"/> | |
| 108 | +<area shape="rect" id="node5" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="1476,363,1643,404"/> | |
| 109 | +<area shape="rect" id="node7" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="1667,370,1782,397"/> | |
| 110 | +<area shape="rect" id="node8" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="1807,370,2003,397"/> | |
| 111 | +<area shape="rect" id="node9" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="2027,370,2201,397"/> | |
| 112 | +<area shape="rect" id="node10" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="2226,370,2399,397"/> | |
| 113 | +<area shape="rect" id="node11" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="1227,370,1452,397"/> | |
| 114 | +<area shape="rect" id="node6" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="1459,452,1659,479"/> | |
| 115 | +<area shape="rect" id="node14" href="_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="956,370,1203,397"/> | |
| 116 | +<area shape="rect" id="node16" href="_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="945,281,1176,307"/> | |
| 117 | +<area shape="rect" id="node18" href="_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="28,363,251,404"/> | |
| 118 | +<area shape="rect" id="node20" href="_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="297,273,504,315"/> | |
| 119 | +<area shape="rect" id="node22" href="_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="580,281,819,307"/> | |
| 120 | +<area shape="rect" id="node25" href="_sensor_list_8h.html" title="include/hueplusplus\l/SensorList.h" alt="" coords="1873,184,2024,225"/> | |
| 121 | +<area shape="rect" id="node26" href="_c_l_i_p_sensors_8h.html" title="include/hueplusplus\l/CLIPSensors.h" alt="" coords="2237,184,2388,225"/> | |
| 122 | +<area shape="rect" id="node28" href="_z_l_l_sensors_8h.html" title="include/hueplusplus\l/ZLLSensors.h" alt="" coords="2048,184,2199,225"/> | |
| 123 | +<area shape="rect" id="node30" href="_sensor_8cpp.html" title="src/Sensor.cpp" alt="" coords="1734,191,1849,218"/> | |
| 124 | +<area shape="rect" id="node27" href="_c_l_i_p_sensors_8cpp.html" title="src/CLIPSensors.cpp" alt="" coords="2351,281,2501,307"/> | |
| 125 | +<area shape="rect" id="node29" href="_z_l_l_sensors_8cpp.html" title="src/ZLLSensors.cpp" alt="" coords="2129,281,2275,307"/> | |
| 126 | +</map> | |
| 127 | +</div> | |
| 128 | +</div> | |
| 129 | +<p><a href="_base_device_8h_source.html">Go to the source code of this file.</a></p> | |
| 130 | +<table class="memberdecls"> | |
| 131 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 132 | +Classes</h2></td></tr> | |
| 133 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr> | |
| 134 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base class for physical devices connected to the bridge (sensor or light). <a href="classhueplusplus_1_1_base_device.html#details">More...</a><br /></td></tr> | |
| 135 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 136 | +</table><table class="memberdecls"> | |
| 137 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 138 | +Namespaces</h2></td></tr> | |
| 139 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 140 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 141 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 142 | +</table> | |
| 143 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 144 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 145 | +Copyright (C) 2017 Jan Rogall - developer<br /> | |
| 146 | +Copyright (C) 2017 Moritz Wirger - developer<br /> | |
| 147 | + This file is part of hueplusplus.</p> | |
| 148 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 149 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 150 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 151 | +</div></div><!-- contents --> | |
| 152 | +<!-- start footer part --> | |
| 153 | +<hr class="footer"/><address class="footer"><small> | |
| 154 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 155 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 156 | +</a> 1.8.13 | |
| 157 | +</small></address> | |
| 158 | +</body> | |
| 159 | +</html> | ... | ... |
_base_device_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_base_device_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/BaseDevice.h" name="include/hueplusplus/BaseDevice.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1007,95,1157,136"/> | |
| 3 | +<area shape="rect" id="node24" href="$_sensor_8h.html" title="include/hueplusplus\l/Sensor.h" alt="" coords="1795,95,1945,136"/> | |
| 4 | +<area shape="rect" id="node31" href="$_base_device_8cpp.html" title="src/BaseDevice.cpp" alt="" coords="1970,102,2119,129"/> | |
| 5 | +<area shape="rect" id="node3" href="$_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1373,184,1524,225"/> | |
| 6 | +<area shape="rect" id="node4" href="$_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="1636,273,1787,315"/> | |
| 7 | +<area shape="rect" id="node13" href="$_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1200,273,1412,315"/> | |
| 8 | +<area shape="rect" id="node15" href="$_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="984,184,1180,225"/> | |
| 9 | +<area shape="rect" id="node17" href="$_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="5,273,273,315"/> | |
| 10 | +<area shape="rect" id="node19" href="$_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="312,184,564,225"/> | |
| 11 | +<area shape="rect" id="node21" href="$_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="754,184,959,225"/> | |
| 12 | +<area shape="rect" id="node23" href="$_light_8cpp.html" title="src/Light.cpp" alt="" coords="626,191,730,218"/> | |
| 13 | +<area shape="rect" id="node12" href="$_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="752,370,932,397"/> | |
| 14 | +<area shape="rect" id="node5" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="1476,363,1643,404"/> | |
| 15 | +<area shape="rect" id="node7" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="1667,370,1782,397"/> | |
| 16 | +<area shape="rect" id="node8" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="1807,370,2003,397"/> | |
| 17 | +<area shape="rect" id="node9" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="2027,370,2201,397"/> | |
| 18 | +<area shape="rect" id="node10" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="2226,370,2399,397"/> | |
| 19 | +<area shape="rect" id="node11" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="1227,370,1452,397"/> | |
| 20 | +<area shape="rect" id="node6" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="1459,452,1659,479"/> | |
| 21 | +<area shape="rect" id="node14" href="$_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="956,370,1203,397"/> | |
| 22 | +<area shape="rect" id="node16" href="$_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="945,281,1176,307"/> | |
| 23 | +<area shape="rect" id="node18" href="$_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="28,363,251,404"/> | |
| 24 | +<area shape="rect" id="node20" href="$_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="297,273,504,315"/> | |
| 25 | +<area shape="rect" id="node22" href="$_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="580,281,819,307"/> | |
| 26 | +<area shape="rect" id="node25" href="$_sensor_list_8h.html" title="include/hueplusplus\l/SensorList.h" alt="" coords="1873,184,2024,225"/> | |
| 27 | +<area shape="rect" id="node26" href="$_c_l_i_p_sensors_8h.html" title="include/hueplusplus\l/CLIPSensors.h" alt="" coords="2237,184,2388,225"/> | |
| 28 | +<area shape="rect" id="node28" href="$_z_l_l_sensors_8h.html" title="include/hueplusplus\l/ZLLSensors.h" alt="" coords="2048,184,2199,225"/> | |
| 29 | +<area shape="rect" id="node30" href="$_sensor_8cpp.html" title="src/Sensor.cpp" alt="" coords="1734,191,1849,218"/> | |
| 30 | +<area shape="rect" id="node27" href="$_c_l_i_p_sensors_8cpp.html" title="src/CLIPSensors.cpp" alt="" coords="2351,281,2501,307"/> | |
| 31 | +<area shape="rect" id="node29" href="$_z_l_l_sensors_8cpp.html" title="src/ZLLSensors.cpp" alt="" coords="2129,281,2275,307"/> | |
| 32 | +</map> | ... | ... |
_base_device_8h__dep__incl.md5
0 → 100644
_base_device_8h__dep__incl.png
0 → 100644
131 KB
_base_device_8h__incl.map
0 → 100644
| 1 | +++ a/_base_device_8h__incl.map | |
| 1 | +<map id="include/hueplusplus/BaseDevice.h" name="include/hueplusplus/BaseDevice.h"> | |
| 2 | +<area shape="rect" id="node3" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="323,95,418,121"/> | |
| 3 | +<area shape="rect" id="node6" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="409,169,557,196"/> | |
| 4 | +<area shape="rect" id="node9" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="409,244,533,271"/> | |
| 5 | +<area shape="rect" id="node12" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="217,244,333,271"/> | |
| 6 | +</map> | ... | ... |
_base_device_8h__incl.md5
0 → 100644
_base_device_8h__incl.png
0 → 100644
50.3 KB
_base_device_8h_source.html
0 → 100644
| 1 | +++ a/_base_device_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BaseDevice.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">BaseDevice.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_base_device_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_HUE_THING_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_HUE_THING_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_a_p_i_cache_8h.html">APICache.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "json/json.hpp"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_base_device.html"> 35</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_base_device.html">BaseDevice</a></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">virtual</span> <a class="code" href="classhueplusplus_1_1_base_device.html#ab08c354ca3eef24240f98267df4ae01a">~BaseDevice</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classhueplusplus_1_1_base_device.html#a21122992819e6155867c02578773d0cd">getId</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#a6741ba9ec72108ca0101d41c0b02c568">getType</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">getName</a>();</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">getName</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#aa7572be90ab966033ad8b9c7e83598ce">getModelId</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#a821dc52df6472b2604f56579dac4ac04">getUId</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#ad6e1af663e4f14afc6293aacdd5130c0">getManufacturername</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#a53f675db31058c574fbf55baea8bd556">getProductname</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">getSwVersion</a>();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">getSwVersion</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1_base_device.html#ab7554114eee573ab784c44d53f439028">setName</a>(<span class="keyword">const</span> std::string& name);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_base_device.html#aa6ac28ae3879a41ace1cd6806ca9a2f1">refresh</a>(<span class="keywordtype">bool</span> force = <span class="keyword">false</span>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_base_device.html#a5dd630da2c99842700d555788c0b75b1">setRefreshDuration</a>(std::chrono::steady_clock::duration refreshDuration);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">BaseDevice</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> std::shared_ptr<APICache>& baseCache);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">BaseDevice</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a>& commands, <span class="keyword">const</span> std::string& path,</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  std::chrono::steady_clock::duration refreshDuration, <span class="keyword">const</span> nlohmann::json& currentState);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">virtual</span> nlohmann::json <a class="code" href="classhueplusplus_1_1_base_device.html#ac8089e8f00d426427ed2fc7f6b817082">sendPutRequest</a>(<span class="keyword">const</span> std::string& subPath, <span class="keyword">const</span> nlohmann::json& request, <a class="code" href="structhueplusplus_1_1_file_info.html">FileInfo</a> fileInfo);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf"> 154</a></span>  <span class="keywordtype">int</span> <a class="code" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>; </div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a"> 155</a></span>  <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> <a class="code" href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a">state</a>; </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> };</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1_hue_command_a_p_i_html"><div class="ttname"><a href="classhueplusplus_1_1_hue_command_a_p_i.html">hueplusplus::HueCommandAPI</a></div><div class="ttdef"><b>Definition:</b> HueCommandAPI.h:37</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_aa65a31223cfa2a054c28148c35c8b3cf"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">hueplusplus::BaseDevice::id</a></div><div class="ttdeci">int id</div><div class="ttdoc">holds the id of the device </div><div class="ttdef"><b>Definition:</b> BaseDevice.h:154</div></div> | |
| 72 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a21122992819e6155867c02578773d0cd"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a21122992819e6155867c02578773d0cd">hueplusplus::BaseDevice::getId</a></div><div class="ttdeci">virtual int getId() const</div><div class="ttdoc">Const function that returns the id of this device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:34</div></div> | |
| 73 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 74 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_ad6e1af663e4f14afc6293aacdd5130c0"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#ad6e1af663e4f14afc6293aacdd5130c0">hueplusplus::BaseDevice::getManufacturername</a></div><div class="ttdeci">virtual std::string getManufacturername() const</div><div class="ttdoc">Const function that returns the manufacturername of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:64</div></div> | |
| 75 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html">hueplusplus::APICache</a></div><div class="ttdoc">Caches API GET requests and refreshes regularly. </div><div class="ttdef"><b>Definition:</b> APICache.h:37</div></div> | |
| 76 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a821dc52df6472b2604f56579dac4ac04"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a821dc52df6472b2604f56579dac4ac04">hueplusplus::BaseDevice::getUId</a></div><div class="ttdeci">virtual std::string getUId() const</div><div class="ttdoc">Const function that returns the uniqueid of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:59</div></div> | |
| 77 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></div><div class="ttdoc">Base class for physical devices connected to the bridge (sensor or light). </div><div class="ttdef"><b>Definition:</b> BaseDevice.h:35</div></div> | |
| 78 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a53f675db31058c574fbf55baea8bd556"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a53f675db31058c574fbf55baea8bd556">hueplusplus::BaseDevice::getProductname</a></div><div class="ttdeci">virtual std::string getProductname() const</div><div class="ttdoc">Const function that returns the productname of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:69</div></div> | |
| 79 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a5331ce38f4e6c9def7bafc23112ccd34"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">hueplusplus::BaseDevice::getName</a></div><div class="ttdeci">virtual std::string getName()</div><div class="ttdoc">Function that returns the name of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:44</div></div> | |
| 80 | +<div class="ttc" id="structhueplusplus_1_1_file_info_html"><div class="ttname"><a href="structhueplusplus_1_1_file_info.html">hueplusplus::FileInfo</a></div><div class="ttdoc">Contains information about error location, use CURRENT_FILE_INFO to create. </div><div class="ttdef"><b>Definition:</b> HueException.h:34</div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a526b63fa6eb1c9dc9a7b1926ad0be27a"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a">hueplusplus::BaseDevice::state</a></div><div class="ttdeci">APICache state</div><div class="ttdoc">holds the current state of the device </div><div class="ttdef"><b>Definition:</b> BaseDevice.h:155</div></div> | |
| 82 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a5dd630da2c99842700d555788c0b75b1"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a5dd630da2c99842700d555788c0b75b1">hueplusplus::BaseDevice::setRefreshDuration</a></div><div class="ttdeci">virtual void setRefreshDuration(std::chrono::steady_clock::duration refreshDuration)</div><div class="ttdoc">Sets custom refresh interval for this device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:123</div></div> | |
| 83 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_aebc5484b45b833491385a5381e3234bb"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">hueplusplus::BaseDevice::getSwVersion</a></div><div class="ttdeci">virtual std::string getSwVersion()</div><div class="ttdoc">Function that returns the software version of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:74</div></div> | |
| 84 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a6741ba9ec72108ca0101d41c0b02c568"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a6741ba9ec72108ca0101d41c0b02c568">hueplusplus::BaseDevice::getType</a></div><div class="ttdeci">virtual std::string getType() const</div><div class="ttdoc">Const function that returns the device type. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:39</div></div> | |
| 85 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_ab08c354ca3eef24240f98267df4ae01a"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#ab08c354ca3eef24240f98267df4ae01a">hueplusplus::BaseDevice::~BaseDevice</a></div><div class="ttdeci">virtual ~BaseDevice()=default</div><div class="ttdoc">Virtual destructor. </div></div> | |
| 86 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_aa6ac28ae3879a41ace1cd6806ca9a2f1"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#aa6ac28ae3879a41ace1cd6806ca9a2f1">hueplusplus::BaseDevice::refresh</a></div><div class="ttdeci">virtual void refresh(bool force=false)</div><div class="ttdoc">Refreshes internal cached state. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:111</div></div> | |
| 87 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_aa7572be90ab966033ad8b9c7e83598ce"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#aa7572be90ab966033ad8b9c7e83598ce">hueplusplus::BaseDevice::getModelId</a></div><div class="ttdeci">virtual std::string getModelId() const</div><div class="ttdoc">Const function that returns the modelid of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:54</div></div> | |
| 88 | +<div class="ttc" id="_a_p_i_cache_8h_html"><div class="ttname"><a href="_a_p_i_cache_8h.html">APICache.h</a></div></div> | |
| 89 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_ab7554114eee573ab784c44d53f439028"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#ab7554114eee573ab784c44d53f439028">hueplusplus::BaseDevice::setName</a></div><div class="ttdeci">virtual bool setName(const std::string &name)</div><div class="ttdoc">Function that sets the name of the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:84</div></div> | |
| 90 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_a48bf88e758fd7191c599a46751755c97"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">hueplusplus::BaseDevice::BaseDevice</a></div><div class="ttdeci">BaseDevice(int id, const std::shared_ptr< APICache > &baseCache)</div><div class="ttdoc">Protected ctor that is used by subclasses, construct with shared cache. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:94</div></div> | |
| 91 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html_ac8089e8f00d426427ed2fc7f6b817082"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html#ac8089e8f00d426427ed2fc7f6b817082">hueplusplus::BaseDevice::sendPutRequest</a></div><div class="ttdeci">virtual nlohmann::json sendPutRequest(const std::string &subPath, const nlohmann::json &request, FileInfo fileInfo)</div><div class="ttdoc">Utility function to send a put request to the device. </div><div class="ttdef"><b>Definition:</b> BaseDevice.cpp:106</div></div> | |
| 92 | +</div><!-- fragment --></div><!-- contents --> | |
| 93 | +<!-- start footer part --> | |
| 94 | +<hr class="footer"/><address class="footer"><small> | |
| 95 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 96 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 97 | +</a> 1.8.13 | |
| 98 | +</small></address> | |
| 99 | +</body> | |
| 100 | +</html> | ... | ... |
_base_http_handler_8cpp.html
0 → 100644
| 1 | +++ a/_base_http_handler_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/BaseHttpHandler.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> </div> | |
| 68 | + <div class="headertitle"> | |
| 69 | +<div class="title">BaseHttpHandler.cpp File Reference</div> </div> | |
| 70 | +</div><!--header--> | |
| 71 | +<div class="contents"> | |
| 72 | +<div class="textblock"><code>#include "<a class="el" href="_base_http_handler_8h_source.html">hueplusplus/BaseHttpHandler.h</a>"</code><br /> | |
| 73 | +<code>#include "<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>"</code><br /> | |
| 74 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 75 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BaseHttpHandler.cpp:</div> | |
| 76 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 77 | +</div> | |
| 78 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 79 | +<div class="center"><img src="_base_http_handler_8cpp__incl.png" border="0" usemap="#src_2_base_http_handler_8cpp" alt=""/></div> | |
| 80 | +<map name="src_2_base_http_handler_8cpp" id="src_2_base_http_handler_8cpp"> | |
| 81 | +<area shape="rect" id="node2" href="_base_http_handler_8h.html" title="hueplusplus/BaseHttpHandler.h" alt="" coords="200,87,427,114"/> | |
| 82 | +<area shape="rect" id="node10" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="456,80,651,121"/> | |
| 83 | +<area shape="rect" id="node7" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="255,169,371,196"/> | |
| 84 | +<area shape="rect" id="node11" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="498,169,622,196"/> | |
| 85 | +</map> | |
| 86 | +</div> | |
| 87 | +</div><table class="memberdecls"> | |
| 88 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 89 | +Namespaces</h2></td></tr> | |
| 90 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 91 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 92 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 93 | +</table> | |
| 94 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 95 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 96 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 97 | +Copyright (C) 2020 Moritz Wirger - developer<br /> | |
| 98 | + This file is part of hueplusplus.</p> | |
| 99 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 100 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 101 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 102 | +</div></div><!-- contents --> | |
| 103 | +<!-- start footer part --> | |
| 104 | +<hr class="footer"/><address class="footer"><small> | |
| 105 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 106 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 107 | +</a> 1.8.13 | |
| 108 | +</small></address> | |
| 109 | +</body> | |
| 110 | +</html> | ... | ... |
_base_http_handler_8cpp__incl.map
0 → 100644
| 1 | +++ a/_base_http_handler_8cpp__incl.map | |
| 1 | +<map id="src/BaseHttpHandler.cpp" name="src/BaseHttpHandler.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_base_http_handler_8h.html" title="hueplusplus/BaseHttpHandler.h" alt="" coords="200,87,427,114"/> | |
| 3 | +<area shape="rect" id="node10" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="456,80,651,121"/> | |
| 4 | +<area shape="rect" id="node7" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="255,169,371,196"/> | |
| 5 | +<area shape="rect" id="node11" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="498,169,622,196"/> | |
| 6 | +</map> | ... | ... |
_base_http_handler_8cpp__incl.md5
0 → 100644
_base_http_handler_8cpp__incl.png
0 → 100644
34.5 KB
_base_http_handler_8h.html
0 → 100644
| 1 | +++ a/_base_http_handler_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BaseHttpHandler.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">BaseHttpHandler.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include <iostream></code><br /> | |
| 74 | +<code>#include <memory></code><br /> | |
| 75 | +<code>#include <string></code><br /> | |
| 76 | +<code>#include <vector></code><br /> | |
| 77 | +<code>#include "<a class="el" href="_i_http_handler_8h_source.html">IHttpHandler.h</a>"</code><br /> | |
| 78 | +<code>#include "json/json.hpp"</code><br /> | |
| 79 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 80 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BaseHttpHandler.h:</div> | |
| 81 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 82 | +</div> | |
| 83 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 84 | +<div class="center"><img src="_base_http_handler_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_base_http_handler_8h" alt=""/></div> | |
| 85 | +<map name="include_2hueplusplus_2_base_http_handler_8h" id="include_2hueplusplus_2_base_http_handler_8h"> | |
| 86 | +<area shape="rect" id="node6" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="262,95,378,121"/> | |
| 87 | +</map> | |
| 88 | +</div> | |
| 89 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 90 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 91 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 92 | +</div> | |
| 93 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 94 | +<div class="center"><img src="_base_http_handler_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_base_http_handler_8hdep" alt=""/></div> | |
| 95 | +<map name="include_2hueplusplus_2_base_http_handler_8hdep" id="include_2hueplusplus_2_base_http_handler_8hdep"> | |
| 96 | +<area shape="rect" id="node2" href="_lin_http_handler_8h.html" title="include/hueplusplus\l/LinHttpHandler.h" alt="" coords="529,95,680,136"/> | |
| 97 | +<area shape="rect" id="node8" href="_win_http_handler_8h.html" title="include/hueplusplus\l/WinHttpHandler.h" alt="" coords="891,95,1041,136"/> | |
| 98 | +<area shape="rect" id="node10" href="_base_http_handler_8cpp.html" title="src/BaseHttpHandler.cpp" alt="" coords="1065,102,1248,129"/> | |
| 99 | +<area shape="rect" id="node3" href="_lin_http_handler_8cpp.html" title="src/LinHttpHandler.cpp" alt="" coords="5,184,175,211"/> | |
| 100 | +<area shape="rect" id="node4" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="199,184,395,211"/> | |
| 101 | +<area shape="rect" id="node5" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="419,184,593,211"/> | |
| 102 | +<area shape="rect" id="node6" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="618,184,791,211"/> | |
| 103 | +<area shape="rect" id="node7" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="816,184,1041,211"/> | |
| 104 | +<area shape="rect" id="node9" href="_win_http_handler_8cpp.html" title="src/WinHttpHandler.cpp" alt="" coords="1065,184,1240,211"/> | |
| 105 | +</map> | |
| 106 | +</div> | |
| 107 | +</div> | |
| 108 | +<p><a href="_base_http_handler_8h_source.html">Go to the source code of this file.</a></p> | |
| 109 | +<table class="memberdecls"> | |
| 110 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 111 | +Classes</h2></td></tr> | |
| 112 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_http_handler.html">hueplusplus::BaseHttpHandler</a></td></tr> | |
| 113 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base class for classes that handle http requests and multicast requests. <a href="classhueplusplus_1_1_base_http_handler.html#details">More...</a><br /></td></tr> | |
| 114 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 115 | +</table><table class="memberdecls"> | |
| 116 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 117 | +Namespaces</h2></td></tr> | |
| 118 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 119 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 120 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 121 | +</table> | |
| 122 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 123 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 124 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 125 | +Copyright (C) 2020 Moritz Wirger - developer<br /> | |
| 126 | + This file is part of hueplusplus.</p> | |
| 127 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 128 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 129 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 130 | +</div></div><!-- contents --> | |
| 131 | +<!-- start footer part --> | |
| 132 | +<hr class="footer"/><address class="footer"><small> | |
| 133 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 134 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 135 | +</a> 1.8.13 | |
| 136 | +</small></address> | |
| 137 | +</body> | |
| 138 | +</html> | ... | ... |
_base_http_handler_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_base_http_handler_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/BaseHttpHandler.h" name="include/hueplusplus/BaseHttpHandler.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_lin_http_handler_8h.html" title="include/hueplusplus\l/LinHttpHandler.h" alt="" coords="529,95,680,136"/> | |
| 3 | +<area shape="rect" id="node8" href="$_win_http_handler_8h.html" title="include/hueplusplus\l/WinHttpHandler.h" alt="" coords="891,95,1041,136"/> | |
| 4 | +<area shape="rect" id="node10" href="$_base_http_handler_8cpp.html" title="src/BaseHttpHandler.cpp" alt="" coords="1065,102,1248,129"/> | |
| 5 | +<area shape="rect" id="node3" href="$_lin_http_handler_8cpp.html" title="src/LinHttpHandler.cpp" alt="" coords="5,184,175,211"/> | |
| 6 | +<area shape="rect" id="node4" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="199,184,395,211"/> | |
| 7 | +<area shape="rect" id="node5" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="419,184,593,211"/> | |
| 8 | +<area shape="rect" id="node6" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="618,184,791,211"/> | |
| 9 | +<area shape="rect" id="node7" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="816,184,1041,211"/> | |
| 10 | +<area shape="rect" id="node9" href="$_win_http_handler_8cpp.html" title="src/WinHttpHandler.cpp" alt="" coords="1065,184,1240,211"/> | |
| 11 | +</map> | ... | ... |
_base_http_handler_8h__dep__incl.md5
0 → 100644
_base_http_handler_8h__dep__incl.png
0 → 100644
24 KB
_base_http_handler_8h__incl.map
0 → 100644
_base_http_handler_8h__incl.md5
0 → 100644
_base_http_handler_8h__incl.png
0 → 100644
27.1 KB
_base_http_handler_8h_source.html
0 → 100644
| 1 | +++ a/_base_http_handler_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BaseHttpHandler.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">BaseHttpHandler.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_base_http_handler_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_BASE_HTTP_HANDLER_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_BASE_HTTP_HANDLER_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <iostream></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="_i_http_handler_8h.html">IHttpHandler.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "json/json.hpp"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_base_http_handler.html"> 38</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_base_http_handler.html">BaseHttpHandler</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1_i_http_handler.html">IHttpHandler</a></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a0e1250a1537f7e7f05cab75af4b9c82f">~BaseHttpHandler</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::string <a class="code" href="classhueplusplus_1_1_base_http_handler.html#ad5f51b25770345641c871f6efbc579aa">sendGetHTTPBody</a>(<span class="keyword">const</span> std::string& msg, <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  std::string <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a8a10fabfc57e4c60612bc279fae25050">sendHTTPRequest</a>(<span class="keyword">const</span> std::string& method, <span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> std::string& contentType,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">const</span> std::string& body, <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  std::string <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a601f2e4dfec195a094e30c2f22263cf9">GETString</a>(<span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> std::string& contentType, <span class="keyword">const</span> std::string& body,</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  std::string <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a896da865ceb520bd9797948395fa203d">POSTString</a>(<span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> std::string& contentType, <span class="keyword">const</span> std::string& body,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  std::string <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a72f4a78eea5c4b1c8f23b074ee3648bf">PUTString</a>(<span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> std::string& contentType, <span class="keyword">const</span> std::string& body,</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  std::string <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a139cbb13a19d3f12b8242bbe7e18b850">DELETEString</a>(<span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> std::string& contentType, <span class="keyword">const</span> std::string& body,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  nlohmann::json <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a059678ec7136be20fc5e8ca242929fe9">GETJson</a>(</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> nlohmann::json& body, <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  nlohmann::json <a class="code" href="classhueplusplus_1_1_base_http_handler.html#ad43b42bf599a59fdd89a4195ec891a02">POSTJson</a>(</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> nlohmann::json& body, <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  nlohmann::json <a class="code" href="classhueplusplus_1_1_base_http_handler.html#a602b5ea73d5788e2bb79a654906e5de0">PUTJson</a>(</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> nlohmann::json& body, <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  nlohmann::json <a class="code" href="classhueplusplus_1_1_base_http_handler.html#abf5e5d6c49851f3a10c6b6378b835226">DELETEJson</a>(</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">const</span> std::string& uri, <span class="keyword">const</span> nlohmann::json& body, <span class="keyword">const</span> std::string& adr, <span class="keywordtype">int</span> port = 80) <span class="keyword">const override</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> };</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a139cbb13a19d3f12b8242bbe7e18b850"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a139cbb13a19d3f12b8242bbe7e18b850">hueplusplus::BaseHttpHandler::DELETEString</a></div><div class="ttdeci">std::string DELETEString(const std::string &uri, const std::string &contentType, const std::string &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP DELETE request to the specified host and return the body of the response. </div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:97</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a0e1250a1537f7e7f05cab75af4b9c82f"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a0e1250a1537f7e7f05cab75af4b9c82f">hueplusplus::BaseHttpHandler::~BaseHttpHandler</a></div><div class="ttdeci">virtual ~BaseHttpHandler()=default</div><div class="ttdoc">Virtual dtor. </div></div> | |
| 72 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a896da865ceb520bd9797948395fa203d"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a896da865ceb520bd9797948395fa203d">hueplusplus::BaseHttpHandler::POSTString</a></div><div class="ttdeci">std::string POSTString(const std::string &uri, const std::string &contentType, const std::string &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP POST request to the specified host and return the body of the response. </div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:85</div></div> | |
| 73 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 74 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_ad43b42bf599a59fdd89a4195ec891a02"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#ad43b42bf599a59fdd89a4195ec891a02">hueplusplus::BaseHttpHandler::POSTJson</a></div><div class="ttdeci">nlohmann::json POSTJson(const std::string &uri, const nlohmann::json &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP POST request to the specified host and return the body of the response parsed as JSON...</div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:109</div></div> | |
| 75 | +<div class="ttc" id="classhueplusplus_1_1_i_http_handler_html"><div class="ttname"><a href="classhueplusplus_1_1_i_http_handler.html">hueplusplus::IHttpHandler</a></div><div class="ttdoc">Abstract class for classes that handle http requests and multicast requests. </div><div class="ttdef"><b>Definition:</b> IHttpHandler.h:37</div></div> | |
| 76 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a059678ec7136be20fc5e8ca242929fe9"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a059678ec7136be20fc5e8ca242929fe9">hueplusplus::BaseHttpHandler::GETJson</a></div><div class="ttdeci">nlohmann::json GETJson(const std::string &uri, const nlohmann::json &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP GET request to the specified host and return the body of the response parsed as JSON...</div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:103</div></div> | |
| 77 | +<div class="ttc" id="_i_http_handler_8h_html"><div class="ttname"><a href="_i_http_handler_8h.html">IHttpHandler.h</a></div></div> | |
| 78 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a601f2e4dfec195a094e30c2f22263cf9"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a601f2e4dfec195a094e30c2f22263cf9">hueplusplus::BaseHttpHandler::GETString</a></div><div class="ttdeci">std::string GETString(const std::string &uri, const std::string &contentType, const std::string &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP GET request to the specified host and return the body of the response. </div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:79</div></div> | |
| 79 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a602b5ea73d5788e2bb79a654906e5de0"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a602b5ea73d5788e2bb79a654906e5de0">hueplusplus::BaseHttpHandler::PUTJson</a></div><div class="ttdeci">nlohmann::json PUTJson(const std::string &uri, const nlohmann::json &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP PUT request to the specified host and return the body of the response parsed as JSON...</div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:115</div></div> | |
| 80 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a8a10fabfc57e4c60612bc279fae25050"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a8a10fabfc57e4c60612bc279fae25050">hueplusplus::BaseHttpHandler::sendHTTPRequest</a></div><div class="ttdeci">std::string sendHTTPRequest(const std::string &method, const std::string &uri, const std::string &contentType, const std::string &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP request with the given method to the specified host and return the body of the response...</div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:46</div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_ad5f51b25770345641c871f6efbc579aa"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#ad5f51b25770345641c871f6efbc579aa">hueplusplus::BaseHttpHandler::sendGetHTTPBody</a></div><div class="ttdeci">std::string sendGetHTTPBody(const std::string &msg, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a message to a specified host and return the body of the response. </div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:29</div></div> | |
| 82 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_abf5e5d6c49851f3a10c6b6378b835226"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#abf5e5d6c49851f3a10c6b6378b835226">hueplusplus::BaseHttpHandler::DELETEJson</a></div><div class="ttdeci">nlohmann::json DELETEJson(const std::string &uri, const nlohmann::json &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP DELETE request to the specified host and return the body of the response parsed as JSON...</div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:121</div></div> | |
| 83 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html_a72f4a78eea5c4b1c8f23b074ee3648bf"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html#a72f4a78eea5c4b1c8f23b074ee3648bf">hueplusplus::BaseHttpHandler::PUTString</a></div><div class="ttdeci">std::string PUTString(const std::string &uri, const std::string &contentType, const std::string &body, const std::string &adr, int port=80) const override</div><div class="ttdoc">Send a HTTP PUT request to the specified host and return the body of the response. </div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.cpp:91</div></div> | |
| 84 | +<div class="ttc" id="classhueplusplus_1_1_base_http_handler_html"><div class="ttname"><a href="classhueplusplus_1_1_base_http_handler.html">hueplusplus::BaseHttpHandler</a></div><div class="ttdoc">Base class for classes that handle http requests and multicast requests. </div><div class="ttdef"><b>Definition:</b> BaseHttpHandler.h:38</div></div> | |
| 85 | +</div><!-- fragment --></div><!-- contents --> | |
| 86 | +<!-- start footer part --> | |
| 87 | +<hr class="footer"/><address class="footer"><small> | |
| 88 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 89 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 90 | +</a> 1.8.13 | |
| 91 | +</small></address> | |
| 92 | +</body> | |
| 93 | +</html> | ... | ... |
_bridge_8cpp.html
0 → 100644
| 1 | +++ a/_bridge_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/Bridge.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> </div> | |
| 68 | + <div class="headertitle"> | |
| 69 | +<div class="title">Bridge.cpp File Reference</div> </div> | |
| 70 | +</div><!--header--> | |
| 71 | +<div class="contents"> | |
| 72 | +<div class="textblock"><code>#include "<a class="el" href="_bridge_8h_source.html">hueplusplus/Bridge.h</a>"</code><br /> | |
| 73 | +<code>#include <algorithm></code><br /> | |
| 74 | +<code>#include <cctype></code><br /> | |
| 75 | +<code>#include <chrono></code><br /> | |
| 76 | +<code>#include <cstring></code><br /> | |
| 77 | +<code>#include <iostream></code><br /> | |
| 78 | +<code>#include <locale></code><br /> | |
| 79 | +<code>#include <stdexcept></code><br /> | |
| 80 | +<code>#include <thread></code><br /> | |
| 81 | +<code>#include "<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>"</code><br /> | |
| 82 | +<code>#include "<a class="el" href="_lib_config_8h_source.html">hueplusplus/LibConfig.h</a>"</code><br /> | |
| 83 | +<code>#include "<a class="el" href="_u_pn_p_8h_source.html">hueplusplus/UPnP.h</a>"</code><br /> | |
| 84 | +<code>#include "<a class="el" href="_utils_8h_source.html">hueplusplus/Utils.h</a>"</code><br /> | |
| 85 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 86 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for Bridge.cpp:</div> | |
| 87 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 88 | +</div> | |
| 89 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 90 | +<div class="center"><img src="_bridge_8cpp__incl.png" border="0" usemap="#src_2_bridge_8cpp" alt=""/></div> | |
| 91 | +<map name="src_2_bridge_8cpp" id="src_2_bridge_8cpp"> | |
| 92 | +<area shape="rect" id="node2" href="_bridge_8h.html" title="hueplusplus/Bridge.h" alt="" coords="2082,80,2241,107"/> | |
| 93 | +<area shape="rect" id="node35" href="_utils_8h.html" title="Utils.h" alt="" coords="288,393,352,420"/> | |
| 94 | +<area shape="rect" id="node48" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="5,229,200,271"/> | |
| 95 | +<area shape="rect" id="node49" href="_lib_config_8h.html" title="hueplusplus/LibConfig.h" alt="" coords="3688,155,3864,181"/> | |
| 96 | +<area shape="rect" id="node50" href="_u_pn_p_8h.html" title="hueplusplus/UPnP.h" alt="" coords="2779,468,2927,495"/> | |
| 97 | +<area shape="rect" id="node8" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="2350,393,2445,420"/> | |
| 98 | +<area shape="rect" id="node10" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1758,468,1906,495"/> | |
| 99 | +<area shape="rect" id="node16" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="2711,543,2827,569"/> | |
| 100 | +<area shape="rect" id="node18" href="_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="2581,319,2699,345"/> | |
| 101 | +<area shape="rect" id="node20" href="_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="3305,319,3461,345"/> | |
| 102 | +<area shape="rect" id="node22" href="_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="3109,393,3256,420"/> | |
| 103 | +<area shape="rect" id="node24" href="_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="2925,319,3128,345"/> | |
| 104 | +<area shape="rect" id="node26" href="_group_8h.html" title="Group.h" alt="" coords="1489,319,1562,345"/> | |
| 105 | +<area shape="rect" id="node29" href="_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2766,155,2909,181"/> | |
| 106 | +<area shape="rect" id="node30" href="_light_8h.html" title="Light.h" alt="" coords="2460,237,2527,263"/> | |
| 107 | +<area shape="rect" id="node32" href="_resource_list_8h.html" title="ResourceList.h" alt="" coords="646,319,762,345"/> | |
| 108 | +<area shape="rect" id="node36" href="_rule_8h.html" title="Rule.h" alt="" coords="2089,319,2151,345"/> | |
| 109 | +<area shape="rect" id="node38" href="_scene_8h.html" title="Scene.h" alt="" coords="1875,319,1949,345"/> | |
| 110 | +<area shape="rect" id="node39" href="_schedule_8h.html" title="Schedule.h" alt="" coords="2227,319,2320,345"/> | |
| 111 | +<area shape="rect" id="node40" href="_sensor_8h.html" title="Sensor.h" alt="" coords="2015,237,2092,263"/> | |
| 112 | +<area shape="rect" id="node41" href="_sensor_list_8h.html" title="SensorList.h" alt="" coords="1597,155,1699,181"/> | |
| 113 | +<area shape="rect" id="node13" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="491,543,615,569"/> | |
| 114 | +<area shape="rect" id="node19" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="2363,468,2477,495"/> | |
| 115 | +<area shape="rect" id="node23" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="3054,468,3157,495"/> | |
| 116 | +<area shape="rect" id="node27" href="_action_8h.html" title="Action.h" alt="" coords="977,468,1052,495"/> | |
| 117 | +<area shape="rect" id="node28" href="_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="1505,393,1647,420"/> | |
| 118 | +<area shape="rect" id="node31" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="2345,319,2455,345"/> | |
| 119 | +<area shape="rect" id="node34" href="_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="1096,393,1227,420"/> | |
| 120 | +<area shape="rect" id="node37" href="_condition_8h.html" title="Condition.h" alt="" coords="2077,393,2173,420"/> | |
| 121 | +</map> | |
| 122 | +</div> | |
| 123 | +</div><table class="memberdecls"> | |
| 124 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 125 | +Namespaces</h2></td></tr> | |
| 126 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 127 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 128 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 129 | +</table> | |
| 130 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 131 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 132 | +Copyright (C) 2017 Jan Rogall - developer<br /> | |
| 133 | +Copyright (C) 2017 Moritz Wirger - developer<br /> | |
| 134 | + This file is part of hueplusplus.</p> | |
| 135 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 136 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 137 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 138 | +</div></div><!-- contents --> | |
| 139 | +<!-- start footer part --> | |
| 140 | +<hr class="footer"/><address class="footer"><small> | |
| 141 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 142 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 143 | +</a> 1.8.13 | |
| 144 | +</small></address> | |
| 145 | +</body> | |
| 146 | +</html> | ... | ... |
_bridge_8cpp__incl.map
0 → 100644
| 1 | +++ a/_bridge_8cpp__incl.map | |
| 1 | +<map id="src/Bridge.cpp" name="src/Bridge.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_bridge_8h.html" title="hueplusplus/Bridge.h" alt="" coords="2082,80,2241,107"/> | |
| 3 | +<area shape="rect" id="node35" href="$_utils_8h.html" title="Utils.h" alt="" coords="288,393,352,420"/> | |
| 4 | +<area shape="rect" id="node48" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="5,229,200,271"/> | |
| 5 | +<area shape="rect" id="node49" href="$_lib_config_8h.html" title="hueplusplus/LibConfig.h" alt="" coords="3688,155,3864,181"/> | |
| 6 | +<area shape="rect" id="node50" href="$_u_pn_p_8h.html" title="hueplusplus/UPnP.h" alt="" coords="2779,468,2927,495"/> | |
| 7 | +<area shape="rect" id="node8" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="2350,393,2445,420"/> | |
| 8 | +<area shape="rect" id="node10" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1758,468,1906,495"/> | |
| 9 | +<area shape="rect" id="node16" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="2711,543,2827,569"/> | |
| 10 | +<area shape="rect" id="node18" href="$_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="2581,319,2699,345"/> | |
| 11 | +<area shape="rect" id="node20" href="$_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="3305,319,3461,345"/> | |
| 12 | +<area shape="rect" id="node22" href="$_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="3109,393,3256,420"/> | |
| 13 | +<area shape="rect" id="node24" href="$_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="2925,319,3128,345"/> | |
| 14 | +<area shape="rect" id="node26" href="$_group_8h.html" title="Group.h" alt="" coords="1489,319,1562,345"/> | |
| 15 | +<area shape="rect" id="node29" href="$_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2766,155,2909,181"/> | |
| 16 | +<area shape="rect" id="node30" href="$_light_8h.html" title="Light.h" alt="" coords="2460,237,2527,263"/> | |
| 17 | +<area shape="rect" id="node32" href="$_resource_list_8h.html" title="ResourceList.h" alt="" coords="646,319,762,345"/> | |
| 18 | +<area shape="rect" id="node36" href="$_rule_8h.html" title="Rule.h" alt="" coords="2089,319,2151,345"/> | |
| 19 | +<area shape="rect" id="node38" href="$_scene_8h.html" title="Scene.h" alt="" coords="1875,319,1949,345"/> | |
| 20 | +<area shape="rect" id="node39" href="$_schedule_8h.html" title="Schedule.h" alt="" coords="2227,319,2320,345"/> | |
| 21 | +<area shape="rect" id="node40" href="$_sensor_8h.html" title="Sensor.h" alt="" coords="2015,237,2092,263"/> | |
| 22 | +<area shape="rect" id="node41" href="$_sensor_list_8h.html" title="SensorList.h" alt="" coords="1597,155,1699,181"/> | |
| 23 | +<area shape="rect" id="node13" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="491,543,615,569"/> | |
| 24 | +<area shape="rect" id="node19" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="2363,468,2477,495"/> | |
| 25 | +<area shape="rect" id="node23" href="$_color_units_8h.html" title="ColorUnits.h" alt="" coords="3054,468,3157,495"/> | |
| 26 | +<area shape="rect" id="node27" href="$_action_8h.html" title="Action.h" alt="" coords="977,468,1052,495"/> | |
| 27 | +<area shape="rect" id="node28" href="$_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="1505,393,1647,420"/> | |
| 28 | +<area shape="rect" id="node31" href="$_base_device_8h.html" title="BaseDevice.h" alt="" coords="2345,319,2455,345"/> | |
| 29 | +<area shape="rect" id="node34" href="$_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="1096,393,1227,420"/> | |
| 30 | +<area shape="rect" id="node37" href="$_condition_8h.html" title="Condition.h" alt="" coords="2077,393,2173,420"/> | |
| 31 | +</map> | ... | ... |
_bridge_8cpp__incl.md5
0 → 100644
_bridge_8cpp__incl.png
0 → 100644
631 KB
_bridge_8h.html
0 → 100644
| 1 | +++ a/_bridge_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/Bridge.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">Bridge.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include <map></code><br /> | |
| 74 | +<code>#include <memory></code><br /> | |
| 75 | +<code>#include <string></code><br /> | |
| 76 | +<code>#include <utility></code><br /> | |
| 77 | +<code>#include <vector></code><br /> | |
| 78 | +<code>#include "<a class="el" href="_a_p_i_cache_8h_source.html">APICache.h</a>"</code><br /> | |
| 79 | +<code>#include "<a class="el" href="_bridge_config_8h_source.html">BridgeConfig.h</a>"</code><br /> | |
| 80 | +<code>#include "<a class="el" href="_brightness_strategy_8h_source.html">BrightnessStrategy.h</a>"</code><br /> | |
| 81 | +<code>#include "<a class="el" href="_color_hue_strategy_8h_source.html">ColorHueStrategy.h</a>"</code><br /> | |
| 82 | +<code>#include "<a class="el" href="_color_temperature_strategy_8h_source.html">ColorTemperatureStrategy.h</a>"</code><br /> | |
| 83 | +<code>#include "<a class="el" href="_group_8h_source.html">Group.h</a>"</code><br /> | |
| 84 | +<code>#include "<a class="el" href="_hue_command_a_p_i_8h_source.html">HueCommandAPI.h</a>"</code><br /> | |
| 85 | +<code>#include "<a class="el" href="_hue_device_types_8h_source.html">HueDeviceTypes.h</a>"</code><br /> | |
| 86 | +<code>#include "<a class="el" href="_i_http_handler_8h_source.html">IHttpHandler.h</a>"</code><br /> | |
| 87 | +<code>#include "<a class="el" href="_light_8h_source.html">Light.h</a>"</code><br /> | |
| 88 | +<code>#include "<a class="el" href="_resource_list_8h_source.html">ResourceList.h</a>"</code><br /> | |
| 89 | +<code>#include "<a class="el" href="_rule_8h_source.html">Rule.h</a>"</code><br /> | |
| 90 | +<code>#include "<a class="el" href="_scene_8h_source.html">Scene.h</a>"</code><br /> | |
| 91 | +<code>#include "<a class="el" href="_schedule_8h_source.html">Schedule.h</a>"</code><br /> | |
| 92 | +<code>#include "<a class="el" href="_sensor_8h_source.html">Sensor.h</a>"</code><br /> | |
| 93 | +<code>#include "<a class="el" href="_sensor_list_8h_source.html">SensorList.h</a>"</code><br /> | |
| 94 | +<code>#include "<a class="el" href="_utils_8h_source.html">Utils.h</a>"</code><br /> | |
| 95 | +<code>#include "json/json.hpp"</code><br /> | |
| 96 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 97 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for Bridge.h:</div> | |
| 98 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 99 | +</div> | |
| 100 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 101 | +<div class="center"><img src="_bridge_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_bridge_8h" alt=""/></div> | |
| 102 | +<map name="include_2hueplusplus_2_bridge_8h" id="include_2hueplusplus_2_bridge_8h"> | |
| 103 | +<area shape="rect" id="node7" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="1494,319,1589,345"/> | |
| 104 | +<area shape="rect" id="node9" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1669,393,1817,420"/> | |
| 105 | +<area shape="rect" id="node15" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="1569,468,1685,495"/> | |
| 106 | +<area shape="rect" id="node17" href="_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="347,244,464,271"/> | |
| 107 | +<area shape="rect" id="node20" href="_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="2873,244,3029,271"/> | |
| 108 | +<area shape="rect" id="node22" href="_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="3029,319,3176,345"/> | |
| 109 | +<area shape="rect" id="node24" href="_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="3053,244,3256,271"/> | |
| 110 | +<area shape="rect" id="node26" href="_group_8h.html" title="Group.h" alt="" coords="1906,244,1979,271"/> | |
| 111 | +<area shape="rect" id="node29" href="_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2359,95,2502,121"/> | |
| 112 | +<area shape="rect" id="node30" href="_light_8h.html" title="Light.h" alt="" coords="2548,169,2615,196"/> | |
| 113 | +<area shape="rect" id="node32" href="_resource_list_8h.html" title="ResourceList.h" alt="" coords="774,244,890,271"/> | |
| 114 | +<area shape="rect" id="node35" href="_utils_8h.html" title="Utils.h" alt="" coords="2339,319,2403,345"/> | |
| 115 | +<area shape="rect" id="node36" href="_rule_8h.html" title="Rule.h" alt="" coords="1307,244,1370,271"/> | |
| 116 | +<area shape="rect" id="node38" href="_scene_8h.html" title="Scene.h" alt="" coords="969,244,1042,271"/> | |
| 117 | +<area shape="rect" id="node39" href="_schedule_8h.html" title="Schedule.h" alt="" coords="1395,244,1488,271"/> | |
| 118 | +<area shape="rect" id="node40" href="_sensor_8h.html" title="Sensor.h" alt="" coords="1803,169,1880,196"/> | |
| 119 | +<area shape="rect" id="node41" href="_sensor_list_8h.html" title="SensorList.h" alt="" coords="1759,95,1860,121"/> | |
| 120 | +<area shape="rect" id="node12" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="1318,468,1442,495"/> | |
| 121 | +<area shape="rect" id="node18" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="1019,393,1133,420"/> | |
| 122 | +<area shape="rect" id="node23" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="2542,393,2645,420"/> | |
| 123 | +<area shape="rect" id="node27" href="_action_8h.html" title="Action.h" alt="" coords="1841,393,1916,420"/> | |
| 124 | +<area shape="rect" id="node28" href="_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="2070,319,2213,345"/> | |
| 125 | +<area shape="rect" id="node31" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="2382,244,2493,271"/> | |
| 126 | +<area shape="rect" id="node34" href="_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="763,319,893,345"/> | |
| 127 | +<area shape="rect" id="node37" href="_condition_8h.html" title="Condition.h" alt="" coords="1221,319,1317,345"/> | |
| 128 | +</map> | |
| 129 | +</div> | |
| 130 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 131 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 132 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 133 | +</div> | |
| 134 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 135 | +<div class="center"><img src="_bridge_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_bridge_8hdep" alt=""/></div> | |
| 136 | +<map name="include_2hueplusplus_2_bridge_8hdep" id="include_2hueplusplus_2_bridge_8hdep"> | |
| 137 | +<area shape="rect" id="node2" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="22,95,189,136"/> | |
| 138 | +<area shape="rect" id="node4" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="213,102,328,129"/> | |
| 139 | +<area shape="rect" id="node5" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="353,102,549,129"/> | |
| 140 | +<area shape="rect" id="node6" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="573,102,747,129"/> | |
| 141 | +<area shape="rect" id="node7" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="772,102,945,129"/> | |
| 142 | +<area shape="rect" id="node8" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="970,102,1195,129"/> | |
| 143 | +<area shape="rect" id="node3" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="5,184,205,211"/> | |
| 144 | +</map> | |
| 145 | +</div> | |
| 146 | +</div> | |
| 147 | +<p><a href="_bridge_8h_source.html">Go to the source code of this file.</a></p> | |
| 148 | +<table class="memberdecls"> | |
| 149 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 150 | +Classes</h2></td></tr> | |
| 151 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_bridge_finder.html">hueplusplus::BridgeFinder</a></td></tr> | |
| 152 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 153 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html">hueplusplus::BridgeFinder::BridgeIdentification</a></td></tr> | |
| 154 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 155 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_bridge.html">hueplusplus::Bridge</a></td></tr> | |
| 156 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classhueplusplus_1_1_bridge.html" title="Bridge class for a bridge. ">Bridge</a> class for a bridge. <a href="classhueplusplus_1_1_bridge.html#details">More...</a><br /></td></tr> | |
| 157 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 158 | +</table><table class="memberdecls"> | |
| 159 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 160 | +Namespaces</h2></td></tr> | |
| 161 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 162 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 163 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 164 | +</table> | |
| 165 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 166 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 167 | +Copyright (C) 2017 Jan Rogall - developer<br /> | |
| 168 | +Copyright (C) 2017 Moritz Wirger - developer<br /> | |
| 169 | + This file is part of hueplusplus.</p> | |
| 170 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 171 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 172 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 173 | +</div></div><!-- contents --> | |
| 174 | +<!-- start footer part --> | |
| 175 | +<hr class="footer"/><address class="footer"><small> | |
| 176 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 177 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 178 | +</a> 1.8.13 | |
| 179 | +</small></address> | |
| 180 | +</body> | |
| 181 | +</html> | ... | ... |
_bridge_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_bridge_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/Bridge.h" name="include/hueplusplus/Bridge.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="22,95,189,136"/> | |
| 3 | +<area shape="rect" id="node4" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="213,102,328,129"/> | |
| 4 | +<area shape="rect" id="node5" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="353,102,549,129"/> | |
| 5 | +<area shape="rect" id="node6" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="573,102,747,129"/> | |
| 6 | +<area shape="rect" id="node7" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="772,102,945,129"/> | |
| 7 | +<area shape="rect" id="node8" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="970,102,1195,129"/> | |
| 8 | +<area shape="rect" id="node3" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="5,184,205,211"/> | |
| 9 | +</map> | ... | ... |
_bridge_8h__dep__incl.md5
0 → 100644
_bridge_8h__dep__incl.png
0 → 100644
23.9 KB
_bridge_8h__incl.map
0 → 100644
| 1 | +++ a/_bridge_8h__incl.map | |
| 1 | +<map id="include/hueplusplus/Bridge.h" name="include/hueplusplus/Bridge.h"> | |
| 2 | +<area shape="rect" id="node7" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="1494,319,1589,345"/> | |
| 3 | +<area shape="rect" id="node9" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1669,393,1817,420"/> | |
| 4 | +<area shape="rect" id="node15" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="1569,468,1685,495"/> | |
| 5 | +<area shape="rect" id="node17" href="$_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="347,244,464,271"/> | |
| 6 | +<area shape="rect" id="node20" href="$_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="2873,244,3029,271"/> | |
| 7 | +<area shape="rect" id="node22" href="$_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="3029,319,3176,345"/> | |
| 8 | +<area shape="rect" id="node24" href="$_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="3053,244,3256,271"/> | |
| 9 | +<area shape="rect" id="node26" href="$_group_8h.html" title="Group.h" alt="" coords="1906,244,1979,271"/> | |
| 10 | +<area shape="rect" id="node29" href="$_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2359,95,2502,121"/> | |
| 11 | +<area shape="rect" id="node30" href="$_light_8h.html" title="Light.h" alt="" coords="2548,169,2615,196"/> | |
| 12 | +<area shape="rect" id="node32" href="$_resource_list_8h.html" title="ResourceList.h" alt="" coords="774,244,890,271"/> | |
| 13 | +<area shape="rect" id="node35" href="$_utils_8h.html" title="Utils.h" alt="" coords="2339,319,2403,345"/> | |
| 14 | +<area shape="rect" id="node36" href="$_rule_8h.html" title="Rule.h" alt="" coords="1307,244,1370,271"/> | |
| 15 | +<area shape="rect" id="node38" href="$_scene_8h.html" title="Scene.h" alt="" coords="969,244,1042,271"/> | |
| 16 | +<area shape="rect" id="node39" href="$_schedule_8h.html" title="Schedule.h" alt="" coords="1395,244,1488,271"/> | |
| 17 | +<area shape="rect" id="node40" href="$_sensor_8h.html" title="Sensor.h" alt="" coords="1803,169,1880,196"/> | |
| 18 | +<area shape="rect" id="node41" href="$_sensor_list_8h.html" title="SensorList.h" alt="" coords="1759,95,1860,121"/> | |
| 19 | +<area shape="rect" id="node12" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="1318,468,1442,495"/> | |
| 20 | +<area shape="rect" id="node18" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="1019,393,1133,420"/> | |
| 21 | +<area shape="rect" id="node23" href="$_color_units_8h.html" title="ColorUnits.h" alt="" coords="2542,393,2645,420"/> | |
| 22 | +<area shape="rect" id="node27" href="$_action_8h.html" title="Action.h" alt="" coords="1841,393,1916,420"/> | |
| 23 | +<area shape="rect" id="node28" href="$_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="2070,319,2213,345"/> | |
| 24 | +<area shape="rect" id="node31" href="$_base_device_8h.html" title="BaseDevice.h" alt="" coords="2382,244,2493,271"/> | |
| 25 | +<area shape="rect" id="node34" href="$_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="763,319,893,345"/> | |
| 26 | +<area shape="rect" id="node37" href="$_condition_8h.html" title="Condition.h" alt="" coords="1221,319,1317,345"/> | |
| 27 | +</map> | ... | ... |
_bridge_8h__incl.md5
0 → 100644
_bridge_8h__incl.png
0 → 100644
514 KB
_bridge_8h_source.html
0 → 100644
| 1 | +++ a/_bridge_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/Bridge.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">Bridge.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_bridge_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_HUE_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_HUE_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <map></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <utility></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_a_p_i_cache_8h.html">APICache.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="_bridge_config_8h.html">BridgeConfig.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="_brightness_strategy_8h.html">BrightnessStrategy.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="_color_hue_strategy_8h.html">ColorHueStrategy.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="_color_temperature_strategy_8h.html">ColorTemperatureStrategy.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="_group_8h.html">Group.h</a>"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="_hue_command_a_p_i_8h.html">HueCommandAPI.h</a>"</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include "<a class="code" href="_hue_device_types_8h.html">HueDeviceTypes.h</a>"</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="_i_http_handler_8h.html">IHttpHandler.h</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include "<a class="code" href="_light_8h.html">Light.h</a>"</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="_resource_list_8h.html">ResourceList.h</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "<a class="code" href="_rule_8h.html">Rule.h</a>"</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include "<a class="code" href="_scene_8h.html">Scene.h</a>"</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="_schedule_8h.html">Schedule.h</a>"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include "<a class="code" href="_sensor_8h.html">Sensor.h</a>"</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#include "<a class="code" href="_sensor_list_8h.html">SensorList.h</a>"</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#include "<a class="code" href="_utils_8h.html">Utils.h</a>"</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#include "json/json.hpp"</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">// forward declarations</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">class </span>Bridge;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge_finder.html"> 61</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_bridge_finder.html">BridgeFinder</a></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html"> 64</a></span>  <span class="keyword">struct </span><a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html">BridgeIdentification</a></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  {</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a52444a7f3d1c1882e49f9fc745b0c853"> 66</a></span>  std::string <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a52444a7f3d1c1882e49f9fc745b0c853">ip</a>;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#aa23f74fb38e93b3a8fa863caf1842206"> 67</a></span>  <span class="keywordtype">int</span> <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#aa23f74fb38e93b3a8fa863caf1842206">port</a> = 80;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a5ed94c4ff4ef2883941517fd2f3de7eb"> 68</a></span>  std::string <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a5ed94c4ff4ef2883941517fd2f3de7eb">mac</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  };</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classhueplusplus_1_1_bridge_finder.html#a84d4cd53894f7a1e9bde97998e59f274">BridgeFinder</a>(std::shared_ptr<const IHttpHandler> handler);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  std::vector<BridgeIdentification> <a class="code" href="classhueplusplus_1_1_bridge_finder.html#a86cce17f26187a97547a44fab8c920a1">findBridges</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="classhueplusplus_1_1_bridge.html">Bridge</a> <a class="code" href="classhueplusplus_1_1_bridge_finder.html#a9ff121c380ceaceaf5da2b7a772e5c4b">getBridge</a>(<span class="keyword">const</span> <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html">BridgeIdentification</a>& identification, <span class="keywordtype">bool</span> sharedState = <span class="keyword">false</span>);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_bridge_finder.html#ab1fec93e45160886b712a52e3ac6d073">addUsername</a>(<span class="keyword">const</span> std::string& <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a5ed94c4ff4ef2883941517fd2f3de7eb">mac</a>, <span class="keyword">const</span> std::string& <a class="code" href="_bridge_setup_8cpp.html#adc05afa9d9bfcc39217447497e598792">username</a>);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_bridge_finder.html#ac5f7abe7bc156b73732d8c59db3c9641">addClientKey</a>(<span class="keyword">const</span> std::string& <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a5ed94c4ff4ef2883941517fd2f3de7eb">mac</a>, <span class="keyword">const</span> std::string& clientkey);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">const</span> std::map<std::string, std::string>& <a class="code" href="classhueplusplus_1_1_bridge_finder.html#abb2235e0866f51c3e81740f14de7b5aa">getAllUsernames</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">static</span> std::string <a class="code" href="classhueplusplus_1_1_bridge_finder.html#ad9b05c8c5fb48ebe78675c95688ddfef">normalizeMac</a>(std::string input);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">static</span> std::string parseDescription(<span class="keyword">const</span> std::string& description);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  std::map<std::string, std::string> usernames; </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  std::map<std::string, std::string> clientkeys; </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::shared_ptr<const IHttpHandler> http_handler;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> };</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html"> 138</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_bridge.html">Bridge</a></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> {</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html#a1ffb423a79da8deb2ef13bb2c89b6d78"> 140</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_bridge_finder.html">BridgeFinder</a>;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html#a290adc7b7b4eec346d8ddf4035d9a97b"> 143</a></span>  <span class="keyword">using</span> <a class="code" href="classhueplusplus_1_1_searchable_resource_list.html">LightList</a> = <a class="code" href="classhueplusplus_1_1_searchable_resource_list.html">SearchableResourceList<Light></a>;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html#a623c4d205571df7fcefcba1367e53128"> 144</a></span>  <span class="keyword">using</span> <a class="code" href="classhueplusplus_1_1_group_resource_list.html">GroupList</a> = <a class="code" href="classhueplusplus_1_1_group_resource_list.html">GroupResourceList<Group, CreateGroup></a>;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html#a14eafa2b131997ff70aedec2d160a14a"> 145</a></span>  <span class="keyword">using</span> <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">ScheduleList</a> = <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">CreateableResourceList<ResourceList<Schedule, int></a>, <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>>;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html#a58df1b54c19725c1a094c7e1fa6623b7"> 146</a></span>  <span class="keyword">using</span> <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">SceneList</a> = <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">CreateableResourceList<ResourceList<Scene, std::string></a>, <a class="code" href="classhueplusplus_1_1_create_scene.html">CreateScene</a>>;</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge.html#a5f15819509a9e012a03b2a629eebf74b"> 147</a></span>  <span class="keyword">using</span> <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">RuleList</a> = <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">CreateableResourceList<ResourceList<Rule, int></a>, <a class="code" href="classhueplusplus_1_1_create_rule.html">CreateRule</a>>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="classhueplusplus_1_1_bridge.html">Bridge</a>(<span class="keyword">const</span> std::string& <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a52444a7f3d1c1882e49f9fc745b0c853">ip</a>, <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#aa23f74fb38e93b3a8fa863caf1842206">port</a>, <span class="keyword">const</span> std::string& <a class="code" href="_bridge_setup_8cpp.html#adc05afa9d9bfcc39217447497e598792">username</a>,</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  std::shared_ptr<const IHttpHandler> handler, <span class="keyword">const</span> std::string& clientkey = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  std::chrono::steady_clock::duration refreshDuration = std::chrono::seconds(10), <span class="keywordtype">bool</span> sharedState = <span class="keyword">false</span>);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> refresh();</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> setRefreshDuration(std::chrono::steady_clock::duration refreshDuration);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  std::string getBridgeIP() <span class="keyword">const</span>;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">bool</span> startStreaming(std::string group_identifier);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">bool</span> stopStreaming(std::string group_identifier);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordtype">int</span> getBridgePort() <span class="keyword">const</span>;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  std::string requestUsername();</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  std::string getUsername() <span class="keyword">const</span>;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  std::string getClientKey() <span class="keyword">const</span>;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">void</span> setIP(<span class="keyword">const</span> std::string& ip);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordtype">void</span> setPort(<span class="keyword">const</span> <span class="keywordtype">int</span> port);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>& config();</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>& config() <span class="keyword">const</span>;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="classhueplusplus_1_1_searchable_resource_list.html">LightList</a>& lights();</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_searchable_resource_list.html">LightList</a>& lights() <span class="keyword">const</span>;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="classhueplusplus_1_1_group_resource_list.html">GroupList</a>& groups();</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_group_resource_list.html">GroupList</a>& groups() <span class="keyword">const</span>;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">ScheduleList</a>& schedules();</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">ScheduleList</a>& schedules() <span class="keyword">const</span>;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">SceneList</a>& scenes();</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">SceneList</a>& scenes() <span class="keyword">const</span>;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="classhueplusplus_1_1_sensor_list.html">SensorList</a>& sensors();</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_sensor_list.html">SensorList</a>& sensors() <span class="keyword">const</span>;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">RuleList</a>& rules();</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_createable_resource_list.html">RuleList</a>& rules() <span class="keyword">const</span>;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordtype">void</span> setHttpHandler(std::shared_ptr<const IHttpHandler> handler);</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  std::string <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a52444a7f3d1c1882e49f9fc745b0c853">ip</a>; </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  std::string <a class="code" href="_bridge_setup_8cpp.html#adc05afa9d9bfcc39217447497e598792">username</a>; </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  std::string clientkey; </div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordtype">int</span> <a class="code" href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#aa23f74fb38e93b3a8fa863caf1842206">port</a>;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  std::shared_ptr<const IHttpHandler> http_handler; </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  std::chrono::steady_clock::duration refreshDuration;</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  std::shared_ptr<APICache> stateCache;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  detail::MakeCopyable<LightList> lightList;</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  detail::MakeCopyable<GroupList> groupList;</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  detail::MakeCopyable<ScheduleList> scheduleList;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  detail::MakeCopyable<SceneList> sceneList;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  detail::MakeCopyable<SensorList> sensorList;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  detail::MakeCopyable<RuleList> ruleList;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  detail::MakeCopyable<BridgeConfig> bridgeConfig;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordtype">bool</span> sharedState;</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> };</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_ac5f7abe7bc156b73732d8c59db3c9641"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#ac5f7abe7bc156b73732d8c59db3c9641">hueplusplus::BridgeFinder::addClientKey</a></div><div class="ttdeci">void addClientKey(const std::string &mac, const std::string &clientkey)</div><div class="ttdoc">Function that adds a client key to the clientkeys map. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:114</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1_create_schedule_html"><div class="ttname"><a href="classhueplusplus_1_1_create_schedule.html">hueplusplus::CreateSchedule</a></div><div class="ttdoc">Parameters for creating a new Schedule. </div><div class="ttdef"><b>Definition:</b> Schedule.h:150</div></div> | |
| 72 | +<div class="ttc" id="classhueplusplus_1_1_createable_resource_list_html"><div class="ttname"><a href="classhueplusplus_1_1_createable_resource_list.html">hueplusplus::CreateableResourceList</a></div><div class="ttdoc">Handles a ResourceList where Resources can be added by the user. </div><div class="ttdef"><b>Definition:</b> ResourceList.h:285</div></div> | |
| 73 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_a9ff121c380ceaceaf5da2b7a772e5c4b"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#a9ff121c380ceaceaf5da2b7a772e5c4b">hueplusplus::BridgeFinder::getBridge</a></div><div class="ttdeci">Bridge getBridge(const BridgeIdentification &identification, bool sharedState=false)</div><div class="ttdoc">Gets a Hue bridge based on its identification. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:78</div></div> | |
| 74 | +<div class="ttc" id="_sensor_list_8h_html"><div class="ttname"><a href="_sensor_list_8h.html">SensorList.h</a></div></div> | |
| 75 | +<div class="ttc" id="_group_8h_html"><div class="ttname"><a href="_group_8h.html">Group.h</a></div></div> | |
| 76 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 77 | +<div class="ttc" id="_color_temperature_strategy_8h_html"><div class="ttname"><a href="_color_temperature_strategy_8h.html">ColorTemperatureStrategy.h</a></div></div> | |
| 78 | +<div class="ttc" id="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification_html_aa23f74fb38e93b3a8fa863caf1842206"><div class="ttname"><a href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#aa23f74fb38e93b3a8fa863caf1842206">hueplusplus::BridgeFinder::BridgeIdentification::port</a></div><div class="ttdeci">int port</div><div class="ttdef"><b>Definition:</b> Bridge.h:67</div></div> | |
| 79 | +<div class="ttc" id="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification_html_a5ed94c4ff4ef2883941517fd2f3de7eb"><div class="ttname"><a href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a5ed94c4ff4ef2883941517fd2f3de7eb">hueplusplus::BridgeFinder::BridgeIdentification::mac</a></div><div class="ttdeci">std::string mac</div><div class="ttdef"><b>Definition:</b> Bridge.h:68</div></div> | |
| 80 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_ab1fec93e45160886b712a52e3ac6d073"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#ab1fec93e45160886b712a52e3ac6d073">hueplusplus::BridgeFinder::addUsername</a></div><div class="ttdeci">void addUsername(const std::string &mac, const std::string &username)</div><div class="ttdoc">Function that adds a username to the usernames map. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:109</div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1_create_rule_html"><div class="ttname"><a href="classhueplusplus_1_1_create_rule.html">hueplusplus::CreateRule</a></div><div class="ttdoc">Parameters for creating a new Rule. </div><div class="ttdef"><b>Definition:</b> Rule.h:150</div></div> | |
| 82 | +<div class="ttc" id="classhueplusplus_1_1_group_resource_list_html"><div class="ttname"><a href="classhueplusplus_1_1_group_resource_list.html">hueplusplus::GroupResourceList</a></div><div class="ttdoc">Handles a group list with the special group 0. </div><div class="ttdef"><b>Definition:</b> ResourceList.h:331</div></div> | |
| 83 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html">hueplusplus::BridgeFinder</a></div><div class="ttdef"><b>Definition:</b> Bridge.h:61</div></div> | |
| 84 | +<div class="ttc" id="_light_8h_html"><div class="ttname"><a href="_light_8h.html">Light.h</a></div></div> | |
| 85 | +<div class="ttc" id="_utils_8h_html"><div class="ttname"><a href="_utils_8h.html">Utils.h</a></div></div> | |
| 86 | +<div class="ttc" id="_scene_8h_html"><div class="ttname"><a href="_scene_8h.html">Scene.h</a></div></div> | |
| 87 | +<div class="ttc" id="_i_http_handler_8h_html"><div class="ttname"><a href="_i_http_handler_8h.html">IHttpHandler.h</a></div></div> | |
| 88 | +<div class="ttc" id="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification_html"><div class="ttname"><a href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html">hueplusplus::BridgeFinder::BridgeIdentification</a></div><div class="ttdef"><b>Definition:</b> Bridge.h:64</div></div> | |
| 89 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_abb2235e0866f51c3e81740f14de7b5aa"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#abb2235e0866f51c3e81740f14de7b5aa">hueplusplus::BridgeFinder::getAllUsernames</a></div><div class="ttdeci">const std::map< std::string, std::string > & getAllUsernames() const</div><div class="ttdoc">Function that returns a map of mac addresses and usernames. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:119</div></div> | |
| 90 | +<div class="ttc" id="classhueplusplus_1_1_create_scene_html"><div class="ttname"><a href="classhueplusplus_1_1_create_scene.html">hueplusplus::CreateScene</a></div><div class="ttdoc">Parameters for creating a new Scene. </div><div class="ttdef"><b>Definition:</b> Scene.h:267</div></div> | |
| 91 | +<div class="ttc" id="_bridge_setup_8cpp_html_adc05afa9d9bfcc39217447497e598792"><div class="ttname"><a href="_bridge_setup_8cpp.html#adc05afa9d9bfcc39217447497e598792">username</a></div><div class="ttdeci">const std::string username</div><div class="ttdef"><b>Definition:</b> BridgeSetup.cpp:47</div></div> | |
| 92 | +<div class="ttc" id="_hue_command_a_p_i_8h_html"><div class="ttname"><a href="_hue_command_a_p_i_8h.html">HueCommandAPI.h</a></div></div> | |
| 93 | +<div class="ttc" id="classhueplusplus_1_1_bridge_html"><div class="ttname"><a href="classhueplusplus_1_1_bridge.html">hueplusplus::Bridge</a></div><div class="ttdoc">Bridge class for a bridge. </div><div class="ttdef"><b>Definition:</b> Bridge.h:138</div></div> | |
| 94 | +<div class="ttc" id="_resource_list_8h_html"><div class="ttname"><a href="_resource_list_8h.html">ResourceList.h</a></div></div> | |
| 95 | +<div class="ttc" id="_schedule_8h_html"><div class="ttname"><a href="_schedule_8h.html">Schedule.h</a></div></div> | |
| 96 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_ad9b05c8c5fb48ebe78675c95688ddfef"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#ad9b05c8c5fb48ebe78675c95688ddfef">hueplusplus::BridgeFinder::normalizeMac</a></div><div class="ttdeci">static std::string normalizeMac(std::string input)</div><div class="ttdoc">Normalizes mac address to plain hex number. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:124</div></div> | |
| 97 | +<div class="ttc" id="_rule_8h_html"><div class="ttname"><a href="_rule_8h.html">Rule.h</a></div></div> | |
| 98 | +<div class="ttc" id="_a_p_i_cache_8h_html"><div class="ttname"><a href="_a_p_i_cache_8h.html">APICache.h</a></div></div> | |
| 99 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_a86cce17f26187a97547a44fab8c920a1"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#a86cce17f26187a97547a44fab8c920a1">hueplusplus::BridgeFinder::findBridges</a></div><div class="ttdeci">std::vector< BridgeIdentification > findBridges() const</div><div class="ttdoc">Finds all bridges in the network and returns them. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:43</div></div> | |
| 100 | +<div class="ttc" id="_color_hue_strategy_8h_html"><div class="ttname"><a href="_color_hue_strategy_8h.html">ColorHueStrategy.h</a></div></div> | |
| 101 | +<div class="ttc" id="classhueplusplus_1_1_bridge_config_html"><div class="ttname"><a href="classhueplusplus_1_1_bridge_config.html">hueplusplus::BridgeConfig</a></div><div class="ttdoc">General bridge configuration properties. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:55</div></div> | |
| 102 | +<div class="ttc" id="_sensor_8h_html"><div class="ttname"><a href="_sensor_8h.html">Sensor.h</a></div></div> | |
| 103 | +<div class="ttc" id="classhueplusplus_1_1_sensor_list_html"><div class="ttname"><a href="classhueplusplus_1_1_sensor_list.html">hueplusplus::SensorList</a></div><div class="ttdoc">Handles a list of Sensors with type specific getters. </div><div class="ttdef"><b>Definition:</b> SensorList.h:33</div></div> | |
| 104 | +<div class="ttc" id="classhueplusplus_1_1_bridge_finder_html_a84d4cd53894f7a1e9bde97998e59f274"><div class="ttname"><a href="classhueplusplus_1_1_bridge_finder.html#a84d4cd53894f7a1e9bde97998e59f274">hueplusplus::BridgeFinder::BridgeFinder</a></div><div class="ttdeci">BridgeFinder(std::shared_ptr< const IHttpHandler > handler)</div><div class="ttdoc">Constructor of BridgeFinder class. </div><div class="ttdef"><b>Definition:</b> Bridge.cpp:41</div></div> | |
| 105 | +<div class="ttc" id="_hue_device_types_8h_html"><div class="ttname"><a href="_hue_device_types_8h.html">HueDeviceTypes.h</a></div></div> | |
| 106 | +<div class="ttc" id="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification_html_a52444a7f3d1c1882e49f9fc745b0c853"><div class="ttname"><a href="structhueplusplus_1_1_bridge_finder_1_1_bridge_identification.html#a52444a7f3d1c1882e49f9fc745b0c853">hueplusplus::BridgeFinder::BridgeIdentification::ip</a></div><div class="ttdeci">std::string ip</div><div class="ttdef"><b>Definition:</b> Bridge.h:66</div></div> | |
| 107 | +<div class="ttc" id="_bridge_config_8h_html"><div class="ttname"><a href="_bridge_config_8h.html">BridgeConfig.h</a></div></div> | |
| 108 | +<div class="ttc" id="_brightness_strategy_8h_html"><div class="ttname"><a href="_brightness_strategy_8h.html">BrightnessStrategy.h</a></div></div> | |
| 109 | +<div class="ttc" id="classhueplusplus_1_1_searchable_resource_list_html"><div class="ttname"><a href="classhueplusplus_1_1_searchable_resource_list.html">hueplusplus::SearchableResourceList</a></div><div class="ttdoc">Handles a ResourceList of physical devices which can be searched for. </div><div class="ttdef"><b>Definition:</b> ResourceList.h:239</div></div> | |
| 110 | +</div><!-- fragment --></div><!-- contents --> | |
| 111 | +<!-- start footer part --> | |
| 112 | +<hr class="footer"/><address class="footer"><small> | |
| 113 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 114 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 115 | +</a> 1.8.13 | |
| 116 | +</small></address> | |
| 117 | +</body> | |
| 118 | +</html> | ... | ... |
_bridge_config_8cpp.html
0 → 100644
| 1 | +++ a/_bridge_config_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/BridgeConfig.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> </div> | |
| 68 | + <div class="headertitle"> | |
| 69 | +<div class="title">BridgeConfig.cpp File Reference</div> </div> | |
| 70 | +</div><!--header--> | |
| 71 | +<div class="contents"> | |
| 72 | +<div class="textblock"><code>#include <<a class="el" href="_bridge_config_8h_source.html">hueplusplus/BridgeConfig.h</a>></code><br /> | |
| 73 | +<code>#include <<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>></code><br /> | |
| 74 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 75 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BridgeConfig.cpp:</div> | |
| 76 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 77 | +</div> | |
| 78 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 79 | +<div class="center"><img src="_bridge_config_8cpp__incl.png" border="0" usemap="#src_2_bridge_config_8cpp" alt=""/></div> | |
| 80 | +<map name="src_2_bridge_config_8cpp" id="src_2_bridge_config_8cpp"> | |
| 81 | +<area shape="rect" id="node2" href="_bridge_config_8h.html" title="hueplusplus/BridgeConfig.h" alt="" coords="239,80,438,107"/> | |
| 82 | +<area shape="rect" id="node18" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="5,155,200,196"/> | |
| 83 | +<area shape="rect" id="node5" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="489,162,583,189"/> | |
| 84 | +<area shape="rect" id="node16" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="474,319,587,345"/> | |
| 85 | +<area shape="rect" id="node7" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="617,244,765,271"/> | |
| 86 | +<area shape="rect" id="node10" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="326,319,450,345"/> | |
| 87 | +<area shape="rect" id="node13" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="791,319,907,345"/> | |
| 88 | +</map> | |
| 89 | +</div> | |
| 90 | +</div><table class="memberdecls"> | |
| 91 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 92 | +Namespaces</h2></td></tr> | |
| 93 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 94 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 95 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 96 | +</table> | |
| 97 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 98 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 99 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 100 | + This file is part of hueplusplus.</p> | |
| 101 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 102 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 103 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 104 | +</div></div><!-- contents --> | |
| 105 | +<!-- start footer part --> | |
| 106 | +<hr class="footer"/><address class="footer"><small> | |
| 107 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 108 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 109 | +</a> 1.8.13 | |
| 110 | +</small></address> | |
| 111 | +</body> | |
| 112 | +</html> | ... | ... |
_bridge_config_8cpp__incl.map
0 → 100644
| 1 | +++ a/_bridge_config_8cpp__incl.map | |
| 1 | +<map id="src/BridgeConfig.cpp" name="src/BridgeConfig.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_bridge_config_8h.html" title="hueplusplus/BridgeConfig.h" alt="" coords="239,80,438,107"/> | |
| 3 | +<area shape="rect" id="node18" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="5,155,200,196"/> | |
| 4 | +<area shape="rect" id="node5" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="489,162,583,189"/> | |
| 5 | +<area shape="rect" id="node16" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="474,319,587,345"/> | |
| 6 | +<area shape="rect" id="node7" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="617,244,765,271"/> | |
| 7 | +<area shape="rect" id="node10" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="326,319,450,345"/> | |
| 8 | +<area shape="rect" id="node13" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="791,319,907,345"/> | |
| 9 | +</map> | ... | ... |
_bridge_config_8cpp__incl.md5
0 → 100644
_bridge_config_8cpp__incl.png
0 → 100644
76.6 KB
_bridge_config_8h.html
0 → 100644
| 1 | +++ a/_bridge_config_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BridgeConfig.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">BridgeConfig.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include <string></code><br /> | |
| 74 | +<code>#include <vector></code><br /> | |
| 75 | +<code>#include "<a class="el" href="_a_p_i_cache_8h_source.html">APICache.h</a>"</code><br /> | |
| 76 | +<code>#include "<a class="el" href="_time_pattern_8h_source.html">TimePattern.h</a>"</code><br /> | |
| 77 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 78 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BridgeConfig.h:</div> | |
| 79 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 80 | +</div> | |
| 81 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 82 | +<div class="center"><img src="_bridge_config_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_bridge_config_8h" alt=""/></div> | |
| 83 | +<map name="include_2hueplusplus_2_bridge_config_8h" id="include_2hueplusplus_2_bridge_config_8h"> | |
| 84 | +<area shape="rect" id="node4" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="163,95,257,121"/> | |
| 85 | +<area shape="rect" id="node15" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="33,244,147,271"/> | |
| 86 | +<area shape="rect" id="node6" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="327,169,475,196"/> | |
| 87 | +<area shape="rect" id="node9" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="503,244,627,271"/> | |
| 88 | +<area shape="rect" id="node12" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="651,244,767,271"/> | |
| 89 | +</map> | |
| 90 | +</div> | |
| 91 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 92 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 93 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 94 | +</div> | |
| 95 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 96 | +<div class="center"><img src="_bridge_config_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_bridge_config_8hdep" alt=""/></div> | |
| 97 | +<map name="include_2hueplusplus_2_bridge_config_8hdep" id="include_2hueplusplus_2_bridge_config_8hdep"> | |
| 98 | +<area shape="rect" id="node2" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="479,95,630,136"/> | |
| 99 | +<area shape="rect" id="node10" href="_bridge_config_8cpp.html" title="src/BridgeConfig.cpp" alt="" coords="655,102,809,129"/> | |
| 100 | +<area shape="rect" id="node3" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="22,184,189,225"/> | |
| 101 | +<area shape="rect" id="node5" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="213,191,328,218"/> | |
| 102 | +<area shape="rect" id="node6" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="353,191,549,218"/> | |
| 103 | +<area shape="rect" id="node7" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="573,191,747,218"/> | |
| 104 | +<area shape="rect" id="node8" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="772,191,945,218"/> | |
| 105 | +<area shape="rect" id="node9" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="970,191,1195,218"/> | |
| 106 | +<area shape="rect" id="node4" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="5,273,205,300"/> | |
| 107 | +</map> | |
| 108 | +</div> | |
| 109 | +</div> | |
| 110 | +<p><a href="_bridge_config_8h_source.html">Go to the source code of this file.</a></p> | |
| 111 | +<table class="memberdecls"> | |
| 112 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 113 | +Classes</h2></td></tr> | |
| 114 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structhueplusplus_1_1_version.html">hueplusplus::Version</a></td></tr> | |
| 115 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">API version consisting of major, minor and patch version. <a href="structhueplusplus_1_1_version.html#details">More...</a><br /></td></tr> | |
| 116 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 117 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structhueplusplus_1_1_whitelisted_user.html">hueplusplus::WhitelistedUser</a></td></tr> | |
| 118 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">User that is whitelisted for Hue API usage. <a href="structhueplusplus_1_1_whitelisted_user.html#details">More...</a><br /></td></tr> | |
| 119 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 120 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_bridge_config.html">hueplusplus::BridgeConfig</a></td></tr> | |
| 121 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">General bridge configuration properties. <a href="classhueplusplus_1_1_bridge_config.html#details">More...</a><br /></td></tr> | |
| 122 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 123 | +</table><table class="memberdecls"> | |
| 124 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 125 | +Namespaces</h2></td></tr> | |
| 126 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 127 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 128 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 129 | +</table> | |
| 130 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 131 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 132 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 133 | + This file is part of hueplusplus.</p> | |
| 134 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 135 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 136 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 137 | +</div></div><!-- contents --> | |
| 138 | +<!-- start footer part --> | |
| 139 | +<hr class="footer"/><address class="footer"><small> | |
| 140 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 141 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 142 | +</a> 1.8.13 | |
| 143 | +</small></address> | |
| 144 | +</body> | |
| 145 | +</html> | ... | ... |
_bridge_config_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_bridge_config_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/BridgeConfig.h" name="include/hueplusplus/BridgeConfig.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="479,95,630,136"/> | |
| 3 | +<area shape="rect" id="node10" href="$_bridge_config_8cpp.html" title="src/BridgeConfig.cpp" alt="" coords="655,102,809,129"/> | |
| 4 | +<area shape="rect" id="node3" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="22,184,189,225"/> | |
| 5 | +<area shape="rect" id="node5" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="213,191,328,218"/> | |
| 6 | +<area shape="rect" id="node6" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="353,191,549,218"/> | |
| 7 | +<area shape="rect" id="node7" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="573,191,747,218"/> | |
| 8 | +<area shape="rect" id="node8" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="772,191,945,218"/> | |
| 9 | +<area shape="rect" id="node9" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="970,191,1195,218"/> | |
| 10 | +<area shape="rect" id="node4" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="5,273,205,300"/> | |
| 11 | +</map> | ... | ... |
_bridge_config_8h__dep__incl.md5
0 → 100644
_bridge_config_8h__dep__incl.png
0 → 100644
31.4 KB
_bridge_config_8h__incl.map
0 → 100644
| 1 | +++ a/_bridge_config_8h__incl.map | |
| 1 | +<map id="include/hueplusplus/BridgeConfig.h" name="include/hueplusplus/BridgeConfig.h"> | |
| 2 | +<area shape="rect" id="node4" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="163,95,257,121"/> | |
| 3 | +<area shape="rect" id="node15" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="33,244,147,271"/> | |
| 4 | +<area shape="rect" id="node6" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="327,169,475,196"/> | |
| 5 | +<area shape="rect" id="node9" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="503,244,627,271"/> | |
| 6 | +<area shape="rect" id="node12" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="651,244,767,271"/> | |
| 7 | +</map> | ... | ... |
_bridge_config_8h__incl.md5
0 → 100644
_bridge_config_8h__incl.png
0 → 100644
59.5 KB
_bridge_config_8h_source.html
0 → 100644
| 1 | +++ a/_bridge_config_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BridgeConfig.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">BridgeConfig.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_bridge_config_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_BRIDGE_CONFIG_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_BRIDGE_CONFIG_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_a_p_i_cache_8h.html">APICache.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_time_pattern_8h.html">TimePattern.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_version.html"> 34</a></span> <span class="keyword">struct </span><a class="code" href="structhueplusplus_1_1_version.html">Version</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_version.html#a86e6ded781d236b64b2763aae6119476"> 36</a></span>  <span class="keywordtype">int</span> <a class="code" href="structhueplusplus_1_1_version.html#a86e6ded781d236b64b2763aae6119476">major</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_version.html#a53ab47eaccb2eeeb32a227a29f841472"> 37</a></span>  <span class="keywordtype">int</span> <a class="code" href="structhueplusplus_1_1_version.html#a53ab47eaccb2eeeb32a227a29f841472">minor</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_version.html#a309a02fdc79b1249314dbd9b5388f220"> 38</a></span>  <span class="keywordtype">int</span> <a class="code" href="structhueplusplus_1_1_version.html#a309a02fdc79b1249314dbd9b5388f220">patch</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> };</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_whitelisted_user.html"> 42</a></span> <span class="keyword">struct </span><a class="code" href="structhueplusplus_1_1_whitelisted_user.html">WhitelistedUser</a></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_whitelisted_user.html#a3d668d495747fb2bbb0f7890ac93644b"> 45</a></span>  std::string <a class="code" href="structhueplusplus_1_1_whitelisted_user.html#a3d668d495747fb2bbb0f7890ac93644b">key</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_whitelisted_user.html#a4ee19d0e64bbe68656cf5d9110f9669e"> 47</a></span>  std::string <a class="code" href="structhueplusplus_1_1_whitelisted_user.html#a4ee19d0e64bbe68656cf5d9110f9669e">name</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_whitelisted_user.html#a1c2ac0a6b6c6a510172176b5e0d78ca0"> 49</a></span>  <a class="code" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> <a class="code" href="structhueplusplus_1_1_whitelisted_user.html#a1c2ac0a6b6c6a510172176b5e0d78ca0">lastUsed</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structhueplusplus_1_1_whitelisted_user.html#a215b666e60ec721bb5b8238623479edb"> 51</a></span>  <a class="code" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> <a class="code" href="structhueplusplus_1_1_whitelisted_user.html#a215b666e60ec721bb5b8238623479edb">created</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_bridge_config.html"> 55</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>(std::shared_ptr<APICache> baseCache, std::chrono::steady_clock::duration refreshDuration);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">void</span> refresh(<span class="keywordtype">bool</span> force = <span class="keyword">false</span>);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> setRefreshDuration(std::chrono::steady_clock::duration refreshDuration);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  std::vector<WhitelistedUser> getWhitelistedUsers() <span class="keyword">const</span>;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> removeUser(<span class="keyword">const</span> std::string& userKey);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">bool</span> getLinkButton() <span class="keyword">const</span>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> pressLinkButton();</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> touchLink();</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  std::string getMACAddress() <span class="keyword">const</span>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> getUTCTime() <span class="keyword">const</span>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  std::string getTimezone() <span class="keyword">const</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>&) = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>(<a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>&&) = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>& operator=(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>&) = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>& operator=(<a class="code" href="classhueplusplus_1_1_bridge_config.html">BridgeConfig</a>&&) = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> cache;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> };</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="structhueplusplus_1_1_whitelisted_user_html"><div class="ttname"><a href="structhueplusplus_1_1_whitelisted_user.html">hueplusplus::WhitelistedUser</a></div><div class="ttdoc">User that is whitelisted for Hue API usage. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:42</div></div> | |
| 71 | +<div class="ttc" id="structhueplusplus_1_1_version_html_a309a02fdc79b1249314dbd9b5388f220"><div class="ttname"><a href="structhueplusplus_1_1_version.html#a309a02fdc79b1249314dbd9b5388f220">hueplusplus::Version::patch</a></div><div class="ttdeci">int patch</div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:38</div></div> | |
| 72 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 73 | +<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html">hueplusplus::APICache</a></div><div class="ttdoc">Caches API GET requests and refreshes regularly. </div><div class="ttdef"><b>Definition:</b> APICache.h:37</div></div> | |
| 74 | +<div class="ttc" id="structhueplusplus_1_1_version_html_a53ab47eaccb2eeeb32a227a29f841472"><div class="ttname"><a href="structhueplusplus_1_1_version.html#a53ab47eaccb2eeeb32a227a29f841472">hueplusplus::Version::minor</a></div><div class="ttdeci">int minor</div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:37</div></div> | |
| 75 | +<div class="ttc" id="structhueplusplus_1_1_version_html_a86e6ded781d236b64b2763aae6119476"><div class="ttname"><a href="structhueplusplus_1_1_version.html#a86e6ded781d236b64b2763aae6119476">hueplusplus::Version::major</a></div><div class="ttdeci">int major</div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:36</div></div> | |
| 76 | +<div class="ttc" id="classhueplusplus_1_1time_1_1_absolute_time_html"><div class="ttname"><a href="classhueplusplus_1_1time_1_1_absolute_time.html">hueplusplus::time::AbsoluteTime</a></div><div class="ttdoc">One-time, absolute time point. </div><div class="ttdef"><b>Definition:</b> TimePattern.h:72</div></div> | |
| 77 | +<div class="ttc" id="_time_pattern_8h_html"><div class="ttname"><a href="_time_pattern_8h.html">TimePattern.h</a></div></div> | |
| 78 | +<div class="ttc" id="structhueplusplus_1_1_whitelisted_user_html_a4ee19d0e64bbe68656cf5d9110f9669e"><div class="ttname"><a href="structhueplusplus_1_1_whitelisted_user.html#a4ee19d0e64bbe68656cf5d9110f9669e">hueplusplus::WhitelistedUser::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">Name provided on user creation. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:47</div></div> | |
| 79 | +<div class="ttc" id="structhueplusplus_1_1_version_html"><div class="ttname"><a href="structhueplusplus_1_1_version.html">hueplusplus::Version</a></div><div class="ttdoc">API version consisting of major, minor and patch version. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:34</div></div> | |
| 80 | +<div class="ttc" id="_a_p_i_cache_8h_html"><div class="ttname"><a href="_a_p_i_cache_8h.html">APICache.h</a></div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1_bridge_config_html"><div class="ttname"><a href="classhueplusplus_1_1_bridge_config.html">hueplusplus::BridgeConfig</a></div><div class="ttdoc">General bridge configuration properties. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:55</div></div> | |
| 82 | +<div class="ttc" id="structhueplusplus_1_1_whitelisted_user_html_a3d668d495747fb2bbb0f7890ac93644b"><div class="ttname"><a href="structhueplusplus_1_1_whitelisted_user.html#a3d668d495747fb2bbb0f7890ac93644b">hueplusplus::WhitelistedUser::key</a></div><div class="ttdeci">std::string key</div><div class="ttdoc">API username of the user. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:45</div></div> | |
| 83 | +<div class="ttc" id="structhueplusplus_1_1_whitelisted_user_html_a215b666e60ec721bb5b8238623479edb"><div class="ttname"><a href="structhueplusplus_1_1_whitelisted_user.html#a215b666e60ec721bb5b8238623479edb">hueplusplus::WhitelistedUser::created</a></div><div class="ttdeci">time::AbsoluteTime created</div><div class="ttdoc">Time the user was created. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:51</div></div> | |
| 84 | +<div class="ttc" id="structhueplusplus_1_1_whitelisted_user_html_a1c2ac0a6b6c6a510172176b5e0d78ca0"><div class="ttname"><a href="structhueplusplus_1_1_whitelisted_user.html#a1c2ac0a6b6c6a510172176b5e0d78ca0">hueplusplus::WhitelistedUser::lastUsed</a></div><div class="ttdeci">time::AbsoluteTime lastUsed</div><div class="ttdoc">Last time the user was used. </div><div class="ttdef"><b>Definition:</b> BridgeConfig.h:49</div></div> | |
| 85 | +</div><!-- fragment --></div><!-- contents --> | |
| 86 | +<!-- start footer part --> | |
| 87 | +<hr class="footer"/><address class="footer"><small> | |
| 88 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 89 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 90 | +</a> 1.8.13 | |
| 91 | +</small></address> | |
| 92 | +</body> | |
| 93 | +</html> | ... | ... |
_bridge_setup_8cpp.html
0 → 100644
| 1 | +++ a/_bridge_setup_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: examples/BridgeSetup.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d28a4824dc47e487b107a5db32ef43c4.html">examples</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#typedef-members">Typedefs</a> | | |
| 68 | +<a href="#func-members">Functions</a> | | |
| 69 | +<a href="#var-members">Variables</a> </div> | |
| 70 | + <div class="headertitle"> | |
| 71 | +<div class="title">BridgeSetup.cpp File Reference</div> </div> | |
| 72 | +</div><!--header--> | |
| 73 | +<div class="contents"> | |
| 74 | +<div class="textblock"><code>#include <algorithm></code><br /> | |
| 75 | +<code>#include <iostream></code><br /> | |
| 76 | +<code>#include <<a class="el" href="_bridge_8h_source.html">hueplusplus/Bridge.h</a>></code><br /> | |
| 77 | +<code>#include <<a class="el" href="_lin_http_handler_8h_source.html">hueplusplus/LinHttpHandler.h</a>></code><br /> | |
| 78 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 79 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BridgeSetup.cpp:</div> | |
| 80 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 81 | +</div> | |
| 82 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 83 | +<div class="center"><img src="_bridge_setup_8cpp__incl.png" border="0" usemap="#examples_2_bridge_setup_8cpp" alt=""/></div> | |
| 84 | +<map name="examples_2_bridge_setup_8cpp" id="examples_2_bridge_setup_8cpp"> | |
| 85 | +<area shape="rect" id="node4" href="_bridge_8h.html" title="hueplusplus/Bridge.h" alt="" coords="1686,80,1845,107"/> | |
| 86 | +<area shape="rect" id="node44" href="_lin_http_handler_8h.html" title="hueplusplus/LinHttpHandler.h" alt="" coords="2579,379,2792,405"/> | |
| 87 | +<area shape="rect" id="node10" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="969,379,1063,405"/> | |
| 88 | +<area shape="rect" id="node12" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1683,453,1831,480"/> | |
| 89 | +<area shape="rect" id="node18" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="2345,528,2461,555"/> | |
| 90 | +<area shape="rect" id="node19" href="_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="715,304,832,331"/> | |
| 91 | +<area shape="rect" id="node22" href="_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="2681,304,2837,331"/> | |
| 92 | +<area shape="rect" id="node24" href="_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="2968,379,3115,405"/> | |
| 93 | +<area shape="rect" id="node26" href="_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="3059,304,3261,331"/> | |
| 94 | +<area shape="rect" id="node28" href="_group_8h.html" title="Group.h" alt="" coords="1729,304,1802,331"/> | |
| 95 | +<area shape="rect" id="node31" href="_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2021,155,2163,181"/> | |
| 96 | +<area shape="rect" id="node32" href="_light_8h.html" title="Light.h" alt="" coords="2149,229,2216,256"/> | |
| 97 | +<area shape="rect" id="node34" href="_resource_list_8h.html" title="ResourceList.h" alt="" coords="519,304,635,331"/> | |
| 98 | +<area shape="rect" id="node37" href="_utils_8h.html" title="Utils.h" alt="" coords="1189,379,1253,405"/> | |
| 99 | +<area shape="rect" id="node38" href="_rule_8h.html" title="Rule.h" alt="" coords="1330,304,1393,331"/> | |
| 100 | +<area shape="rect" id="node40" href="_scene_8h.html" title="Scene.h" alt="" coords="943,304,1017,331"/> | |
| 101 | +<area shape="rect" id="node41" href="_schedule_8h.html" title="Schedule.h" alt="" coords="1065,304,1159,331"/> | |
| 102 | +<area shape="rect" id="node42" href="_sensor_8h.html" title="Sensor.h" alt="" coords="1651,229,1728,256"/> | |
| 103 | +<area shape="rect" id="node43" href="_sensor_list_8h.html" title="SensorList.h" alt="" coords="1052,155,1153,181"/> | |
| 104 | +<area shape="rect" id="node15" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="1081,528,1205,555"/> | |
| 105 | +<area shape="rect" id="node20" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="801,453,914,480"/> | |
| 106 | +<area shape="rect" id="node25" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="2521,453,2623,480"/> | |
| 107 | +<area shape="rect" id="node29" href="_action_8h.html" title="Action.h" alt="" coords="1584,453,1659,480"/> | |
| 108 | +<area shape="rect" id="node30" href="_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="1854,379,1997,405"/> | |
| 109 | +<area shape="rect" id="node33" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="1983,304,2094,331"/> | |
| 110 | +<area shape="rect" id="node36" href="_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="509,379,640,405"/> | |
| 111 | +<area shape="rect" id="node39" href="_condition_8h.html" title="Condition.h" alt="" coords="1277,379,1373,405"/> | |
| 112 | +<area shape="rect" id="node45" href="_base_http_handler_8h.html" title="BaseHttpHandler.h" alt="" coords="2749,453,2893,480"/> | |
| 113 | +</map> | |
| 114 | +</div> | |
| 115 | +</div><table class="memberdecls"> | |
| 116 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> | |
| 117 | +Typedefs</h2></td></tr> | |
| 118 | +<tr class="memitem:a60f0bf9d32c9f2c500d20fb8e3e69e08"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="_bridge_setup_8cpp.html#a60f0bf9d32c9f2c500d20fb8e3e69e08">SystemHttpHandler</a> = <a class="el" href="classhueplusplus_1_1_lin_http_handler.html">hueplusplus::LinHttpHandler</a></td></tr> | |
| 119 | +<tr class="separator:a60f0bf9d32c9f2c500d20fb8e3e69e08"><td class="memSeparator" colspan="2"> </td></tr> | |
| 120 | +</table><table class="memberdecls"> | |
| 121 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> | |
| 122 | +Functions</h2></td></tr> | |
| 123 | +<tr class="memitem:a7b24130ecc565578d8eb32a7c4268253"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_bridge.html">hue::Bridge</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_bridge_setup_8cpp.html#a7b24130ecc565578d8eb32a7c4268253">connectToBridge</a> ()</td></tr> | |
| 124 | +<tr class="separator:a7b24130ecc565578d8eb32a7c4268253"><td class="memSeparator" colspan="2"> </td></tr> | |
| 125 | +<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_bridge_setup_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr> | |
| 126 | +<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr> | |
| 127 | +</table><table class="memberdecls"> | |
| 128 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> | |
| 129 | +Variables</h2></td></tr> | |
| 130 | +<tr class="memitem:abc2f0412950e5418ab984b2d60d1b984"><td class="memItemLeft" align="right" valign="top">const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="_bridge_setup_8cpp.html#abc2f0412950e5418ab984b2d60d1b984">macAddress</a> = ""</td></tr> | |
| 131 | +<tr class="separator:abc2f0412950e5418ab984b2d60d1b984"><td class="memSeparator" colspan="2"> </td></tr> | |
| 132 | +<tr class="memitem:adc05afa9d9bfcc39217447497e598792"><td class="memItemLeft" align="right" valign="top">const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="_bridge_setup_8cpp.html#adc05afa9d9bfcc39217447497e598792">username</a> = ""</td></tr> | |
| 133 | +<tr class="separator:adc05afa9d9bfcc39217447497e598792"><td class="memSeparator" colspan="2"> </td></tr> | |
| 134 | +</table> | |
| 135 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 136 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 137 | +Copyright (C) 2021 Jan Rogall - developer<br /> | |
| 138 | + This file is part of hueplusplus.</p> | |
| 139 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 140 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 141 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 142 | +</div><h2 class="groupheader">Typedef Documentation</h2> | |
| 143 | +<a id="a60f0bf9d32c9f2c500d20fb8e3e69e08"></a> | |
| 144 | +<h2 class="memtitle"><span class="permalink"><a href="#a60f0bf9d32c9f2c500d20fb8e3e69e08">◆ </a></span>SystemHttpHandler</h2> | |
| 145 | + | |
| 146 | +<div class="memitem"> | |
| 147 | +<div class="memproto"> | |
| 148 | + <table class="memname"> | |
| 149 | + <tr> | |
| 150 | + <td class="memname">using <a class="el" href="_bridge_setup_8cpp.html#a60f0bf9d32c9f2c500d20fb8e3e69e08">SystemHttpHandler</a> = <a class="el" href="classhueplusplus_1_1_lin_http_handler.html">hueplusplus::LinHttpHandler</a></td> | |
| 151 | + </tr> | |
| 152 | + </table> | |
| 153 | +</div><div class="memdoc"> | |
| 154 | + | |
| 155 | +</div> | |
| 156 | +</div> | |
| 157 | +<h2 class="groupheader">Function Documentation</h2> | |
| 158 | +<a id="a7b24130ecc565578d8eb32a7c4268253"></a> | |
| 159 | +<h2 class="memtitle"><span class="permalink"><a href="#a7b24130ecc565578d8eb32a7c4268253">◆ </a></span>connectToBridge()</h2> | |
| 160 | + | |
| 161 | +<div class="memitem"> | |
| 162 | +<div class="memproto"> | |
| 163 | + <table class="memname"> | |
| 164 | + <tr> | |
| 165 | + <td class="memname"><a class="el" href="classhueplusplus_1_1_bridge.html">hue::Bridge</a> connectToBridge </td> | |
| 166 | + <td>(</td> | |
| 167 | + <td class="paramname"></td><td>)</td> | |
| 168 | + <td></td> | |
| 169 | + </tr> | |
| 170 | + </table> | |
| 171 | +</div><div class="memdoc"> | |
| 172 | + | |
| 173 | +</div> | |
| 174 | +</div> | |
| 175 | +<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a> | |
| 176 | +<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">◆ </a></span>main()</h2> | |
| 177 | + | |
| 178 | +<div class="memitem"> | |
| 179 | +<div class="memproto"> | |
| 180 | + <table class="memname"> | |
| 181 | + <tr> | |
| 182 | + <td class="memname">int main </td> | |
| 183 | + <td>(</td> | |
| 184 | + <td class="paramtype">int </td> | |
| 185 | + <td class="paramname"><em>argc</em>, </td> | |
| 186 | + </tr> | |
| 187 | + <tr> | |
| 188 | + <td class="paramkey"></td> | |
| 189 | + <td></td> | |
| 190 | + <td class="paramtype">char ** </td> | |
| 191 | + <td class="paramname"><em>argv</em> </td> | |
| 192 | + </tr> | |
| 193 | + <tr> | |
| 194 | + <td></td> | |
| 195 | + <td>)</td> | |
| 196 | + <td></td><td></td> | |
| 197 | + </tr> | |
| 198 | + </table> | |
| 199 | +</div><div class="memdoc"> | |
| 200 | + | |
| 201 | +</div> | |
| 202 | +</div> | |
| 203 | +<h2 class="groupheader">Variable Documentation</h2> | |
| 204 | +<a id="abc2f0412950e5418ab984b2d60d1b984"></a> | |
| 205 | +<h2 class="memtitle"><span class="permalink"><a href="#abc2f0412950e5418ab984b2d60d1b984">◆ </a></span>macAddress</h2> | |
| 206 | + | |
| 207 | +<div class="memitem"> | |
| 208 | +<div class="memproto"> | |
| 209 | + <table class="memname"> | |
| 210 | + <tr> | |
| 211 | + <td class="memname">const std::string macAddress = ""</td> | |
| 212 | + </tr> | |
| 213 | + </table> | |
| 214 | +</div><div class="memdoc"> | |
| 215 | + | |
| 216 | +</div> | |
| 217 | +</div> | |
| 218 | +<a id="adc05afa9d9bfcc39217447497e598792"></a> | |
| 219 | +<h2 class="memtitle"><span class="permalink"><a href="#adc05afa9d9bfcc39217447497e598792">◆ </a></span>username</h2> | |
| 220 | + | |
| 221 | +<div class="memitem"> | |
| 222 | +<div class="memproto"> | |
| 223 | + <table class="memname"> | |
| 224 | + <tr> | |
| 225 | + <td class="memname">const std::string username = ""</td> | |
| 226 | + </tr> | |
| 227 | + </table> | |
| 228 | +</div><div class="memdoc"> | |
| 229 | + | |
| 230 | +</div> | |
| 231 | +</div> | |
| 232 | +</div><!-- contents --> | |
| 233 | +<!-- start footer part --> | |
| 234 | +<hr class="footer"/><address class="footer"><small> | |
| 235 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 236 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 237 | +</a> 1.8.13 | |
| 238 | +</small></address> | |
| 239 | +</body> | |
| 240 | +</html> | ... | ... |
_bridge_setup_8cpp__incl.map
0 → 100644
| 1 | +++ a/_bridge_setup_8cpp__incl.map | |
| 1 | +<map id="examples/BridgeSetup.cpp" name="examples/BridgeSetup.cpp"> | |
| 2 | +<area shape="rect" id="node4" href="$_bridge_8h.html" title="hueplusplus/Bridge.h" alt="" coords="1686,80,1845,107"/> | |
| 3 | +<area shape="rect" id="node44" href="$_lin_http_handler_8h.html" title="hueplusplus/LinHttpHandler.h" alt="" coords="2579,379,2792,405"/> | |
| 4 | +<area shape="rect" id="node10" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="969,379,1063,405"/> | |
| 5 | +<area shape="rect" id="node12" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="1683,453,1831,480"/> | |
| 6 | +<area shape="rect" id="node18" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="2345,528,2461,555"/> | |
| 7 | +<area shape="rect" id="node19" href="$_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="715,304,832,331"/> | |
| 8 | +<area shape="rect" id="node22" href="$_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="2681,304,2837,331"/> | |
| 9 | +<area shape="rect" id="node24" href="$_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="2968,379,3115,405"/> | |
| 10 | +<area shape="rect" id="node26" href="$_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="3059,304,3261,331"/> | |
| 11 | +<area shape="rect" id="node28" href="$_group_8h.html" title="Group.h" alt="" coords="1729,304,1802,331"/> | |
| 12 | +<area shape="rect" id="node31" href="$_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2021,155,2163,181"/> | |
| 13 | +<area shape="rect" id="node32" href="$_light_8h.html" title="Light.h" alt="" coords="2149,229,2216,256"/> | |
| 14 | +<area shape="rect" id="node34" href="$_resource_list_8h.html" title="ResourceList.h" alt="" coords="519,304,635,331"/> | |
| 15 | +<area shape="rect" id="node37" href="$_utils_8h.html" title="Utils.h" alt="" coords="1189,379,1253,405"/> | |
| 16 | +<area shape="rect" id="node38" href="$_rule_8h.html" title="Rule.h" alt="" coords="1330,304,1393,331"/> | |
| 17 | +<area shape="rect" id="node40" href="$_scene_8h.html" title="Scene.h" alt="" coords="943,304,1017,331"/> | |
| 18 | +<area shape="rect" id="node41" href="$_schedule_8h.html" title="Schedule.h" alt="" coords="1065,304,1159,331"/> | |
| 19 | +<area shape="rect" id="node42" href="$_sensor_8h.html" title="Sensor.h" alt="" coords="1651,229,1728,256"/> | |
| 20 | +<area shape="rect" id="node43" href="$_sensor_list_8h.html" title="SensorList.h" alt="" coords="1052,155,1153,181"/> | |
| 21 | +<area shape="rect" id="node15" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="1081,528,1205,555"/> | |
| 22 | +<area shape="rect" id="node20" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="801,453,914,480"/> | |
| 23 | +<area shape="rect" id="node25" href="$_color_units_8h.html" title="ColorUnits.h" alt="" coords="2521,453,2623,480"/> | |
| 24 | +<area shape="rect" id="node29" href="$_action_8h.html" title="Action.h" alt="" coords="1584,453,1659,480"/> | |
| 25 | +<area shape="rect" id="node30" href="$_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="1854,379,1997,405"/> | |
| 26 | +<area shape="rect" id="node33" href="$_base_device_8h.html" title="BaseDevice.h" alt="" coords="1983,304,2094,331"/> | |
| 27 | +<area shape="rect" id="node36" href="$_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="509,379,640,405"/> | |
| 28 | +<area shape="rect" id="node39" href="$_condition_8h.html" title="Condition.h" alt="" coords="1277,379,1373,405"/> | |
| 29 | +<area shape="rect" id="node45" href="$_base_http_handler_8h.html" title="BaseHttpHandler.h" alt="" coords="2749,453,2893,480"/> | |
| 30 | +</map> | ... | ... |
_bridge_setup_8cpp__incl.md5
0 → 100644
_bridge_setup_8cpp__incl.png
0 → 100644
590 KB
_brightness_strategy_8h.html
0 → 100644
| 1 | +++ a/_brightness_strategy_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BrightnessStrategy.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">BrightnessStrategy.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include <cstdint></code><br /> | |
| 74 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 75 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for BrightnessStrategy.h:</div> | |
| 76 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 77 | +</div> | |
| 78 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 79 | +<div class="center"><img src="_brightness_strategy_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_brightness_strategy_8h" alt=""/></div> | |
| 80 | +<map name="include_2hueplusplus_2_brightness_strategy_8h" id="include_2hueplusplus_2_brightness_strategy_8h"> | |
| 81 | +</map> | |
| 82 | +</div> | |
| 83 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 84 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 85 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 86 | +</div> | |
| 87 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 88 | +<div class="center"><img src="_brightness_strategy_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_brightness_strategy_8hdep" alt=""/></div> | |
| 89 | +<map name="include_2hueplusplus_2_brightness_strategy_8hdep" id="include_2hueplusplus_2_brightness_strategy_8hdep"> | |
| 90 | +<area shape="rect" id="node2" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="725,273,876,315"/> | |
| 91 | +<area shape="rect" id="node10" href="_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1245,95,1396,136"/> | |
| 92 | +<area shape="rect" id="node21" href="_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="1950,184,2155,225"/> | |
| 93 | +<area shape="rect" id="node3" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="652,363,819,404"/> | |
| 94 | +<area shape="rect" id="node5" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="843,370,958,397"/> | |
| 95 | +<area shape="rect" id="node6" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="983,370,1179,397"/> | |
| 96 | +<area shape="rect" id="node7" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="5,370,180,397"/> | |
| 97 | +<area shape="rect" id="node8" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="205,370,378,397"/> | |
| 98 | +<area shape="rect" id="node9" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="403,370,628,397"/> | |
| 99 | +<area shape="rect" id="node4" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="635,452,835,479"/> | |
| 100 | +<area shape="rect" id="node11" href="_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1133,184,1284,225"/> | |
| 101 | +<area shape="rect" id="node13" href="_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1832,273,2044,315"/> | |
| 102 | +<area shape="rect" id="node15" href="_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="1591,184,1787,225"/> | |
| 103 | +<area shape="rect" id="node17" href="_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="900,273,1168,315"/> | |
| 104 | +<area shape="rect" id="node19" href="_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="1308,184,1560,225"/> | |
| 105 | +<area shape="rect" id="node23" href="_light_8cpp.html" title="src/Light.cpp" alt="" coords="1005,191,1109,218"/> | |
| 106 | +<area shape="rect" id="node12" href="_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="1449,370,1629,397"/> | |
| 107 | +<area shape="rect" id="node14" href="_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1815,370,2061,397"/> | |
| 108 | +<area shape="rect" id="node16" href="_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="1577,281,1808,307"/> | |
| 109 | +<area shape="rect" id="node18" href="_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="1203,363,1425,404"/> | |
| 110 | +<area shape="rect" id="node20" href="_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="1244,273,1451,315"/> | |
| 111 | +<area shape="rect" id="node22" href="_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="2119,281,2357,307"/> | |
| 112 | +</map> | |
| 113 | +</div> | |
| 114 | +</div> | |
| 115 | +<p><a href="_brightness_strategy_8h_source.html">Go to the source code of this file.</a></p> | |
| 116 | +<table class="memberdecls"> | |
| 117 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 118 | +Classes</h2></td></tr> | |
| 119 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_brightness_strategy.html">hueplusplus::BrightnessStrategy</a></td></tr> | |
| 120 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Virtual base class for all BrightnessStrategies. <a href="classhueplusplus_1_1_brightness_strategy.html#details">More...</a><br /></td></tr> | |
| 121 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 122 | +</table><table class="memberdecls"> | |
| 123 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 124 | +Namespaces</h2></td></tr> | |
| 125 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 126 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 127 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 128 | +</table> | |
| 129 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 130 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 131 | +Copyright (C) 2017 Jan Rogall - developer<br /> | |
| 132 | +Copyright (C) 2017 Moritz Wirger - developer<br /> | |
| 133 | + This file is part of hueplusplus.</p> | |
| 134 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 135 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 136 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 137 | +</div></div><!-- contents --> | |
| 138 | +<!-- start footer part --> | |
| 139 | +<hr class="footer"/><address class="footer"><small> | |
| 140 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 141 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 142 | +</a> 1.8.13 | |
| 143 | +</small></address> | |
| 144 | +</body> | |
| 145 | +</html> | ... | ... |
_brightness_strategy_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_brightness_strategy_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/BrightnessStrategy.h" name="include/hueplusplus/BrightnessStrategy.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="725,273,876,315"/> | |
| 3 | +<area shape="rect" id="node10" href="$_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="1245,95,1396,136"/> | |
| 4 | +<area shape="rect" id="node21" href="$_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="1950,184,2155,225"/> | |
| 5 | +<area shape="rect" id="node3" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="652,363,819,404"/> | |
| 6 | +<area shape="rect" id="node5" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="843,370,958,397"/> | |
| 7 | +<area shape="rect" id="node6" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="983,370,1179,397"/> | |
| 8 | +<area shape="rect" id="node7" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="5,370,180,397"/> | |
| 9 | +<area shape="rect" id="node8" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="205,370,378,397"/> | |
| 10 | +<area shape="rect" id="node9" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="403,370,628,397"/> | |
| 11 | +<area shape="rect" id="node4" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="635,452,835,479"/> | |
| 12 | +<area shape="rect" id="node11" href="$_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1133,184,1284,225"/> | |
| 13 | +<area shape="rect" id="node13" href="$_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1832,273,2044,315"/> | |
| 14 | +<area shape="rect" id="node15" href="$_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="1591,184,1787,225"/> | |
| 15 | +<area shape="rect" id="node17" href="$_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="900,273,1168,315"/> | |
| 16 | +<area shape="rect" id="node19" href="$_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="1308,184,1560,225"/> | |
| 17 | +<area shape="rect" id="node23" href="$_light_8cpp.html" title="src/Light.cpp" alt="" coords="1005,191,1109,218"/> | |
| 18 | +<area shape="rect" id="node12" href="$_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="1449,370,1629,397"/> | |
| 19 | +<area shape="rect" id="node14" href="$_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1815,370,2061,397"/> | |
| 20 | +<area shape="rect" id="node16" href="$_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="1577,281,1808,307"/> | |
| 21 | +<area shape="rect" id="node18" href="$_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="1203,363,1425,404"/> | |
| 22 | +<area shape="rect" id="node20" href="$_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="1244,273,1451,315"/> | |
| 23 | +<area shape="rect" id="node22" href="$_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="2119,281,2357,307"/> | |
| 24 | +</map> | ... | ... |
_brightness_strategy_8h__dep__incl.md5
0 → 100644
_brightness_strategy_8h__dep__incl.png
0 → 100644
116 KB
_brightness_strategy_8h__incl.map
0 → 100644
_brightness_strategy_8h__incl.md5
0 → 100644
_brightness_strategy_8h__incl.png
0 → 100644
4.52 KB
_brightness_strategy_8h_source.html
0 → 100644
| 1 | +++ a/_brightness_strategy_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/BrightnessStrategy.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">BrightnessStrategy.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_brightness_strategy_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_BRIGHTNESS_STRATEGY_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_BRIGHTNESS_STRATEGY_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <cstdint></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">class </span>Light;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_brightness_strategy.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_brightness_strategy.html">BrightnessStrategy</a></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1_brightness_strategy.html#a2b1aa7994c5fa8cbfc20e59c4bb133ad">setBrightness</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> bri, uint8_t transition, <a class="code" href="classhueplusplus_1_1_light.html">Light</a>& light) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classhueplusplus_1_1_brightness_strategy.html#aff420173a780d5bdcabdf46938bb3cb8">getBrightness</a>(<a class="code" href="classhueplusplus_1_1_light.html">Light</a>& light) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classhueplusplus_1_1_brightness_strategy.html#aff420173a780d5bdcabdf46938bb3cb8">getBrightness</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_light.html">Light</a>& light) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> <a class="code" href="classhueplusplus_1_1_brightness_strategy.html#a533d29c87d26c662582f2fb52978e80b">~BrightnessStrategy</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> };</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1_brightness_strategy_html_a2b1aa7994c5fa8cbfc20e59c4bb133ad"><div class="ttname"><a href="classhueplusplus_1_1_brightness_strategy.html#a2b1aa7994c5fa8cbfc20e59c4bb133ad">hueplusplus::BrightnessStrategy::setBrightness</a></div><div class="ttdeci">virtual bool setBrightness(unsigned int bri, uint8_t transition, Light &light) const =0</div><div class="ttdoc">Virtual function for changing a lights brightness with a specified transition. </div></div> | |
| 72 | +<div class="ttc" id="classhueplusplus_1_1_brightness_strategy_html"><div class="ttname"><a href="classhueplusplus_1_1_brightness_strategy.html">hueplusplus::BrightnessStrategy</a></div><div class="ttdoc">Virtual base class for all BrightnessStrategies. </div><div class="ttdef"><b>Definition:</b> BrightnessStrategy.h:33</div></div> | |
| 73 | +<div class="ttc" id="classhueplusplus_1_1_light_html"><div class="ttname"><a href="classhueplusplus_1_1_light.html">hueplusplus::Light</a></div><div class="ttdoc">Class for Hue Light fixtures. </div><div class="ttdef"><b>Definition:</b> Light.h:60</div></div> | |
| 74 | +<div class="ttc" id="classhueplusplus_1_1_brightness_strategy_html_aff420173a780d5bdcabdf46938bb3cb8"><div class="ttname"><a href="classhueplusplus_1_1_brightness_strategy.html#aff420173a780d5bdcabdf46938bb3cb8">hueplusplus::BrightnessStrategy::getBrightness</a></div><div class="ttdeci">virtual unsigned int getBrightness(Light &light) const =0</div><div class="ttdoc">Virtual function that returns the current brightnessof the light. </div></div> | |
| 75 | +<div class="ttc" id="classhueplusplus_1_1_brightness_strategy_html_a533d29c87d26c662582f2fb52978e80b"><div class="ttname"><a href="classhueplusplus_1_1_brightness_strategy.html#a533d29c87d26c662582f2fb52978e80b">hueplusplus::BrightnessStrategy::~BrightnessStrategy</a></div><div class="ttdeci">virtual ~BrightnessStrategy()=default</div><div class="ttdoc">Virtual dtor. </div></div> | |
| 76 | +</div><!-- fragment --></div><!-- contents --> | |
| 77 | +<!-- start footer part --> | |
| 78 | +<hr class="footer"/><address class="footer"><small> | |
| 79 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 80 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 81 | +</a> 1.8.13 | |
| 82 | +</small></address> | |
| 83 | +</body> | |
| 84 | +</html> | ... | ... |
_build_8md.html
0 → 100644
| 1 | +++ a/_build_8md.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: doc/markdown/Build.md File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +</div><!-- top --> | |
| 61 | +<div class="header"> | |
| 62 | + <div class="headertitle"> | |
| 63 | +<div class="title">doc/markdown/Build.md File Reference</div> </div> | |
| 64 | +</div><!--header--> | |
| 65 | +<div class="contents"> | |
| 66 | +</div><!-- contents --> | |
| 67 | +<!-- start footer part --> | |
| 68 | +<hr class="footer"/><address class="footer"><small> | |
| 69 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 70 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 71 | +</a> 1.8.13 | |
| 72 | +</small></address> | |
| 73 | +</body> | |
| 74 | +</html> | ... | ... |
_c_l_i_p_sensors_8cpp.html
0 → 100644
| 1 | +++ a/_c_l_i_p_sensors_8cpp.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: src/CLIPSensors.cpp File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#namespaces">Namespaces</a> | | |
| 68 | +<a href="#func-members">Functions</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">CLIPSensors.cpp File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include "<a class="el" href="_c_l_i_p_sensors_8h_source.html">hueplusplus/CLIPSensors.h</a>"</code><br /> | |
| 74 | +<code>#include "<a class="el" href="_hue_exception_macro_8h_source.html">hueplusplus/HueExceptionMacro.h</a>"</code><br /> | |
| 75 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 76 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for CLIPSensors.cpp:</div> | |
| 77 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 78 | +</div> | |
| 79 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 80 | +<div class="center"><img src="_c_l_i_p_sensors_8cpp__incl.png" border="0" usemap="#src_2_c_l_i_p_sensors_8cpp" alt=""/></div> | |
| 81 | +<map name="src_2_c_l_i_p_sensors_8cpp" id="src_2_c_l_i_p_sensors_8cpp"> | |
| 82 | +<area shape="rect" id="node2" href="_c_l_i_p_sensors_8h.html" title="hueplusplus/CLIPSensors.h" alt="" coords="537,80,732,107"/> | |
| 83 | +<area shape="rect" id="node21" href="_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="752,155,947,196"/> | |
| 84 | +<area shape="rect" id="node3" href="_sensor_8h.html" title="Sensor.h" alt="" coords="584,162,661,189"/> | |
| 85 | +<area shape="rect" id="node5" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="307,244,418,271"/> | |
| 86 | +<area shape="rect" id="node9" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="387,393,535,420"/> | |
| 87 | +<area shape="rect" id="node18" href="_condition_8h.html" title="Condition.h" alt="" coords="732,393,828,420"/> | |
| 88 | +<area shape="rect" id="node19" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="566,468,679,495"/> | |
| 89 | +<area shape="rect" id="node6" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="306,319,401,345"/> | |
| 90 | +<area shape="rect" id="node12" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="703,468,827,495"/> | |
| 91 | +<area shape="rect" id="node15" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="195,468,311,495"/> | |
| 92 | +</map> | |
| 93 | +</div> | |
| 94 | +</div><table class="memberdecls"> | |
| 95 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 96 | +Namespaces</h2></td></tr> | |
| 97 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 98 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 99 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 100 | +<tr class="memitem:namespacehueplusplus_1_1sensors"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html">hueplusplus::sensors</a></td></tr> | |
| 101 | +<tr class="memdesc:namespacehueplusplus_1_1sensors"><td class="mdescLeft"> </td><td class="mdescRight">Classes for specific sensor types. <br /></td></tr> | |
| 102 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 103 | +</table><table class="memberdecls"> | |
| 104 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> | |
| 105 | +Functions</h2></td></tr> | |
| 106 | +<tr class="memitem:a06dd5755779d2fc8df7108940319f7df"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">hueplusplus::sensors::makeCondition</a> (const CLIPOpenClose &sensor)</td></tr> | |
| 107 | +<tr class="separator:a06dd5755779d2fc8df7108940319f7df"><td class="memSeparator" colspan="2"> </td></tr> | |
| 108 | +<tr class="memitem:ae6a92d2761822a7e231fb7b5e0f8132b"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#ae6a92d2761822a7e231fb7b5e0f8132b">hueplusplus::sensors::makeCondition</a> (const CLIPHumidity &sensor)</td></tr> | |
| 109 | +<tr class="separator:ae6a92d2761822a7e231fb7b5e0f8132b"><td class="memSeparator" colspan="2"> </td></tr> | |
| 110 | +<tr class="memitem:abdc9a9a0a7cc5b743468c328a27cbee4"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#abdc9a9a0a7cc5b743468c328a27cbee4">hueplusplus::sensors::makeCondition</a> (const CLIPGenericFlag &sensor)</td></tr> | |
| 111 | +<tr class="separator:abdc9a9a0a7cc5b743468c328a27cbee4"><td class="memSeparator" colspan="2"> </td></tr> | |
| 112 | +<tr class="memitem:ab5a9513f642d7949cb47185a432447a1"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#ab5a9513f642d7949cb47185a432447a1">hueplusplus::sensors::makeCondition</a> (const CLIPGenericStatus &sensor)</td></tr> | |
| 113 | +<tr class="separator:ab5a9513f642d7949cb47185a432447a1"><td class="memSeparator" colspan="2"> </td></tr> | |
| 114 | +</table> | |
| 115 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 116 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 117 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 118 | + This file is part of hueplusplus.</p> | |
| 119 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 120 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 121 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 122 | +</div></div><!-- contents --> | |
| 123 | +<!-- start footer part --> | |
| 124 | +<hr class="footer"/><address class="footer"><small> | |
| 125 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 126 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 127 | +</a> 1.8.13 | |
| 128 | +</small></address> | |
| 129 | +</body> | |
| 130 | +</html> | ... | ... |
_c_l_i_p_sensors_8cpp__incl.map
0 → 100644
| 1 | +++ a/_c_l_i_p_sensors_8cpp__incl.map | |
| 1 | +<map id="src/CLIPSensors.cpp" name="src/CLIPSensors.cpp"> | |
| 2 | +<area shape="rect" id="node2" href="$_c_l_i_p_sensors_8h.html" title="hueplusplus/CLIPSensors.h" alt="" coords="537,80,732,107"/> | |
| 3 | +<area shape="rect" id="node21" href="$_hue_exception_macro_8h.html" title="hueplusplus/HueException\lMacro.h" alt="" coords="752,155,947,196"/> | |
| 4 | +<area shape="rect" id="node3" href="$_sensor_8h.html" title="Sensor.h" alt="" coords="584,162,661,189"/> | |
| 5 | +<area shape="rect" id="node5" href="$_base_device_8h.html" title="BaseDevice.h" alt="" coords="307,244,418,271"/> | |
| 6 | +<area shape="rect" id="node9" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="387,393,535,420"/> | |
| 7 | +<area shape="rect" id="node18" href="$_condition_8h.html" title="Condition.h" alt="" coords="732,393,828,420"/> | |
| 8 | +<area shape="rect" id="node19" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="566,468,679,495"/> | |
| 9 | +<area shape="rect" id="node6" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="306,319,401,345"/> | |
| 10 | +<area shape="rect" id="node12" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="703,468,827,495"/> | |
| 11 | +<area shape="rect" id="node15" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="195,468,311,495"/> | |
| 12 | +</map> | ... | ... |
_c_l_i_p_sensors_8cpp__incl.md5
0 → 100644
_c_l_i_p_sensors_8cpp__incl.png
0 → 100644
99.7 KB
_c_l_i_p_sensors_8h.html
0 → 100644
| 1 | +++ a/_c_l_i_p_sensors_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/CLIPSensors.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> | | |
| 69 | +<a href="#func-members">Functions</a> </div> | |
| 70 | + <div class="headertitle"> | |
| 71 | +<div class="title">CLIPSensors.h File Reference</div> </div> | |
| 72 | +</div><!--header--> | |
| 73 | +<div class="contents"> | |
| 74 | +<div class="textblock"><code>#include "<a class="el" href="_sensor_8h_source.html">Sensor.h</a>"</code><br /> | |
| 75 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 76 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for CLIPSensors.h:</div> | |
| 77 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 78 | +</div> | |
| 79 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 80 | +<div class="center"><img src="_c_l_i_p_sensors_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_c_l_i_p_sensors_8h" alt=""/></div> | |
| 81 | +<map name="include_2hueplusplus_2_c_l_i_p_sensors_8h" id="include_2hueplusplus_2_c_l_i_p_sensors_8h"> | |
| 82 | +<area shape="rect" id="node2" href="_sensor_8h.html" title="Sensor.h" alt="" coords="487,95,564,121"/> | |
| 83 | +<area shape="rect" id="node4" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="423,169,534,196"/> | |
| 84 | +<area shape="rect" id="node8" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="311,319,459,345"/> | |
| 85 | +<area shape="rect" id="node17" href="_condition_8h.html" title="Condition.h" alt="" coords="704,319,800,345"/> | |
| 86 | +<area shape="rect" id="node18" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="515,393,629,420"/> | |
| 87 | +<area shape="rect" id="node5" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="427,244,522,271"/> | |
| 88 | +<area shape="rect" id="node11" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="705,393,829,420"/> | |
| 89 | +<area shape="rect" id="node14" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="195,393,311,420"/> | |
| 90 | +</map> | |
| 91 | +</div> | |
| 92 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 93 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 94 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 95 | +</div> | |
| 96 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 97 | +<div class="center"><img src="_c_l_i_p_sensors_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_c_l_i_p_sensors_8hdep" alt=""/></div> | |
| 98 | +<map name="include_2hueplusplus_2_c_l_i_p_sensors_8hdep" id="include_2hueplusplus_2_c_l_i_p_sensors_8hdep"> | |
| 99 | +<area shape="rect" id="node2" href="_c_l_i_p_sensors_8cpp.html" title="src/CLIPSensors.cpp" alt="" coords="5,95,156,121"/> | |
| 100 | +<area shape="rect" id="node3" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="181,95,354,121"/> | |
| 101 | +</map> | |
| 102 | +</div> | |
| 103 | +</div> | |
| 104 | +<p><a href="_c_l_i_p_sensors_8h_source.html">Go to the source code of this file.</a></p> | |
| 105 | +<table class="memberdecls"> | |
| 106 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 107 | +Classes</h2></td></tr> | |
| 108 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">hueplusplus::sensors::BaseCLIP</a></td></tr> | |
| 109 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Common methods for CLIP sensors. <a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#details">More...</a><br /></td></tr> | |
| 110 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 111 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html">hueplusplus::sensors::CLIPSwitch</a></td></tr> | |
| 112 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor for button presses. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html#details">More...</a><br /></td></tr> | |
| 113 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 114 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html">hueplusplus::sensors::CLIPOpenClose</a></td></tr> | |
| 115 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor detecting whether a contact is open or closed. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html#details">More...</a><br /></td></tr> | |
| 116 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 117 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html">hueplusplus::sensors::CLIPPresence</a></td></tr> | |
| 118 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor to detect presence. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html#details">More...</a><br /></td></tr> | |
| 119 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 120 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html">hueplusplus::sensors::CLIPTemperature</a></td></tr> | |
| 121 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor for temperature. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html#details">More...</a><br /></td></tr> | |
| 122 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 123 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html">hueplusplus::sensors::CLIPHumidity</a></td></tr> | |
| 124 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor for humidity. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html#details">More...</a><br /></td></tr> | |
| 125 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 126 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html">hueplusplus::sensors::CLIPLightLevel</a></td></tr> | |
| 127 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor for light level. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html#details">More...</a><br /></td></tr> | |
| 128 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 129 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html">hueplusplus::sensors::CLIPGenericFlag</a></td></tr> | |
| 130 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor for a generic 3rd party sensor. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html#details">More...</a><br /></td></tr> | |
| 131 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 132 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html">hueplusplus::sensors::CLIPGenericStatus</a></td></tr> | |
| 133 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CLIP sensor for a generic 3rd party status. <a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html#details">More...</a><br /></td></tr> | |
| 134 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 135 | +</table><table class="memberdecls"> | |
| 136 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 137 | +Namespaces</h2></td></tr> | |
| 138 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 139 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 140 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 141 | +<tr class="memitem:namespacehueplusplus_1_1sensors"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html">hueplusplus::sensors</a></td></tr> | |
| 142 | +<tr class="memdesc:namespacehueplusplus_1_1sensors"><td class="mdescLeft"> </td><td class="mdescRight">Classes for specific sensor types. <br /></td></tr> | |
| 143 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 144 | +</table><table class="memberdecls"> | |
| 145 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> | |
| 146 | +Functions</h2></td></tr> | |
| 147 | +<tr class="memitem:a06dd5755779d2fc8df7108940319f7df"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">hueplusplus::sensors::makeCondition</a> (const CLIPOpenClose &sensor)</td></tr> | |
| 148 | +<tr class="separator:a06dd5755779d2fc8df7108940319f7df"><td class="memSeparator" colspan="2"> </td></tr> | |
| 149 | +<tr class="memitem:ae6a92d2761822a7e231fb7b5e0f8132b"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#ae6a92d2761822a7e231fb7b5e0f8132b">hueplusplus::sensors::makeCondition</a> (const CLIPHumidity &sensor)</td></tr> | |
| 150 | +<tr class="separator:ae6a92d2761822a7e231fb7b5e0f8132b"><td class="memSeparator" colspan="2"> </td></tr> | |
| 151 | +<tr class="memitem:abdc9a9a0a7cc5b743468c328a27cbee4"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#abdc9a9a0a7cc5b743468c328a27cbee4">hueplusplus::sensors::makeCondition</a> (const CLIPGenericFlag &sensor)</td></tr> | |
| 152 | +<tr class="separator:abdc9a9a0a7cc5b743468c328a27cbee4"><td class="memSeparator" colspan="2"> </td></tr> | |
| 153 | +<tr class="memitem:ab5a9513f642d7949cb47185a432447a1"><td class="memItemLeft" align="right" valign="top">detail::ConditionHelper< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus_1_1sensors.html#ab5a9513f642d7949cb47185a432447a1">hueplusplus::sensors::makeCondition</a> (const CLIPGenericStatus &sensor)</td></tr> | |
| 154 | +<tr class="separator:ab5a9513f642d7949cb47185a432447a1"><td class="memSeparator" colspan="2"> </td></tr> | |
| 155 | +</table> | |
| 156 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 157 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 158 | +Copyright (C) 2020 Jan Rogall - developer<br /> | |
| 159 | + This file is part of hueplusplus.</p> | |
| 160 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 161 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 162 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 163 | +</div></div><!-- contents --> | |
| 164 | +<!-- start footer part --> | |
| 165 | +<hr class="footer"/><address class="footer"><small> | |
| 166 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 167 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 168 | +</a> 1.8.13 | |
| 169 | +</small></address> | |
| 170 | +</body> | |
| 171 | +</html> | ... | ... |
_c_l_i_p_sensors_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_c_l_i_p_sensors_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/CLIPSensors.h" name="include/hueplusplus/CLIPSensors.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_c_l_i_p_sensors_8cpp.html" title="src/CLIPSensors.cpp" alt="" coords="5,95,156,121"/> | |
| 3 | +<area shape="rect" id="node3" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="181,95,354,121"/> | |
| 4 | +</map> | ... | ... |
_c_l_i_p_sensors_8h__dep__incl.md5
0 → 100644
_c_l_i_p_sensors_8h__dep__incl.png
0 → 100644
8.02 KB
_c_l_i_p_sensors_8h__incl.map
0 → 100644
| 1 | +++ a/_c_l_i_p_sensors_8h__incl.map | |
| 1 | +<map id="include/hueplusplus/CLIPSensors.h" name="include/hueplusplus/CLIPSensors.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_sensor_8h.html" title="Sensor.h" alt="" coords="487,95,564,121"/> | |
| 3 | +<area shape="rect" id="node4" href="$_base_device_8h.html" title="BaseDevice.h" alt="" coords="423,169,534,196"/> | |
| 4 | +<area shape="rect" id="node8" href="$_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="311,319,459,345"/> | |
| 5 | +<area shape="rect" id="node17" href="$_condition_8h.html" title="Condition.h" alt="" coords="704,319,800,345"/> | |
| 6 | +<area shape="rect" id="node18" href="$_time_pattern_8h.html" title="TimePattern.h" alt="" coords="515,393,629,420"/> | |
| 7 | +<area shape="rect" id="node5" href="$_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="427,244,522,271"/> | |
| 8 | +<area shape="rect" id="node11" href="$_hue_exception_8h.html" title="HueException.h" alt="" coords="705,393,829,420"/> | |
| 9 | +<area shape="rect" id="node14" href="$_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="195,393,311,420"/> | |
| 10 | +</map> | ... | ... |
_c_l_i_p_sensors_8h__incl.md5
0 → 100644
_c_l_i_p_sensors_8h__incl.png
0 → 100644
90.7 KB
_c_l_i_p_sensors_8h_source.html
0 → 100644
| 1 | +++ a/_c_l_i_p_sensors_8h_source.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/CLIPSensors.h Source File</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="headertitle"> | |
| 67 | +<div class="title">CLIPSensors.h</div> </div> | |
| 68 | +</div><!--header--> | |
| 69 | +<div class="contents"> | |
| 70 | +<a href="_c_l_i_p_sensors_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_CLIP_SENSORS_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_CLIP_SENSORS_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="_sensor_8h.html">Sensor.h</a>"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespacehueplusplus_1_1sensors.html"> 29</a></span> <span class="keyword">namespace </span>sensors</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1_base_device.html">BaseDevice</a></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a66f0187e5cf1eb3ca0730ea91e5b2956">isOn</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a0a1c4e5eae1b40b1f9fdb8dff1da7012">setOn</a>(<span class="keywordtype">bool</span> on);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a01ee7a7fbf16866e777f48911eaf5072">hasBatteryState</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">int</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a75dfc889adfac25ac5a4ad980a5c03eb">getBatteryState</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a2e0bd2461685b0bf42bcbf77e048e07c">setBatteryState</a>(<span class="keywordtype">int</span> percent);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#afb9656f1a984e76f3fb5305b7722c442">isReachable</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a101a22da4d3e85744ba7b63f6f2941b7">hasURL</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  std::string <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a5be77c86615cfc1be4aaabe917b3f37b">getURL</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a557d41c2e4e5463ca67e6a45fe09a702">setURL</a>(<span class="keyword">const</span> std::string& url);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a8797664ff0bd25413917e215c29f472a">getLastUpdated</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a3c40f4b4e9c742f876e51968651eb810"> 81</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a3c40f4b4e9c742f876e51968651eb810">BaseCLIP</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1_base_device.html">BaseDevice</a>(std::move(sensor)) { }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html"> 85</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html">CLIPSwitch</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html#a4e187b387c99563dd35c36b79545aba8"> 89</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html#a4e187b387c99563dd35c36b79545aba8">CLIPSwitch</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">int</span> getButtonEvent() <span class="keyword">const</span>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">void</span> setButtonEvent(<span class="keywordtype">int</span> code);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html#a183c261556c24b17ffd83cfc51306ee1"> 101</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPSwitch"</span>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> };</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html"> 105</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html">CLIPOpenClose</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html#aee9642c3e9c798e51f64f4c277d9500f"> 109</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html#aee9642c3e9c798e51f64f4c277d9500f">CLIPOpenClose</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">bool</span> isOpen() <span class="keyword">const</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">void</span> setOpen(<span class="keywordtype">bool</span> open);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html#a434d2f557ededa036c8ffdcc5353a13f"> 123</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPOpenClose"</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> };</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> detail::ConditionHelper<bool> <a class="code" href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">makeCondition</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html">CLIPOpenClose</a>& sensor);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html"> 129</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html">CLIPPresence</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html#a0b5fc33329ebb044b01ed8e850d63005"> 133</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html#a0b5fc33329ebb044b01ed8e850d63005">CLIPPresence</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">bool</span> getPresence() <span class="keyword">const</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordtype">void</span> setPresence(<span class="keywordtype">bool</span> presence);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html#aa9282323aaeeae75546bf1672670453e"> 145</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPPresence"</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> };</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html"> 149</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html">CLIPTemperature</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html#afb1749e3da120753e9cf0b9a87110bd2"> 153</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html#afb1749e3da120753e9cf0b9a87110bd2">CLIPTemperature</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">int</span> getTemperature() <span class="keyword">const</span>;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">void</span> setTemperature(<span class="keywordtype">int</span> temperature);</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html#a7b8e1884c63d3cd3ac9a966024be3474"> 167</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPTemperature"</span>;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> };</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html"> 171</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html">CLIPHumidity</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html#a3df53bb217c37479dca97f57cc895f68"> 175</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html#a3df53bb217c37479dca97f57cc895f68">CLIPHumidity</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordtype">int</span> getHumidity() <span class="keyword">const</span>;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> setHumidity(<span class="keywordtype">int</span> humidity);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html#af54b5892729cf6fc3e96577b2f35a705"> 189</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPHumidity"</span>;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> };</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> detail::ConditionHelper<int> <a class="code" href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">makeCondition</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html">CLIPHumidity</a>& sensor);</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html"> 195</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html">CLIPLightLevel</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html#affa16120847e34f1418318a3a8d40311"> 199</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html#affa16120847e34f1418318a3a8d40311">CLIPLightLevel</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordtype">int</span> getDarkThreshold() <span class="keyword">const</span>;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">void</span> setDarkThreshold(<span class="keywordtype">int</span> threshold);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">int</span> getThresholdOffset() <span class="keyword">const</span>;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">void</span> setThresholdOffset(<span class="keywordtype">int</span> offset);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordtype">int</span> getLightLevel() <span class="keyword">const</span>;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordtype">void</span> setLightLevel(<span class="keywordtype">int</span> level);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordtype">bool</span> isDark() <span class="keyword">const</span>;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordtype">bool</span> isDaylight() <span class="keyword">const</span>;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html#ad80c2976f6bafe8d8e737b7fac0f3914"> 239</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPLightLevel"</span>;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> };</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html"> 245</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html">CLIPGenericFlag</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> {</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html#a28793af7c515a3e6d2183a4d909ecb58"> 249</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html#a28793af7c515a3e6d2183a4d909ecb58">CLIPGenericFlag</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordtype">bool</span> getFlag() <span class="keyword">const</span>;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordtype">void</span> setFlag(<span class="keywordtype">bool</span> flag);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html#ad1b5b51b9c75bc796ec4675d52c9c0fd"> 261</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPGenericFlag"</span>;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> };</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> detail::ConditionHelper<bool> <a class="code" href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">makeCondition</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html">CLIPGenericFlag</a>& sensor);</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html"> 269</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html">CLIPGenericStatus</a> : <span class="keyword">public</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> {</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html#a036e7c9f3719c788b452a6a482ee5e04"> 273</a></span>  <span class="keyword">explicit</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html#a036e7c9f3719c788b452a6a482ee5e04">CLIPGenericStatus</a>(<a class="code" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor) : <a class="code" href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">BaseCLIP</a>(std::move(sensor)) { }</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">int</span> getStatus() <span class="keyword">const</span>;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordtype">void</span> setStatus(<span class="keywordtype">int</span> status);</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html#a91ca3a0bd8d48a8be941bd1d0b991deb"> 285</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* typeStr = <span class="stringliteral">"CLIPGenericStatus"</span>;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> };</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> detail::ConditionHelper<int> <a class="code" href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">makeCondition</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html">CLIPGenericStatus</a>& sensor);</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> } <span class="comment">// namespace sensors</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_afb9656f1a984e76f3fb5305b7722c442"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#afb9656f1a984e76f3fb5305b7722c442">hueplusplus::sensors::BaseCLIP::isReachable</a></div><div class="ttdeci">bool isReachable() const</div><div class="ttdoc">Check whether the sensor is reachable. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:51</div></div> | |
| 71 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a0a1c4e5eae1b40b1f9fdb8dff1da7012"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a0a1c4e5eae1b40b1f9fdb8dff1da7012">hueplusplus::sensors::BaseCLIP::setOn</a></div><div class="ttdeci">void setOn(bool on)</div><div class="ttdoc">Enable or disable sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:35</div></div> | |
| 72 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html">hueplusplus::sensors::CLIPPresence</a></div><div class="ttdoc">CLIP sensor to detect presence. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:129</div></div> | |
| 73 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html">hueplusplus::sensors::CLIPSwitch</a></div><div class="ttdoc">CLIP sensor for button presses. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:85</div></div> | |
| 74 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html">hueplusplus::sensors::CLIPHumidity</a></div><div class="ttdoc">CLIP sensor for humidity. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:171</div></div> | |
| 75 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status_html_a036e7c9f3719c788b452a6a482ee5e04"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html#a036e7c9f3719c788b452a6a482ee5e04">hueplusplus::sensors::CLIPGenericStatus::CLIPGenericStatus</a></div><div class="ttdeci">CLIPGenericStatus(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:273</div></div> | |
| 76 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a557d41c2e4e5463ca67e6a45fe09a702"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a557d41c2e4e5463ca67e6a45fe09a702">hueplusplus::sensors::BaseCLIP::setURL</a></div><div class="ttdeci">void setURL(const std::string &url)</div><div class="ttdoc">Set sensor URL. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:64</div></div> | |
| 77 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a2e0bd2461685b0bf42bcbf77e048e07c"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a2e0bd2461685b0bf42bcbf77e048e07c">hueplusplus::sensors::BaseCLIP::setBatteryState</a></div><div class="ttdeci">void setBatteryState(int percent)</div><div class="ttdoc">Set battery state. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:47</div></div> | |
| 78 | +<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div> | |
| 79 | +<div class="ttc" id="namespacehueplusplus_1_1sensors_html_a06dd5755779d2fc8df7108940319f7df"><div class="ttname"><a href="namespacehueplusplus_1_1sensors.html#a06dd5755779d2fc8df7108940319f7df">hueplusplus::sensors::makeCondition</a></div><div class="ttdeci">detail::ConditionHelper< bool > makeCondition(const CLIPOpenClose &sensor)</div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:103</div></div> | |
| 80 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level_html_affa16120847e34f1418318a3a8d40311"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html#affa16120847e34f1418318a3a8d40311">hueplusplus::sensors::CLIPLightLevel::CLIPLightLevel</a></div><div class="ttdeci">CLIPLightLevel(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:199</div></div> | |
| 81 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a101a22da4d3e85744ba7b63f6f2941b7"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a101a22da4d3e85744ba7b63f6f2941b7">hueplusplus::sensors::BaseCLIP::hasURL</a></div><div class="ttdeci">bool hasURL() const</div><div class="ttdoc">Check whether the sensor has a URL. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:56</div></div> | |
| 82 | +<div class="ttc" id="classhueplusplus_1_1_base_device_html"><div class="ttname"><a href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></div><div class="ttdoc">Base class for physical devices connected to the bridge (sensor or light). </div><div class="ttdef"><b>Definition:</b> BaseDevice.h:35</div></div> | |
| 83 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a66f0187e5cf1eb3ca0730ea91e5b2956"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a66f0187e5cf1eb3ca0730ea91e5b2956">hueplusplus::sensors::BaseCLIP::isOn</a></div><div class="ttdeci">bool isOn() const</div><div class="ttdoc">Check if sensor is on. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:30</div></div> | |
| 84 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature_html_afb1749e3da120753e9cf0b9a87110bd2"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html#afb1749e3da120753e9cf0b9a87110bd2">hueplusplus::sensors::CLIPTemperature::CLIPTemperature</a></div><div class="ttdeci">CLIPTemperature(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:153</div></div> | |
| 85 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html">hueplusplus::sensors::CLIPOpenClose</a></div><div class="ttdoc">CLIP sensor detecting whether a contact is open or closed. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:105</div></div> | |
| 86 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch_html_a4e187b387c99563dd35c36b79545aba8"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_switch.html#a4e187b387c99563dd35c36b79545aba8">hueplusplus::sensors::CLIPSwitch::CLIPSwitch</a></div><div class="ttdeci">CLIPSwitch(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:89</div></div> | |
| 87 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html">hueplusplus::sensors::BaseCLIP</a></div><div class="ttdoc">Common methods for CLIP sensors. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:32</div></div> | |
| 88 | +<div class="ttc" id="classhueplusplus_1_1time_1_1_absolute_time_html"><div class="ttname"><a href="classhueplusplus_1_1time_1_1_absolute_time.html">hueplusplus::time::AbsoluteTime</a></div><div class="ttdoc">One-time, absolute time point. </div><div class="ttdef"><b>Definition:</b> TimePattern.h:72</div></div> | |
| 89 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity_html_a3df53bb217c37479dca97f57cc895f68"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_humidity.html#a3df53bb217c37479dca97f57cc895f68">hueplusplus::sensors::CLIPHumidity::CLIPHumidity</a></div><div class="ttdeci">CLIPHumidity(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:175</div></div> | |
| 90 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence_html_a0b5fc33329ebb044b01ed8e850d63005"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_presence.html#a0b5fc33329ebb044b01ed8e850d63005">hueplusplus::sensors::CLIPPresence::CLIPPresence</a></div><div class="ttdeci">CLIPPresence(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:133</div></div> | |
| 91 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a8797664ff0bd25413917e215c29f472a"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a8797664ff0bd25413917e215c29f472a">hueplusplus::sensors::BaseCLIP::getLastUpdated</a></div><div class="ttdeci">time::AbsoluteTime getLastUpdated() const</div><div class="ttdoc">Get time of last status update. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:69</div></div> | |
| 92 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag_html_a28793af7c515a3e6d2183a4d909ecb58"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html#a28793af7c515a3e6d2183a4d909ecb58">hueplusplus::sensors::CLIPGenericFlag::CLIPGenericFlag</a></div><div class="ttdeci">CLIPGenericFlag(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:249</div></div> | |
| 93 | +<div class="ttc" id="classhueplusplus_1_1_sensor_html"><div class="ttname"><a href="classhueplusplus_1_1_sensor.html">hueplusplus::Sensor</a></div><div class="ttdoc">Class for generic or unknown sensor types. </div><div class="ttdef"><b>Definition:</b> Sensor.h:59</div></div> | |
| 94 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a3c40f4b4e9c742f876e51968651eb810"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a3c40f4b4e9c742f876e51968651eb810">hueplusplus::sensors::BaseCLIP::BaseCLIP</a></div><div class="ttdeci">BaseCLIP(Sensor sensor)</div><div class="ttdoc">Protected constructor to be used by subclasses. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:81</div></div> | |
| 95 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_light_level.html">hueplusplus::sensors::CLIPLightLevel</a></div><div class="ttdoc">CLIP sensor for light level. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:195</div></div> | |
| 96 | +<div class="ttc" id="_sensor_8h_html"><div class="ttname"><a href="_sensor_8h.html">Sensor.h</a></div></div> | |
| 97 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close_html_aee9642c3e9c798e51f64f4c277d9500f"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_open_close.html#aee9642c3e9c798e51f64f4c277d9500f">hueplusplus::sensors::CLIPOpenClose::CLIPOpenClose</a></div><div class="ttdeci">CLIPOpenClose(Sensor sensor)</div><div class="ttdoc">Construct from generic sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:109</div></div> | |
| 98 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a5be77c86615cfc1be4aaabe917b3f37b"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a5be77c86615cfc1be4aaabe917b3f37b">hueplusplus::sensors::BaseCLIP::getURL</a></div><div class="ttdeci">std::string getURL() const</div><div class="ttdoc">Get sensor URL. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:60</div></div> | |
| 99 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_flag.html">hueplusplus::sensors::CLIPGenericFlag</a></div><div class="ttdoc">CLIP sensor for a generic 3rd party sensor. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:245</div></div> | |
| 100 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_generic_status.html">hueplusplus::sensors::CLIPGenericStatus</a></div><div class="ttdoc">CLIP sensor for a generic 3rd party status. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:269</div></div> | |
| 101 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a75dfc889adfac25ac5a4ad980a5c03eb"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a75dfc889adfac25ac5a4ad980a5c03eb">hueplusplus::sensors::BaseCLIP::getBatteryState</a></div><div class="ttdeci">int getBatteryState() const</div><div class="ttdoc">Get battery state. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:43</div></div> | |
| 102 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature_html"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_c_l_i_p_temperature.html">hueplusplus::sensors::CLIPTemperature</a></div><div class="ttdoc">CLIP sensor for temperature. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.h:149</div></div> | |
| 103 | +<div class="ttc" id="classhueplusplus_1_1sensors_1_1_base_c_l_i_p_html_a01ee7a7fbf16866e777f48911eaf5072"><div class="ttname"><a href="classhueplusplus_1_1sensors_1_1_base_c_l_i_p.html#a01ee7a7fbf16866e777f48911eaf5072">hueplusplus::sensors::BaseCLIP::hasBatteryState</a></div><div class="ttdeci">bool hasBatteryState() const</div><div class="ttdoc">Check whether the sensor has a battery state. </div><div class="ttdef"><b>Definition:</b> CLIPSensors.cpp:39</div></div> | |
| 104 | +</div><!-- fragment --></div><!-- contents --> | |
| 105 | +<!-- start footer part --> | |
| 106 | +<hr class="footer"/><address class="footer"><small> | |
| 107 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 108 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 109 | +</a> 1.8.13 | |
| 110 | +</small></address> | |
| 111 | +</body> | |
| 112 | +</html> | ... | ... |
_color_hue_strategy_8h.html
0 → 100644
| 1 | +++ a/_color_hue_strategy_8h.html | |
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
| 3 | +<head> | |
| 4 | +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | |
| 5 | +<meta http-equiv="X-UA-Compatible" content="IE=9"/> | |
| 6 | +<meta name="generator" content="Doxygen 1.8.13"/> | |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
| 8 | +<title>hueplusplus: include/hueplusplus/ColorHueStrategy.h File Reference</title> | |
| 9 | +<link href="tabs.css" rel="stylesheet" type="text/css"/> | |
| 10 | +<script type="text/javascript" src="jquery.js"></script> | |
| 11 | +<script type="text/javascript" src="dynsections.js"></script> | |
| 12 | +<link href="search/search.css" rel="stylesheet" type="text/css"/> | |
| 13 | +<script type="text/javascript" src="search/searchdata.js"></script> | |
| 14 | +<script type="text/javascript" src="search/search.js"></script> | |
| 15 | +<link href="doxygen.css" rel="stylesheet" type="text/css" /> | |
| 16 | +</head> | |
| 17 | +<body> | |
| 18 | +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | |
| 19 | +<div id="titlearea"> | |
| 20 | +<table cellspacing="0" cellpadding="0"> | |
| 21 | + <tbody> | |
| 22 | + <tr style="height: 56px;"> | |
| 23 | + <td id="projectalign" style="padding-left: 0.5em;"> | |
| 24 | + <div id="projectname">hueplusplus | |
| 25 | +  <span id="projectnumber">1.0.0</span> | |
| 26 | + </div> | |
| 27 | + </td> | |
| 28 | + </tr> | |
| 29 | + </tbody> | |
| 30 | +</table> | |
| 31 | +</div> | |
| 32 | +<!-- end header part --> | |
| 33 | +<!-- Generated by Doxygen 1.8.13 --> | |
| 34 | +<script type="text/javascript"> | |
| 35 | +var searchBox = new SearchBox("searchBox", "search",false,'Search'); | |
| 36 | +</script> | |
| 37 | +<script type="text/javascript" src="menudata.js"></script> | |
| 38 | +<script type="text/javascript" src="menu.js"></script> | |
| 39 | +<script type="text/javascript"> | |
| 40 | +$(function() { | |
| 41 | + initMenu('',true,false,'search.php','Search'); | |
| 42 | + $(document).ready(function() { init_search(); }); | |
| 43 | +}); | |
| 44 | +</script> | |
| 45 | +<div id="main-nav"></div> | |
| 46 | +<!-- window showing the filter options --> | |
| 47 | +<div id="MSearchSelectWindow" | |
| 48 | + onmouseover="return searchBox.OnSearchSelectShow()" | |
| 49 | + onmouseout="return searchBox.OnSearchSelectHide()" | |
| 50 | + onkeydown="return searchBox.OnSearchSelectKey(event)"> | |
| 51 | +</div> | |
| 52 | + | |
| 53 | +<!-- iframe showing the search results (closed by default) --> | |
| 54 | +<div id="MSearchResultsWindow"> | |
| 55 | +<iframe src="javascript:void(0)" frameborder="0" | |
| 56 | + name="MSearchResults" id="MSearchResults"> | |
| 57 | +</iframe> | |
| 58 | +</div> | |
| 59 | + | |
| 60 | +<div id="nav-path" class="navpath"> | |
| 61 | + <ul> | |
| 62 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li> </ul> | |
| 63 | +</div> | |
| 64 | +</div><!-- top --> | |
| 65 | +<div class="header"> | |
| 66 | + <div class="summary"> | |
| 67 | +<a href="#nested-classes">Classes</a> | | |
| 68 | +<a href="#namespaces">Namespaces</a> </div> | |
| 69 | + <div class="headertitle"> | |
| 70 | +<div class="title">ColorHueStrategy.h File Reference</div> </div> | |
| 71 | +</div><!--header--> | |
| 72 | +<div class="contents"> | |
| 73 | +<div class="textblock"><code>#include <cstdint></code><br /> | |
| 74 | +<code>#include <memory></code><br /> | |
| 75 | +<code>#include "<a class="el" href="_color_units_8h_source.html">ColorUnits.h</a>"</code><br /> | |
| 76 | +</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 77 | + <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for ColorHueStrategy.h:</div> | |
| 78 | +<div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | |
| 79 | +</div> | |
| 80 | +<div id="dynsection-0-content" class="dyncontent" style="display:none;"> | |
| 81 | +<div class="center"><img src="_color_hue_strategy_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_color_hue_strategy_8h" alt=""/></div> | |
| 82 | +<map name="include_2hueplusplus_2_color_hue_strategy_8h" id="include_2hueplusplus_2_color_hue_strategy_8h"> | |
| 83 | +<area shape="rect" id="node4" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="144,95,247,121"/> | |
| 84 | +</map> | |
| 85 | +</div> | |
| 86 | +</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | |
| 87 | + <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> | |
| 88 | +<div id="dynsection-1-summary" class="dynsummary" style="display:block;"> | |
| 89 | +</div> | |
| 90 | +<div id="dynsection-1-content" class="dyncontent" style="display:none;"> | |
| 91 | +<div class="center"><img src="_color_hue_strategy_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_color_hue_strategy_8hdep" alt=""/></div> | |
| 92 | +<map name="include_2hueplusplus_2_color_hue_strategy_8hdep" id="include_2hueplusplus_2_color_hue_strategy_8hdep"> | |
| 93 | +<area shape="rect" id="node2" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="1487,273,1637,315"/> | |
| 94 | +<area shape="rect" id="node10" href="_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="821,95,972,136"/> | |
| 95 | +<area shape="rect" id="node15" href="_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="268,184,464,225"/> | |
| 96 | +<area shape="rect" id="node3" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="1699,363,1865,404"/> | |
| 97 | +<area shape="rect" id="node5" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="1890,370,2005,397"/> | |
| 98 | +<area shape="rect" id="node6" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="2029,370,2225,397"/> | |
| 99 | +<area shape="rect" id="node7" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="1052,370,1227,397"/> | |
| 100 | +<area shape="rect" id="node8" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="1251,370,1425,397"/> | |
| 101 | +<area shape="rect" id="node9" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="1449,370,1675,397"/> | |
| 102 | +<area shape="rect" id="node4" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="1682,452,1882,479"/> | |
| 103 | +<area shape="rect" id="node11" href="_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1323,184,1473,225"/> | |
| 104 | +<area shape="rect" id="node13" href="_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="260,273,472,315"/> | |
| 105 | +<area shape="rect" id="node17" href="_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="1143,273,1411,315"/> | |
| 106 | +<area shape="rect" id="node19" href="_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="897,184,1149,225"/> | |
| 107 | +<area shape="rect" id="node21" href="_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="667,184,873,225"/> | |
| 108 | +<area shape="rect" id="node23" href="_light_8cpp.html" title="src/Light.cpp" alt="" coords="539,191,643,218"/> | |
| 109 | +<area shape="rect" id="node12" href="_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="557,370,737,397"/> | |
| 110 | +<area shape="rect" id="node14" href="_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="243,370,489,397"/> | |
| 111 | +<area shape="rect" id="node16" href="_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="5,281,236,307"/> | |
| 112 | +<area shape="rect" id="node18" href="_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="805,363,1028,404"/> | |
| 113 | +<area shape="rect" id="node20" href="_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="912,273,1119,315"/> | |
| 114 | +<area shape="rect" id="node22" href="_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="597,281,836,307"/> | |
| 115 | +</map> | |
| 116 | +</div> | |
| 117 | +</div> | |
| 118 | +<p><a href="_color_hue_strategy_8h_source.html">Go to the source code of this file.</a></p> | |
| 119 | +<table class="memberdecls"> | |
| 120 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> | |
| 121 | +Classes</h2></td></tr> | |
| 122 | +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_color_hue_strategy.html">hueplusplus::ColorHueStrategy</a></td></tr> | |
| 123 | +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Virtual base class for all ColorHueStrategies. <a href="classhueplusplus_1_1_color_hue_strategy.html#details">More...</a><br /></td></tr> | |
| 124 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 125 | +</table><table class="memberdecls"> | |
| 126 | +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> | |
| 127 | +Namespaces</h2></td></tr> | |
| 128 | +<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr> | |
| 129 | +<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft"> </td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr> | |
| 130 | +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | |
| 131 | +</table> | |
| 132 | +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | |
| 133 | +<div class="textblock"><p>Copyright Notice<br /> | |
| 134 | +Copyright (C) 2017 Jan Rogall - developer<br /> | |
| 135 | +Copyright (C) 2017 Moritz Wirger - developer<br /> | |
| 136 | + This file is part of hueplusplus.</p> | |
| 137 | +<p>hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> | |
| 138 | +<p>hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> | |
| 139 | +<p>You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p> | |
| 140 | +</div></div><!-- contents --> | |
| 141 | +<!-- start footer part --> | |
| 142 | +<hr class="footer"/><address class="footer"><small> | |
| 143 | +Generated by  <a href="http://www.doxygen.org/index.html"> | |
| 144 | +<img class="footer" src="doxygen.png" alt="doxygen"/> | |
| 145 | +</a> 1.8.13 | |
| 146 | +</small></address> | |
| 147 | +</body> | |
| 148 | +</html> | ... | ... |
_color_hue_strategy_8h__dep__incl.map
0 → 100644
| 1 | +++ a/_color_hue_strategy_8h__dep__incl.map | |
| 1 | +<map id="include/hueplusplus/ColorHueStrategy.h" name="include/hueplusplus/ColorHueStrategy.h"> | |
| 2 | +<area shape="rect" id="node2" href="$_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="1487,273,1637,315"/> | |
| 3 | +<area shape="rect" id="node10" href="$_light_8h.html" title="include/hueplusplus\l/Light.h" alt="" coords="821,95,972,136"/> | |
| 4 | +<area shape="rect" id="node15" href="$_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="268,184,464,225"/> | |
| 5 | +<area shape="rect" id="node3" href="$_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="1699,363,1865,404"/> | |
| 6 | +<area shape="rect" id="node5" href="$_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="1890,370,2005,397"/> | |
| 7 | +<area shape="rect" id="node6" href="$_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="2029,370,2225,397"/> | |
| 8 | +<area shape="rect" id="node7" href="$_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="1052,370,1227,397"/> | |
| 9 | +<area shape="rect" id="node8" href="$_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="1251,370,1425,397"/> | |
| 10 | +<area shape="rect" id="node9" href="$_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="1449,370,1675,397"/> | |
| 11 | +<area shape="rect" id="node4" href="$_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="1682,452,1882,479"/> | |
| 12 | +<area shape="rect" id="node11" href="$_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="1323,184,1473,225"/> | |
| 13 | +<area shape="rect" id="node13" href="$_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="260,273,472,315"/> | |
| 14 | +<area shape="rect" id="node17" href="$_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="1143,273,1411,315"/> | |
| 15 | +<area shape="rect" id="node19" href="$_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="897,184,1149,225"/> | |
| 16 | +<area shape="rect" id="node21" href="$_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="667,184,873,225"/> | |
| 17 | +<area shape="rect" id="node23" href="$_light_8cpp.html" title="src/Light.cpp" alt="" coords="539,191,643,218"/> | |
| 18 | +<area shape="rect" id="node12" href="$_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="557,370,737,397"/> | |
| 19 | +<area shape="rect" id="node14" href="$_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="243,370,489,397"/> | |
| 20 | +<area shape="rect" id="node16" href="$_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="5,281,236,307"/> | |
| 21 | +<area shape="rect" id="node18" href="$_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="805,363,1028,404"/> | |
| 22 | +<area shape="rect" id="node20" href="$_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="912,273,1119,315"/> | |
| 23 | +<area shape="rect" id="node22" href="$_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="597,281,836,307"/> | |
| 24 | +</map> | ... | ... |