classhueplusplus_1_1sensors_1_1_z_l_l_switch.html 60.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hueplusplus: hueplusplus::sensors::ZLLSwitch Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hueplusplus
   &#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="namespacehueplusplus.html">hueplusplus</a></li><li class="navelem"><a class="el" href="namespacehueplusplus_1_1sensors.html">sensors</a></li><li class="navelem"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html">ZLLSwitch</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classhueplusplus_1_1sensors_1_1_z_l_l_switch-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">hueplusplus::sensors::ZLLSwitch Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>ZigBee sensor reporting button presses.  
 <a href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_z_l_l_sensors_8h_source.html">hueplusplus/ZLLSensors.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for hueplusplus::sensors::ZLLSwitch:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classhueplusplus_1_1sensors_1_1_z_l_l_switch__inherit__graph.png" border="0" usemap="#hueplusplus_1_1sensors_1_1_z_l_l_switch_inherit__map" alt="Inheritance graph"/></div>
<map name="hueplusplus_1_1sensors_1_1_z_l_l_switch_inherit__map" id="hueplusplus_1_1sensors_1_1_z_l_l_switch_inherit__map">
<area shape="rect" id="node2" href="classhueplusplus_1_1_base_device.html" title="Base class for physical devices connected to the bridge (sensor or light). " alt="" coords="5,5,191,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for hueplusplus::sensors::ZLLSwitch:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classhueplusplus_1_1sensors_1_1_z_l_l_switch__coll__graph.png" border="0" usemap="#hueplusplus_1_1sensors_1_1_z_l_l_switch_coll__map" alt="Collaboration graph"/></div>
<map name="hueplusplus_1_1sensors_1_1_z_l_l_switch_coll__map" id="hueplusplus_1_1sensors_1_1_z_l_l_switch_coll__map">
<area shape="rect" id="node2" href="classhueplusplus_1_1_base_device.html" title="Base class for physical devices connected to the bridge (sensor or light). " alt="" coords="5,95,191,121"/>
<area shape="rect" id="node3" href="classhueplusplus_1_1_a_p_i_cache.html" title="Caches API GET requests and refreshes regularly. " alt="" coords="13,5,183,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a821447c3df43f9c0b6f138d76b5e27bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a821447c3df43f9c0b6f138d76b5e27bf">ZLLSwitch</a> (<a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a> sensor)</td></tr>
<tr class="memdesc:a821447c3df43f9c0b6f138d76b5e27bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct from generic sensor.  <a href="#a821447c3df43f9c0b6f138d76b5e27bf">More...</a><br /></td></tr>
<tr class="separator:a821447c3df43f9c0b6f138d76b5e27bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95100a07a253dc8e3563fbffeed52313"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a95100a07a253dc8e3563fbffeed52313">isOn</a> () const</td></tr>
<tr class="memdesc:a95100a07a253dc8e3563fbffeed52313"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if sensor is on.  <a href="#a95100a07a253dc8e3563fbffeed52313">More...</a><br /></td></tr>
<tr class="separator:a95100a07a253dc8e3563fbffeed52313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ce19739bcfc5ad2434178d2456ce34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a00ce19739bcfc5ad2434178d2456ce34">setOn</a> (bool on)</td></tr>
<tr class="memdesc:a00ce19739bcfc5ad2434178d2456ce34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable sensor.  <a href="#a00ce19739bcfc5ad2434178d2456ce34">More...</a><br /></td></tr>
<tr class="separator:a00ce19739bcfc5ad2434178d2456ce34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aabef4adcb2d7b4a840d3b00fd90b54"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a5aabef4adcb2d7b4a840d3b00fd90b54">hasBatteryState</a> () const</td></tr>
<tr class="memdesc:a5aabef4adcb2d7b4a840d3b00fd90b54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the sensor has a battery state.  <a href="#a5aabef4adcb2d7b4a840d3b00fd90b54">More...</a><br /></td></tr>
<tr class="separator:a5aabef4adcb2d7b4a840d3b00fd90b54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17e5a1725ae1d531df52bb0db39f0c32"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a17e5a1725ae1d531df52bb0db39f0c32">getBatteryState</a> () const</td></tr>
<tr class="memdesc:a17e5a1725ae1d531df52bb0db39f0c32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get battery state.  <a href="#a17e5a1725ae1d531df52bb0db39f0c32">More...</a><br /></td></tr>
<tr class="separator:a17e5a1725ae1d531df52bb0db39f0c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55de697650c3412715b7e6a29becc76d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacehueplusplus.html#aeb1b8dcc03d48ce621a23ce3b2012c1a">Alert</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a55de697650c3412715b7e6a29becc76d">getLastAlert</a> () const</td></tr>
<tr class="memdesc:a55de697650c3412715b7e6a29becc76d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get last sent alert.  <a href="#a55de697650c3412715b7e6a29becc76d">More...</a><br /></td></tr>
<tr class="separator:a55de697650c3412715b7e6a29becc76d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65c4b388a66aa817c36d0d10685e92c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a65c4b388a66aa817c36d0d10685e92c7">sendAlert</a> (<a class="el" href="namespacehueplusplus.html#aeb1b8dcc03d48ce621a23ce3b2012c1a">Alert</a> type)</td></tr>
<tr class="memdesc:a65c4b388a66aa817c36d0d10685e92c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send alert.  <a href="#a65c4b388a66aa817c36d0d10685e92c7">More...</a><br /></td></tr>
<tr class="separator:a65c4b388a66aa817c36d0d10685e92c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95541d17dd87123e83c46c1eb2d0ad4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#ab95541d17dd87123e83c46c1eb2d0ad4">isReachable</a> () const</td></tr>
<tr class="memdesc:ab95541d17dd87123e83c46c1eb2d0ad4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the sensor is reachable.  <a href="#ab95541d17dd87123e83c46c1eb2d0ad4">More...</a><br /></td></tr>
<tr class="separator:ab95541d17dd87123e83c46c1eb2d0ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb19cd28c93b2a5017535c5d0e97ec3f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#acb19cd28c93b2a5017535c5d0e97ec3f">getButtonEvent</a> () const</td></tr>
<tr class="memdesc:acb19cd28c93b2a5017535c5d0e97ec3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the code of the last switch event.  <a href="#acb19cd28c93b2a5017535c5d0e97ec3f">More...</a><br /></td></tr>
<tr class="separator:acb19cd28c93b2a5017535c5d0e97ec3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3776348358cca0de1e455c3d42c26a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a3776348358cca0de1e455c3d42c26a7c">getLastUpdated</a> () const</td></tr>
<tr class="memdesc:a3776348358cca0de1e455c3d42c26a7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get time of last status update.  <a href="#a3776348358cca0de1e455c3d42c26a7c">More...</a><br /></td></tr>
<tr class="separator:a3776348358cca0de1e455c3d42c26a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classhueplusplus_1_1_base_device"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhueplusplus_1_1_base_device')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr>
<tr class="memitem:ab08c354ca3eef24240f98267df4ae01a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ab08c354ca3eef24240f98267df4ae01a">~BaseDevice</a> ()=default</td></tr>
<tr class="memdesc:ab08c354ca3eef24240f98267df4ae01a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <a href="classhueplusplus_1_1_base_device.html#ab08c354ca3eef24240f98267df4ae01a">More...</a><br /></td></tr>
<tr class="separator:ab08c354ca3eef24240f98267df4ae01a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21122992819e6155867c02578773d0cd inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a21122992819e6155867c02578773d0cd">getId</a> () const</td></tr>
<tr class="memdesc:a21122992819e6155867c02578773d0cd inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the id of this device.  <a href="classhueplusplus_1_1_base_device.html#a21122992819e6155867c02578773d0cd">More...</a><br /></td></tr>
<tr class="separator:a21122992819e6155867c02578773d0cd inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6741ba9ec72108ca0101d41c0b02c568 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a6741ba9ec72108ca0101d41c0b02c568">getType</a> () const</td></tr>
<tr class="memdesc:a6741ba9ec72108ca0101d41c0b02c568 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the device type.  <a href="classhueplusplus_1_1_base_device.html#a6741ba9ec72108ca0101d41c0b02c568">More...</a><br /></td></tr>
<tr class="separator:a6741ba9ec72108ca0101d41c0b02c568 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5331ce38f4e6c9def7bafc23112ccd34 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">getName</a> ()</td></tr>
<tr class="memdesc:a5331ce38f4e6c9def7bafc23112ccd34 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that returns the name of the device.  <a href="classhueplusplus_1_1_base_device.html#a5331ce38f4e6c9def7bafc23112ccd34">More...</a><br /></td></tr>
<tr class="separator:a5331ce38f4e6c9def7bafc23112ccd34 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a095f4467a072fee3091402e7ed31a6fe inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a095f4467a072fee3091402e7ed31a6fe">getName</a> () const</td></tr>
<tr class="memdesc:a095f4467a072fee3091402e7ed31a6fe inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the name of the device.  <a href="classhueplusplus_1_1_base_device.html#a095f4467a072fee3091402e7ed31a6fe">More...</a><br /></td></tr>
<tr class="separator:a095f4467a072fee3091402e7ed31a6fe inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7572be90ab966033ad8b9c7e83598ce inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aa7572be90ab966033ad8b9c7e83598ce">getModelId</a> () const</td></tr>
<tr class="memdesc:aa7572be90ab966033ad8b9c7e83598ce inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the modelid of the device.  <a href="classhueplusplus_1_1_base_device.html#aa7572be90ab966033ad8b9c7e83598ce">More...</a><br /></td></tr>
<tr class="separator:aa7572be90ab966033ad8b9c7e83598ce inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a821dc52df6472b2604f56579dac4ac04 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a821dc52df6472b2604f56579dac4ac04">getUId</a> () const</td></tr>
<tr class="memdesc:a821dc52df6472b2604f56579dac4ac04 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the uniqueid of the device.  <a href="classhueplusplus_1_1_base_device.html#a821dc52df6472b2604f56579dac4ac04">More...</a><br /></td></tr>
<tr class="separator:a821dc52df6472b2604f56579dac4ac04 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6e1af663e4f14afc6293aacdd5130c0 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ad6e1af663e4f14afc6293aacdd5130c0">getManufacturername</a> () const</td></tr>
<tr class="memdesc:ad6e1af663e4f14afc6293aacdd5130c0 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the manufacturername of the device.  <a href="classhueplusplus_1_1_base_device.html#ad6e1af663e4f14afc6293aacdd5130c0">More...</a><br /></td></tr>
<tr class="separator:ad6e1af663e4f14afc6293aacdd5130c0 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53f675db31058c574fbf55baea8bd556 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a53f675db31058c574fbf55baea8bd556">getProductname</a> () const</td></tr>
<tr class="memdesc:a53f675db31058c574fbf55baea8bd556 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the productname of the device.  <a href="classhueplusplus_1_1_base_device.html#a53f675db31058c574fbf55baea8bd556">More...</a><br /></td></tr>
<tr class="separator:a53f675db31058c574fbf55baea8bd556 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebc5484b45b833491385a5381e3234bb inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">getSwVersion</a> ()</td></tr>
<tr class="memdesc:aebc5484b45b833491385a5381e3234bb inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that returns the software version of the device.  <a href="classhueplusplus_1_1_base_device.html#aebc5484b45b833491385a5381e3234bb">More...</a><br /></td></tr>
<tr class="separator:aebc5484b45b833491385a5381e3234bb inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a136cdba60a6781c15c6869ddcc7f2e1a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a136cdba60a6781c15c6869ddcc7f2e1a">getSwVersion</a> () const</td></tr>
<tr class="memdesc:a136cdba60a6781c15c6869ddcc7f2e1a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const function that returns the software version of the device.  <a href="classhueplusplus_1_1_base_device.html#a136cdba60a6781c15c6869ddcc7f2e1a">More...</a><br /></td></tr>
<tr class="separator:a136cdba60a6781c15c6869ddcc7f2e1a inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7554114eee573ab784c44d53f439028 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ab7554114eee573ab784c44d53f439028">setName</a> (const std::string &amp;name)</td></tr>
<tr class="memdesc:ab7554114eee573ab784c44d53f439028 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that sets the name of the device.  <a href="classhueplusplus_1_1_base_device.html#ab7554114eee573ab784c44d53f439028">More...</a><br /></td></tr>
<tr class="separator:ab7554114eee573ab784c44d53f439028 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6ac28ae3879a41ace1cd6806ca9a2f1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aa6ac28ae3879a41ace1cd6806ca9a2f1">refresh</a> (bool force=false)</td></tr>
<tr class="memdesc:aa6ac28ae3879a41ace1cd6806ca9a2f1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Refreshes internal cached state.  <a href="classhueplusplus_1_1_base_device.html#aa6ac28ae3879a41ace1cd6806ca9a2f1">More...</a><br /></td></tr>
<tr class="separator:aa6ac28ae3879a41ace1cd6806ca9a2f1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dd630da2c99842700d555788c0b75b1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a5dd630da2c99842700d555788c0b75b1">setRefreshDuration</a> (std::chrono::steady_clock::duration refreshDuration)</td></tr>
<tr class="memdesc:a5dd630da2c99842700d555788c0b75b1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets custom refresh interval for this device.  <a href="classhueplusplus_1_1_base_device.html#a5dd630da2c99842700d555788c0b75b1">More...</a><br /></td></tr>
<tr class="separator:a5dd630da2c99842700d555788c0b75b1 inherit pub_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a5e91e0a6996c64c10ef2126a040dcc31"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a5e91e0a6996c64c10ef2126a040dcc31">c_ON_INITIAL_PRESS</a> = 1000</td></tr>
<tr class="memdesc:a5e91e0a6996c64c10ef2126a040dcc31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 1 (ON) pressed.  <a href="#a5e91e0a6996c64c10ef2126a040dcc31">More...</a><br /></td></tr>
<tr class="separator:a5e91e0a6996c64c10ef2126a040dcc31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab65183a2b0f922d7206fab65b1dbcc89"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#ab65183a2b0f922d7206fab65b1dbcc89">c_ON_HOLD</a> = 1001</td></tr>
<tr class="memdesc:ab65183a2b0f922d7206fab65b1dbcc89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 1 (ON) held.  <a href="#ab65183a2b0f922d7206fab65b1dbcc89">More...</a><br /></td></tr>
<tr class="separator:ab65183a2b0f922d7206fab65b1dbcc89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f0b7376e7d63c3cab9d908606edad79"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a6f0b7376e7d63c3cab9d908606edad79">c_ON_SHORT_RELEASED</a> = 1002</td></tr>
<tr class="memdesc:a6f0b7376e7d63c3cab9d908606edad79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 1 (ON) released short press.  <a href="#a6f0b7376e7d63c3cab9d908606edad79">More...</a><br /></td></tr>
<tr class="separator:a6f0b7376e7d63c3cab9d908606edad79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e0c9f0de2f975c9fd3c328b7880be2f"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a4e0c9f0de2f975c9fd3c328b7880be2f">c_ON_LONG_RELEASED</a> = 1003</td></tr>
<tr class="memdesc:a4e0c9f0de2f975c9fd3c328b7880be2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 1 (ON) released long press.  <a href="#a4e0c9f0de2f975c9fd3c328b7880be2f">More...</a><br /></td></tr>
<tr class="separator:a4e0c9f0de2f975c9fd3c328b7880be2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae44c5a4e35ca3293fed52b03f395d951"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#ae44c5a4e35ca3293fed52b03f395d951">c_UP_INITIAL_PRESS</a> = 2000</td></tr>
<tr class="memdesc:ae44c5a4e35ca3293fed52b03f395d951"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 2 (DIM UP) pressed.  <a href="#ae44c5a4e35ca3293fed52b03f395d951">More...</a><br /></td></tr>
<tr class="separator:ae44c5a4e35ca3293fed52b03f395d951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf761d738e37c1f31acd1a8677d236d4"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#abf761d738e37c1f31acd1a8677d236d4">c_UP_HOLD</a> = 2001</td></tr>
<tr class="memdesc:abf761d738e37c1f31acd1a8677d236d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 2 (DIM UP) held.  <a href="#abf761d738e37c1f31acd1a8677d236d4">More...</a><br /></td></tr>
<tr class="separator:abf761d738e37c1f31acd1a8677d236d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f1772b70d601c88c06e84cc2b8a437"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a78f1772b70d601c88c06e84cc2b8a437">c_UP_SHORT_RELEASED</a> = 2002</td></tr>
<tr class="memdesc:a78f1772b70d601c88c06e84cc2b8a437"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 2 (DIM UP) released short press.  <a href="#a78f1772b70d601c88c06e84cc2b8a437">More...</a><br /></td></tr>
<tr class="separator:a78f1772b70d601c88c06e84cc2b8a437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a933c7c9837e63060e94ce2fb3f8cdb02"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a933c7c9837e63060e94ce2fb3f8cdb02">c_UP_LONG_RELEASED</a> = 2003</td></tr>
<tr class="memdesc:a933c7c9837e63060e94ce2fb3f8cdb02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 2 (DIM UP) released long press.  <a href="#a933c7c9837e63060e94ce2fb3f8cdb02">More...</a><br /></td></tr>
<tr class="separator:a933c7c9837e63060e94ce2fb3f8cdb02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8849139c887c8dacd3523de9f8d34a9f"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a8849139c887c8dacd3523de9f8d34a9f">c_DOWN_INITIAL_PRESS</a> = 3000</td></tr>
<tr class="memdesc:a8849139c887c8dacd3523de9f8d34a9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 3 (DIM DOWN) pressed.  <a href="#a8849139c887c8dacd3523de9f8d34a9f">More...</a><br /></td></tr>
<tr class="separator:a8849139c887c8dacd3523de9f8d34a9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44fddb117658c80827fbd05d435e4185"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a44fddb117658c80827fbd05d435e4185">c_DOWN_HOLD</a> = 3001</td></tr>
<tr class="memdesc:a44fddb117658c80827fbd05d435e4185"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 3 (DIM DOWN) held.  <a href="#a44fddb117658c80827fbd05d435e4185">More...</a><br /></td></tr>
<tr class="separator:a44fddb117658c80827fbd05d435e4185"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a9d638c7bd9d353b79b5c0014a42b38"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a5a9d638c7bd9d353b79b5c0014a42b38">c_DOWN_SHORT_RELEASED</a> = 3002</td></tr>
<tr class="memdesc:a5a9d638c7bd9d353b79b5c0014a42b38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 3 (DIM DOWN) released short press.  <a href="#a5a9d638c7bd9d353b79b5c0014a42b38">More...</a><br /></td></tr>
<tr class="separator:a5a9d638c7bd9d353b79b5c0014a42b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a491ec86c68fd081c452d5b6d79713adb"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a491ec86c68fd081c452d5b6d79713adb">c_DOWN_LONG_RELEASED</a> = 3003</td></tr>
<tr class="memdesc:a491ec86c68fd081c452d5b6d79713adb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 3 (DIM DOWN) released long press.  <a href="#a491ec86c68fd081c452d5b6d79713adb">More...</a><br /></td></tr>
<tr class="separator:a491ec86c68fd081c452d5b6d79713adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70439424ad414ac2e53ab32e6773b4d5"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a70439424ad414ac2e53ab32e6773b4d5">c_OFF_INITIAL_PRESS</a> = 4000</td></tr>
<tr class="memdesc:a70439424ad414ac2e53ab32e6773b4d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 4 (OFF) pressed.  <a href="#a70439424ad414ac2e53ab32e6773b4d5">More...</a><br /></td></tr>
<tr class="separator:a70439424ad414ac2e53ab32e6773b4d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabbcceb8272767c0d920f0613e44ef94"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#aabbcceb8272767c0d920f0613e44ef94">c_OFF_HOLD</a> = 4001</td></tr>
<tr class="memdesc:aabbcceb8272767c0d920f0613e44ef94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 4 (OFF) held.  <a href="#aabbcceb8272767c0d920f0613e44ef94">More...</a><br /></td></tr>
<tr class="separator:aabbcceb8272767c0d920f0613e44ef94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19be6bc753b299e117a7be3ac124a610"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a19be6bc753b299e117a7be3ac124a610">c_OFF_SHORT_RELEASED</a> = 4002</td></tr>
<tr class="memdesc:a19be6bc753b299e117a7be3ac124a610"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 4 (OFF) released short press.  <a href="#a19be6bc753b299e117a7be3ac124a610">More...</a><br /></td></tr>
<tr class="separator:a19be6bc753b299e117a7be3ac124a610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2370f8da7986098d4cdff3f8d8131a2b"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a2370f8da7986098d4cdff3f8d8131a2b">c_OFF_LONG_RELEASED</a> = 4003</td></tr>
<tr class="memdesc:a2370f8da7986098d4cdff3f8d8131a2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Button 4 (OFF) released long press.  <a href="#a2370f8da7986098d4cdff3f8d8131a2b">More...</a><br /></td></tr>
<tr class="separator:a2370f8da7986098d4cdff3f8d8131a2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3bdfb9b3704d3102638af059e560455"><td class="memItemLeft" align="right" valign="top">static constexpr const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#ab3bdfb9b3704d3102638af059e560455">typeStr</a> = &quot;ZLLSwitch&quot;</td></tr>
<tr class="memdesc:ab3bdfb9b3704d3102638af059e560455"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html" title="ZigBee sensor reporting button presses. ">ZLLSwitch</a> sensor type name.  <a href="#ab3bdfb9b3704d3102638af059e560455">More...</a><br /></td></tr>
<tr class="separator:ab3bdfb9b3704d3102638af059e560455"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classhueplusplus_1_1_base_device"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classhueplusplus_1_1_base_device')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr>
<tr class="memitem:a48bf88e758fd7191c599a46751755c97 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">BaseDevice</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const std::shared_ptr&lt; <a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> &gt; &amp;baseCache)</td></tr>
<tr class="memdesc:a48bf88e758fd7191c599a46751755c97 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected ctor that is used by subclasses, construct with shared cache.  <a href="classhueplusplus_1_1_base_device.html#a48bf88e758fd7191c599a46751755c97">More...</a><br /></td></tr>
<tr class="separator:a48bf88e758fd7191c599a46751755c97 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa90386c0cea99464dee6bedb2c68254 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aaa90386c0cea99464dee6bedb2c68254">BaseDevice</a> (int <a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a>, const <a class="el" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a> &amp;commands, const std::string &amp;path, std::chrono::steady_clock::duration refreshDuration, const nlohmann::json &amp;currentState)</td></tr>
<tr class="memdesc:aaa90386c0cea99464dee6bedb2c68254 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected ctor that is used by subclasses.  <a href="classhueplusplus_1_1_base_device.html#aaa90386c0cea99464dee6bedb2c68254">More...</a><br /></td></tr>
<tr class="separator:aaa90386c0cea99464dee6bedb2c68254 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8089e8f00d426427ed2fc7f6b817082 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">virtual nlohmann::json&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#ac8089e8f00d426427ed2fc7f6b817082">sendPutRequest</a> (const std::string &amp;subPath, const nlohmann::json &amp;request, <a class="el" href="structhueplusplus_1_1_file_info.html">FileInfo</a> fileInfo)</td></tr>
<tr class="memdesc:ac8089e8f00d426427ed2fc7f6b817082 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function to send a put request to the device.  <a href="classhueplusplus_1_1_base_device.html#ac8089e8f00d426427ed2fc7f6b817082">More...</a><br /></td></tr>
<tr class="separator:ac8089e8f00d426427ed2fc7f6b817082 inherit pro_methods_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classhueplusplus_1_1_base_device"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classhueplusplus_1_1_base_device')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classhueplusplus_1_1_base_device.html">hueplusplus::BaseDevice</a></td></tr>
<tr class="memitem:aa65a31223cfa2a054c28148c35c8b3cf inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">id</a></td></tr>
<tr class="memdesc:aa65a31223cfa2a054c28148c35c8b3cf inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">holds the id of the device  <a href="classhueplusplus_1_1_base_device.html#aa65a31223cfa2a054c28148c35c8b3cf">More...</a><br /></td></tr>
<tr class="separator:aa65a31223cfa2a054c28148c35c8b3cf inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a526b63fa6eb1c9dc9a7b1926ad0be27a inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a">state</a></td></tr>
<tr class="memdesc:a526b63fa6eb1c9dc9a7b1926ad0be27a inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="mdescLeft">&#160;</td><td class="mdescRight">holds the current state of the device  <a href="classhueplusplus_1_1_base_device.html#a526b63fa6eb1c9dc9a7b1926ad0be27a">More...</a><br /></td></tr>
<tr class="separator:a526b63fa6eb1c9dc9a7b1926ad0be27a inherit pro_attribs_classhueplusplus_1_1_base_device"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>ZigBee sensor reporting button presses. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a821447c3df43f9c0b6f138d76b5e27bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a821447c3df43f9c0b6f138d76b5e27bf">&#9670;&nbsp;</a></span>ZLLSwitch()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">hueplusplus::sensors::ZLLSwitch::ZLLSwitch </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhueplusplus_1_1_sensor.html">Sensor</a>&#160;</td>
          <td class="paramname"><em>sensor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct from generic sensor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a17e5a1725ae1d531df52bb0db39f0c32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17e5a1725ae1d531df52bb0db39f0c32">&#9670;&nbsp;</a></span>getBatteryState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hueplusplus::sensors::ZLLSwitch::getBatteryState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get battery state. </p>
