_snippets_8cpp.html 14.1 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: examples/Snippets.cpp 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_d28a4824dc47e487b107a5db32ef43c4.html">examples</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Snippets.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Contains code snippets used in the documentation, performs no useful functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="_bridge_8h_source.html">hueplusplus/Bridge.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_c_l_i_p_sensors_8h_source.html">hueplusplus/CLIPSensors.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_z_l_l_sensors_8h_source.html">hueplusplus/ZLLSensors.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_lin_http_handler_8h_source.html">hueplusplus/LinHttpHandler.h</a>&gt;</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 Snippets.cpp:</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="_snippets_8cpp__incl.png" border="0" usemap="#examples_2_snippets_8cpp" alt=""/></div>
<map name="examples_2_snippets_8cpp" id="examples_2_snippets_8cpp">
<area shape="rect" id="node2" href="_bridge_8h.html" title="hueplusplus/Bridge.h" alt="" coords="1886,80,2045,107"/>
<area shape="rect" id="node43" href="_c_l_i_p_sensors_8h.html" title="hueplusplus/CLIPSensors.h" alt="" coords="1015,80,1209,107"/>
<area shape="rect" id="node44" href="_z_l_l_sensors_8h.html" title="hueplusplus/ZLLSensors.h" alt="" coords="1386,80,1577,107"/>
<area shape="rect" id="node45" href="_lin_http_handler_8h.html" title="hueplusplus/LinHttpHandler.h" alt="" coords="2528,379,2741,405"/>
<area shape="rect" id="node8" href="_a_p_i_cache_8h.html" title="APICache.h" alt="" coords="670,379,765,405"/>
<area shape="rect" id="node10" href="_hue_command_a_p_i_8h.html" title="HueCommandAPI.h" alt="" coords="809,453,957,480"/>
<area shape="rect" id="node16" href="_i_http_handler_8h.html" title="IHttpHandler.h" alt="" coords="2165,528,2281,555"/>
<area shape="rect" id="node18" href="_bridge_config_8h.html" title="BridgeConfig.h" alt="" coords="45,304,163,331"/>
<area shape="rect" id="node21" href="_brightness_strategy_8h.html" title="BrightnessStrategy.h" alt="" coords="2646,304,2802,331"/>
<area shape="rect" id="node23" href="_color_hue_strategy_8h.html" title="ColorHueStrategy.h" alt="" coords="2867,379,3013,405"/>
<area shape="rect" id="node25" href="_color_temperature_strategy_8h.html" title="ColorTemperatureStrategy.h" alt="" coords="3109,304,3312,331"/>
<area shape="rect" id="node27" href="_group_8h.html" title="Group.h" alt="" coords="1107,304,1181,331"/>
<area shape="rect" id="node30" href="_hue_device_types_8h.html" title="HueDeviceTypes.h" alt="" coords="2029,155,2171,181"/>
<area shape="rect" id="node31" href="_light_8h.html" title="Light.h" alt="" coords="2067,229,2133,256"/>
<area shape="rect" id="node33" href="_resource_list_8h.html" title="ResourceList.h" alt="" coords="1663,304,1779,331"/>
<area shape="rect" id="node36" href="_utils_8h.html" title="Utils.h" alt="" coords="2187,379,2251,405"/>
<area shape="rect" id="node37" href="_rule_8h.html" title="Rule.h" alt="" coords="449,304,511,331"/>
<area shape="rect" id="node39" href="_scene_8h.html" title="Scene.h" alt="" coords="1903,304,1977,331"/>
<area shape="rect" id="node40" href="_schedule_8h.html" title="Schedule.h" alt="" coords="591,304,684,331"/>
<area shape="rect" id="node41" href="_sensor_8h.html" title="Sensor.h" alt="" coords="789,229,867,256"/>
<area shape="rect" id="node42" href="_sensor_list_8h.html" title="SensorList.h" alt="" coords="980,155,1081,181"/>
<area shape="rect" id="node13" href="_hue_exception_8h.html" title="HueException.h" alt="" coords="1407,528,1531,555"/>
<area shape="rect" id="node19" href="_time_pattern_8h.html" title="TimePattern.h" alt="" coords="191,453,305,480"/>
<area shape="rect" id="node24" href="_color_units_8h.html" title="ColorUnits.h" alt="" coords="2395,453,2498,480"/>
<area shape="rect" id="node28" href="_action_8h.html" title="Action.h" alt="" coords="1111,453,1185,480"/>
<area shape="rect" id="node29" href="_state_transaction_8h.html" title="StateTransaction.h" alt="" coords="1195,379,1338,405"/>
<area shape="rect" id="node32" href="_base_device_8h.html" title="BaseDevice.h" alt="" coords="2001,304,2111,331"/>
<area shape="rect" id="node35" href="_new_device_list_8h.html" title="NewDeviceList.h" alt="" coords="1515,379,1645,405"/>
<area shape="rect" id="node38" href="_condition_8h.html" title="Condition.h" alt="" coords="195,379,291,405"/>
<area shape="rect" id="node46" href="_base_http_handler_8h.html" title="BaseHttpHandler.h" alt="" coords="2624,453,2768,480"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a138eee560865a8e8b11370e992c24366"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_snippets_8cpp.html#a138eee560865a8e8b11370e992c24366">snippet1</a> ()</td></tr>
<tr class="separator:a138eee560865a8e8b11370e992c24366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9f7bb7703b5ac6a6329821d89f0cd93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_snippets_8cpp.html#af9f7bb7703b5ac6a6329821d89f0cd93">snippet2</a> ()</td></tr>
<tr class="separator:af9f7bb7703b5ac6a6329821d89f0cd93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aede0084aa1a30d1211d54171c4b3b4b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_snippets_8cpp.html#aede0084aa1a30d1211d54171c4b3b4b1">snippet3</a> ()</td></tr>
<tr class="separator:aede0084aa1a30d1211d54171c4b3b4b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21c5c8eb2c24c4fb1b7fb7d3564ce3f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_snippets_8cpp.html#a21c5c8eb2c24c4fb1b7fb7d3564ce3f3">snippet4</a> ()</td></tr>
<tr class="separator:a21c5c8eb2c24c4fb1b7fb7d3564ce3f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_snippets_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><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>Contains code snippets used in the documentation, performs no useful functions. </p>
<p>Copyright Notice<br />
Copyright (C) 2021 Jan Rogall - 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><h2 class="groupheader">Function Documentation</h2>
<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">&#9670;&nbsp;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a138eee560865a8e8b11370e992c24366"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a138eee560865a8e8b11370e992c24366">&#9670;&nbsp;</a></span>snippet1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void snippet1 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>[search-bridge]</p>
<p>[search-bridge] [get-bridge-2]</p>
<p>[get-bridge-1]</p>
<p>[get-bridge-1] [get-bridge-2] [light-1]</p>
<p>[light-1] [light-2]</p>
<p>[light-2] [light-3]</p>
<p>[light-3] [light-4]</p>
<p>[light-4] [light-5]</p>
<p>[light-5]</p>
<p>[control-lights]</p>
<p>[control-lights] [control-groups]</p>
<p>[control-groups]</p>
<p>[sensor-conditions] [known-sensor-1]</p>
<p>[known-sensor-1]</p>
<p>[sensor-conditions] [known-sensor-2]</p>
<p>[known-sensor-2] [generic-sensor-1]</p>
<p>[generic-sensor-1]</p>
<p>[transaction-lights]</p>
<p>[transaction-lights]</p>
<p>[transaction-advanced]</p>
<p>[transaction-advanced] [transaction-groups]</p>
<p>[transaction-groups]</p>
<p>[transaction-action]</p>
<p>[transaction-action] </p>

</div>
</div>
<a id="af9f7bb7703b5ac6a6329821d89f0cd93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9f7bb7703b5ac6a6329821d89f0cd93">&#9670;&nbsp;</a></span>snippet2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void snippet2 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>[get-bridge-3]</p>
<p>[get-bridge-3]</p>
<p>[generic-sensor-2]</p>
<p>[generic-sensor-2] </p>

</div>
</div>
<a id="aede0084aa1a30d1211d54171c4b3b4b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aede0084aa1a30d1211d54171c4b3b4b1">&#9670;&nbsp;</a></span>snippet3()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void snippet3 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>[shared-bridge-1]</p>
<p>[shared-bridge-1] [refresh-example]</p>
<p>[refresh-example] </p>

</div>
</div>
<a id="a21c5c8eb2c24c4fb1b7fb7d3564ce3f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21c5c8eb2c24c4fb1b7fb7d3564ce3f3">&#9670;&nbsp;</a></span>snippet4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void snippet4 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>[shared-bridge-2]</p>
<p>[shared-bridge-2] </p>

</div>
</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>