_light_8h.html 14.4 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hueplusplus: include/hueplusplus/Light.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hueplusplus
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e05b4b7707bd5f9fd045e8be02b17d0a.html">hueplusplus</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Light.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;memory&gt;</code><br />
<code>#include &quot;<a class="el" href="_a_p_i_cache_8h_source.html">APICache.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_base_device_8h_source.html">BaseDevice.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_brightness_strategy_8h_source.html">BrightnessStrategy.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_color_hue_strategy_8h_source.html">ColorHueStrategy.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_color_temperature_strategy_8h_source.html">ColorTemperatureStrategy.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_hue_command_a_p_i_8h_source.html">HueCommandAPI.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_state_transaction_8h_source.html">StateTransaction.h</a>&quot;</code><br />
<code>#include &quot;json/json.hpp&quot;</code><br />
</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for Light.h:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="_light_8h__incl.png" border="0" usemap="#include_2hueplusplus_2_light_8h" alt=""/></div>
<map name="include_2hueplusplus_2_light_8h" id="include_2hueplusplus_2_light_8h">
<area shape="rect" id="node3" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="343,169,438,196"/>
<area shape="rect" id="node6" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="317,244,465,271"/>
<area shape="rect" id="node15" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="558,95,669,121"/>
<area shape="rect" id="node16" href="_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="1013,95,1169,121"/>
<area shape="rect" id="node18" href="_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="967,169,1113,196"/>
<area shape="rect" id="node20" href="_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="1279,95,1481,121"/>
<area shape="rect" id="node22" href="_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="749,169,891,196"/>
<area shape="rect" id="node9" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="498,319,622,345"/>
<area shape="rect" id="node12" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="127,319,243,345"/>
<area shape="rect" id="node19" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="949,244,1051,271"/>
<area shape="rect" id="node23" href="_action_8h.html" title="Action.h" alt="" coords="849,244,924,271"/>
</map>
</div>
</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="_light_8h__dep__incl.png" border="0" usemap="#include_2hueplusplus_2_light_8hdep" alt=""/></div>
<map name="include_2hueplusplus_2_light_8hdep" id="include_2hueplusplus_2_light_8hdep">
<area shape="rect" id="node2" href="_hue_device_types_8h.html" title="include/hueplusplus\l/HueDeviceTypes.h" alt="" coords="896,95,1047,136"/>
<area shape="rect" id="node3" href="_bridge_8h.html" title="include/hueplusplus\l/Bridge.h" alt="" coords="691,184,841,225"/>
<area shape="rect" id="node12" href="_extended_color_hue_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorHueStrategy.h" alt="" coords="1008,184,1220,225"/>
<area shape="rect" id="node14" href="_simple_color_hue_strategy_8h.html" title="include/hueplusplus\l/SimpleColorHueStrategy.h" alt="" coords="1261,95,1457,136"/>
<area shape="rect" id="node16" href="_extended_color_temperature_strategy_8h.html" title="include/hueplusplus\l/ExtendedColorTemperatureStrategy.h" alt="" coords="2147,184,2415,225"/>
<area shape="rect" id="node18" href="_simple_color_temperature_strategy_8h.html" title="include/hueplusplus\l/SimpleColorTemperatureStrategy.h" alt="" coords="1752,95,2004,136"/>
<area shape="rect" id="node20" href="_simple_brightness_strategy_8h.html" title="include/hueplusplus\l/SimpleBrightnessStrategy.h" alt="" coords="1482,95,1687,136"/>
<area shape="rect" id="node22" href="_light_8cpp.html" title="src/Light.cpp" alt="" coords="2079,102,2183,129"/>
<area shape="rect" id="node11" href="_hue_device_types_8cpp.html" title="src/HueDeviceTypes.cpp" alt="" coords="1473,281,1653,307"/>
<area shape="rect" id="node4" href="_entertainment_mode_8h.html" title="include/hueplusplus\l/EntertainmentMode.h" alt="" coords="652,273,819,315"/>
<area shape="rect" id="node6" href="_bridge_8cpp.html" title="src/Bridge.cpp" alt="" coords="843,281,958,307"/>
<area shape="rect" id="node7" href="_bridge_setup_8cpp.html" title="examples/BridgeSetup.cpp" alt="" coords="983,281,1179,307"/>
<area shape="rect" id="node8" href="_lights_off_8cpp.html" title="examples/LightsOff.cpp" alt="" coords="5,281,180,307"/>
<area shape="rect" id="node9" href="_snippets_8cpp.html" title="Contains code snippets used in the documentation, performs no useful functions. " alt="" coords="205,281,378,307"/>
<area shape="rect" id="node10" href="_username_config_8cpp.html" title="examples/UsernameConfig.cpp" alt="" coords="403,281,628,307"/>
<area shape="rect" id="node5" href="_entertainment_mode_8cpp.html" title="src/EntertainmentMode.cpp" alt="" coords="635,363,835,389"/>
<area shape="rect" id="node13" href="_extended_color_hue_strategy_8cpp.html" title="src/ExtendedColorHueStrategy.cpp" alt="" coords="1203,281,1449,307"/>
<area shape="rect" id="node15" href="_simple_color_hue_strategy_8cpp.html" title="src/SimpleColorHueStrategy.cpp" alt="" coords="1244,191,1475,218"/>
<area shape="rect" id="node17" href="_extended_color_temperature_strategy_8cpp.html" title="src/ExtendedColorTemperature\lStrategy.cpp" alt="" coords="2169,273,2392,315"/>
<area shape="rect" id="node19" href="_simple_color_temperature_strategy_8cpp.html" title="src/SimpleColorTemperature\lStrategy.cpp" alt="" coords="1916,184,2123,225"/>
<area shape="rect" id="node21" href="_simple_brightness_strategy_8cpp.html" title="src/SimpleBrightnessStrategy.cpp" alt="" coords="1601,191,1840,218"/>
</map>
</div>
</div>
<p><a href="_light_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_light.html">hueplusplus::Light</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class for Hue <a class="el" href="classhueplusplus_1_1_light.html" title="Class for Hue Light fixtures. ">Light</a> fixtures.  <a href="classhueplusplus_1_1_light.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacehueplusplus"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html">hueplusplus</a></td></tr>
<tr class="memdesc:namespacehueplusplus"><td class="mdescLeft">&#160;</td><td class="mdescRight">Namespace for the hueplusplus library. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aa4ee261126f0bc8edc07e67bc811dc43"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">hueplusplus::ColorType</a> { <br />
&#160;&#160;<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43a0db45d2a4141101bdfe48e3314cfbca3">hueplusplus::ColorType::UNDEFINED</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43ab50339a10e1de285ac99d4c3990b8693">hueplusplus::ColorType::NONE</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43acb12f7ecdf09fc7c16dd11aa9c6fb9ed">hueplusplus::ColorType::GAMUT_A</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43aca225844aaa69efde18ab37ee40e76b4">hueplusplus::ColorType::GAMUT_B</a>, 
<br />
&#160;&#160;<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43af87f15ae56e1182d08c4d7e142007618">hueplusplus::ColorType::GAMUT_C</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43ab976538812ef6e3e5881e245d5fc3c76">hueplusplus::ColorType::TEMPERATURE</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43a189c02d10c499277b86e179440e71848">hueplusplus::ColorType::GAMUT_A_TEMPERATURE</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43acb8141a951a917a3dc3354b079e0b251">hueplusplus::ColorType::GAMUT_B_TEMPERATURE</a>, 
<br />
&#160;&#160;<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43ad1b983724d106f950a4d1eb0ecd2683c">hueplusplus::ColorType::GAMUT_C_TEMPERATURE</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43ae100b2c55540df23847244edf46da251">hueplusplus::ColorType::GAMUT_OTHER</a>, 
<a class="el" href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43a48e009dd5be70f354fd266843089718d">hueplusplus::ColorType::GAMUT_OTHER_TEMPERATURE</a>
<br />
 }<tr class="memdesc:aa4ee261126f0bc8edc07e67bc811dc43"><td class="mdescLeft">&#160;</td><td class="mdescRight">enum that specifies the color type of all HueLights  <a href="namespacehueplusplus.html#aa4ee261126f0bc8edc07e67bc811dc43">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:aa4ee261126f0bc8edc07e67bc811dc43"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Copyright Notice<br />
Copyright (C) 2017 Jan Rogall - developer<br />
Copyright (C) 2017 Moritz Wirger - developer<br />
 This file is part of hueplusplus.</p>
<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>
<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>
<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>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>