<dl class="section return"><dt>Returns</dt><dd>Battery state in percent </dd></dl>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hueplusplus::sensors::ZLLSwitch::getButtonEvent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the code of the last switch event. </p>
<p>Possible values are <a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html#a5e91e0a6996c64c10ef2126a040dcc31">c_ON_INITIAL_PRESS</a> etc., or any other value. </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacehueplusplus.html#aeb1b8dcc03d48ce621a23ce3b2012c1a">Alert</a> hueplusplus::sensors::ZLLSwitch::getLastAlert </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get last sent alert. </p>
<dl class="section note"><dt>Note</dt><dd>This is not cleared when the alert ends. </dd></dl>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> hueplusplus::sensors::ZLLSwitch::getLastUpdated </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get time of last status update. </p>
<dl class="section return"><dt>Returns</dt><dd>The last update time, or a time with a zero duration from epoch if the last update time is not set. </dd></dl>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hueplusplus::sensors::ZLLSwitch::hasBatteryState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check whether the sensor has a battery state. </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hueplusplus::sensors::ZLLSwitch::isOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if sensor is on. </p>
<p>Sensors which are off do not change their status </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool hueplusplus::sensors::ZLLSwitch::isReachable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check whether the sensor is reachable. </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hueplusplus::sensors::ZLLSwitch::sendAlert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacehueplusplus.html#aeb1b8dcc03d48ce621a23ce3b2012c1a">Alert</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send alert. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
    <tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
    <tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API &quot;error&quot; response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
    <tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
  </table>
  </dd>
</dl>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hueplusplus::sensors::ZLLSwitch::setOn </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable or disable sensor. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::system_error</td><td>when system or socket operations fail </td></tr>
    <tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_exception.html" title="Exception class with file information. Base class of all custom exception classes. ">HueException</a></td><td>when response contained no body </td></tr>
    <tr><td class="paramname"><a class="el" href="classhueplusplus_1_1_hue_a_p_i_response_exception.html" title="Exception caused by a Hue API &quot;error&quot; response with additional information. ">HueAPIResponseException</a></td><td>when response contains an error </td></tr>
    <tr><td class="paramname">nlohmann::json::parse_error</td><td>when response could not be parsed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a44fddb117658c80827fbd05d435e4185"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44fddb117658c80827fbd05d435e4185">&#9670;&nbsp;</a></span>c_DOWN_HOLD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_DOWN_HOLD = 3001</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 3 (DIM DOWN) held. </p>

</div>
</div>
<a id="a8849139c887c8dacd3523de9f8d34a9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8849139c887c8dacd3523de9f8d34a9f">&#9670;&nbsp;</a></span>c_DOWN_INITIAL_PRESS</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_DOWN_INITIAL_PRESS = 3000</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 3 (DIM DOWN) pressed. </p>

</div>
</div>
<a id="a491ec86c68fd081c452d5b6d79713adb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a491ec86c68fd081c452d5b6d79713adb">&#9670;&nbsp;</a></span>c_DOWN_LONG_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_DOWN_LONG_RELEASED = 3003</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 3 (DIM DOWN) released long press. </p>

</div>
</div>
<a id="a5a9d638c7bd9d353b79b5c0014a42b38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a9d638c7bd9d353b79b5c0014a42b38">&#9670;&nbsp;</a></span>c_DOWN_SHORT_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_DOWN_SHORT_RELEASED = 3002</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 3 (DIM DOWN) released short press. </p>

</div>
</div>
<a id="aabbcceb8272767c0d920f0613e44ef94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabbcceb8272767c0d920f0613e44ef94">&#9670;&nbsp;</a></span>c_OFF_HOLD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_OFF_HOLD = 4001</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 4 (OFF) held. </p>

</div>
</div>
<a id="a70439424ad414ac2e53ab32e6773b4d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70439424ad414ac2e53ab32e6773b4d5">&#9670;&nbsp;</a></span>c_OFF_INITIAL_PRESS</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_OFF_INITIAL_PRESS = 4000</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 4 (OFF) pressed. </p>

</div>
</div>
<a id="a2370f8da7986098d4cdff3f8d8131a2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2370f8da7986098d4cdff3f8d8131a2b">&#9670;&nbsp;</a></span>c_OFF_LONG_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_OFF_LONG_RELEASED = 4003</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 4 (OFF) released long press. </p>

</div>
</div>
<a id="a19be6bc753b299e117a7be3ac124a610"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19be6bc753b299e117a7be3ac124a610">&#9670;&nbsp;</a></span>c_OFF_SHORT_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_OFF_SHORT_RELEASED = 4002</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 4 (OFF) released short press. </p>

</div>
</div>
<a id="ab65183a2b0f922d7206fab65b1dbcc89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab65183a2b0f922d7206fab65b1dbcc89">&#9670;&nbsp;</a></span>c_ON_HOLD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_ON_HOLD = 1001</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 1 (ON) held. </p>

</div>
</div>
<a id="a5e91e0a6996c64c10ef2126a040dcc31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e91e0a6996c64c10ef2126a040dcc31">&#9670;&nbsp;</a></span>c_ON_INITIAL_PRESS</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_ON_INITIAL_PRESS = 1000</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 1 (ON) pressed. </p>

</div>
</div>
<a id="a4e0c9f0de2f975c9fd3c328b7880be2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e0c9f0de2f975c9fd3c328b7880be2f">&#9670;&nbsp;</a></span>c_ON_LONG_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_ON_LONG_RELEASED = 1003</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 1 (ON) released long press. </p>

</div>
</div>
<a id="a6f0b7376e7d63c3cab9d908606edad79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f0b7376e7d63c3cab9d908606edad79">&#9670;&nbsp;</a></span>c_ON_SHORT_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_ON_SHORT_RELEASED = 1002</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 1 (ON) released short press. </p>

</div>
</div>
<a id="abf761d738e37c1f31acd1a8677d236d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf761d738e37c1f31acd1a8677d236d4">&#9670;&nbsp;</a></span>c_UP_HOLD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_UP_HOLD = 2001</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 2 (DIM UP) held. </p>

</div>
</div>
<a id="ae44c5a4e35ca3293fed52b03f395d951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae44c5a4e35ca3293fed52b03f395d951">&#9670;&nbsp;</a></span>c_UP_INITIAL_PRESS</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_UP_INITIAL_PRESS = 2000</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 2 (DIM UP) pressed. </p>

</div>
</div>
<a id="a933c7c9837e63060e94ce2fb3f8cdb02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a933c7c9837e63060e94ce2fb3f8cdb02">&#9670;&nbsp;</a></span>c_UP_LONG_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_UP_LONG_RELEASED = 2003</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 2 (DIM UP) released long press. </p>

</div>
</div>
<a id="a78f1772b70d601c88c06e84cc2b8a437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78f1772b70d601c88c06e84cc2b8a437">&#9670;&nbsp;</a></span>c_UP_SHORT_RELEASED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr int hueplusplus::sensors::ZLLSwitch::c_UP_SHORT_RELEASED = 2002</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Button 2 (DIM UP) released short press. </p>

</div>
</div>
<a id="ab3bdfb9b3704d3102638af059e560455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3bdfb9b3704d3102638af059e560455">&#9670;&nbsp;</a></span>typeStr</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr const char * hueplusplus::sensors::ZLLSwitch::typeStr = &quot;ZLLSwitch&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classhueplusplus_1_1sensors_1_1_z_l_l_switch.html" title="ZigBee sensor reporting button presses. ">ZLLSwitch</a> sensor type name. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/hueplusplus/<a class="el" href="_z_l_l_sensors_8h_source.html">ZLLSensors.h</a></li>
<li>src/<a class="el" href="_z_l_l_sensors_8cpp.html">ZLLSensors.cpp</a></li>
</ul>
</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>