_schedule_8h_source.html
26 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
<!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/Schedule.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">hueplusplus
 <span id="projectnumber">1.0.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="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="headertitle">
<div class="title">Schedule.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_schedule_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef INCLUDE_HUEPLUSPLUS_SCHEDULE_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define INCLUDE_HUEPLUSPLUS_SCHEDULE_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="_a_p_i_cache_8h.html">APICache.h</a>"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="_action_8h.html">Action.h</a>"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_time_pattern_8h.html">TimePattern.h</a>"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span><a class="code" href="namespacehueplusplus.html">hueplusplus</a></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_schedule.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_schedule.html">Schedule</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="classhueplusplus_1_1_schedule.html#a56ba462e44b0127f60bab94692f587c5">Schedule</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> std::shared_ptr<APICache>& baseCache);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classhueplusplus_1_1_schedule.html#a56ba462e44b0127f60bab94692f587c5">Schedule</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_hue_command_a_p_i.html">HueCommandAPI</a>& commands, std::chrono::steady_clock::duration refreshDuration, <span class="keyword">const</span> nlohmann::json& currentState);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a2e685940a7ba30e006017e560560aefa">refresh</a>();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a009c144f78ac062c93a9bd8a95713a73">setRefreshDuration</a>(std::chrono::steady_clock::duration refreshDuration);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">int</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a37f25f3d1e77f832f464396e000232db">getId</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  std::string <a class="code" href="classhueplusplus_1_1_schedule.html#a83e78e75d2ddaf8086c596475ea49228">getName</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  std::string <a class="code" href="classhueplusplus_1_1_schedule.html#ac61b203d8c78f8f221a06ba80489147c">getDescription</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="classhueplusplus_1_1_action.html">Action</a> <a class="code" href="classhueplusplus_1_1_schedule.html#a22f049cb0c5ba126481250e74615eb33">getCommand</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classhueplusplus_1_1time_1_1_time_pattern.html">time::TimePattern</a> <a class="code" href="classhueplusplus_1_1_schedule.html#a9a5c158fd270df157a497cd49b509ce9">getTime</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a950e33a7e7ae0d8e6d02bd19818dca39">isEnabled</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">bool</span> <a class="code" href="classhueplusplus_1_1_schedule.html#ad4a98b010f829287a26cc009838ad4d6">getAutodelete</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> <a class="code" href="classhueplusplus_1_1_schedule.html#a914f1463caa28b61f6c5f0ce2b1fba15">getCreated</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classhueplusplus_1_1time_1_1_absolute_time.html">time::AbsoluteTime</a> <a class="code" href="classhueplusplus_1_1_schedule.html#a5d1d7135589ad46765f91ec2e42a8afe">getStartTime</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a8188b278a735798d8ee2894271e47018">setName</a>(<span class="keyword">const</span> std::string& name);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#aee001282333240612577240be9d99c6e">setDescription</a>(<span class="keyword">const</span> std::string& description);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#aa187d2ba634332e94b82a3cb5bb23b6d">setCommand</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_action.html">Action</a>& command);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#ac8cad59605fd436390ac0b5dfe76e359">setTime</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1time_1_1_time_pattern.html">time::TimePattern</a>& timePattern);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a61eedcda0ce06a63163451e9c908f125">setEnabled</a>(<span class="keywordtype">bool</span> enabled);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">void</span> <a class="code" href="classhueplusplus_1_1_schedule.html#a6deae5cd422738bb4b3a6732cacbd7db">setAutodelete</a>(<span class="keywordtype">bool</span> autodelete);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordtype">void</span> sendPutRequest(<span class="keyword">const</span> nlohmann::json& request, <a class="code" href="structhueplusplus_1_1_file_info.html">FileInfo</a> fileInfo);</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">int</span> id;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="classhueplusplus_1_1_a_p_i_cache.html">APICache</a> state;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> };</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classhueplusplus_1_1_create_schedule.html"> 150</a></span> <span class="keyword">class </span><a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& <a class="code" href="classhueplusplus_1_1_schedule.html#a8188b278a735798d8ee2894271e47018">setName</a>(<span class="keyword">const</span> std::string& name);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& <a class="code" href="classhueplusplus_1_1_schedule.html#aee001282333240612577240be9d99c6e">setDescription</a>(<span class="keyword">const</span> std::string& description);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& <a class="code" href="classhueplusplus_1_1_schedule.html#aa187d2ba634332e94b82a3cb5bb23b6d">setCommand</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1_action.html">Action</a>& command);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& <a class="code" href="classhueplusplus_1_1_schedule.html#ac8cad59605fd436390ac0b5dfe76e359">setTime</a>(<span class="keyword">const</span> <a class="code" href="classhueplusplus_1_1time_1_1_time_pattern.html">time::TimePattern</a>& time);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& setStatus(<span class="keywordtype">bool</span> enabled);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& <a class="code" href="classhueplusplus_1_1_schedule.html#a6deae5cd422738bb4b3a6732cacbd7db">setAutodelete</a>(<span class="keywordtype">bool</span> autodelete);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classhueplusplus_1_1_create_schedule.html">CreateSchedule</a>& setRecycle(<span class="keywordtype">bool</span> recycle);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  nlohmann::json getRequest() <span class="keyword">const</span>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  nlohmann::json request;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> };</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> } <span class="comment">// namespace hueplusplus</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classhueplusplus_1_1_schedule_html_a8188b278a735798d8ee2894271e47018"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a8188b278a735798d8ee2894271e47018">hueplusplus::Schedule::setName</a></div><div class="ttdeci">void setName(const std::string &name)</div><div class="ttdoc">Set schedule name. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:98</div></div>
<div class="ttc" id="classhueplusplus_1_1_create_schedule_html"><div class="ttname"><a href="classhueplusplus_1_1_create_schedule.html">hueplusplus::CreateSchedule</a></div><div class="ttdoc">Parameters for creating a new Schedule. </div><div class="ttdef"><b>Definition:</b> Schedule.h:150</div></div>
<div class="ttc" id="classhueplusplus_1_1_hue_command_a_p_i_html"><div class="ttname"><a href="classhueplusplus_1_1_hue_command_a_p_i.html">hueplusplus::HueCommandAPI</a></div><div class="ttdef"><b>Definition:</b> HueCommandAPI.h:37</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html">hueplusplus::Schedule</a></div><div class="ttdoc">Schedule stored in the bridge. </div><div class="ttdef"><b>Definition:</b> Schedule.h:34</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a2e685940a7ba30e006017e560560aefa"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a2e685940a7ba30e006017e560560aefa">hueplusplus::Schedule::refresh</a></div><div class="ttdeci">void refresh()</div><div class="ttdoc">Refreshes internal cached state. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:37</div></div>
<div class="ttc" id="classhueplusplus_1_1_action_html"><div class="ttname"><a href="classhueplusplus_1_1_action.html">hueplusplus::Action</a></div><div class="ttdoc">Action executed by the bridge, e.g. as a Schedule command. </div><div class="ttdef"><b>Definition:</b> Action.h:35</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a83e78e75d2ddaf8086c596475ea49228"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a83e78e75d2ddaf8086c596475ea49228">hueplusplus::Schedule::getName</a></div><div class="ttdeci">std::string getName() const</div><div class="ttdoc">Get schedule name. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:52</div></div>
<div class="ttc" id="namespacehueplusplus_html"><div class="ttname"><a href="namespacehueplusplus.html">hueplusplus</a></div><div class="ttdoc">Namespace for the hueplusplus library. </div><div class="ttdef"><b>Definition:</b> Action.h:27</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_aa187d2ba634332e94b82a3cb5bb23b6d"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#aa187d2ba634332e94b82a3cb5bb23b6d">hueplusplus::Schedule::setCommand</a></div><div class="ttdeci">void setCommand(const Action &command)</div><div class="ttdoc">Set schedule command. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:110</div></div>
<div class="ttc" id="classhueplusplus_1_1_a_p_i_cache_html"><div class="ttname"><a href="classhueplusplus_1_1_a_p_i_cache.html">hueplusplus::APICache</a></div><div class="ttdoc">Caches API GET requests and refreshes regularly. </div><div class="ttdef"><b>Definition:</b> APICache.h:37</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a5d1d7135589ad46765f91ec2e42a8afe"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a5d1d7135589ad46765f91ec2e42a8afe">hueplusplus::Schedule::getStartTime</a></div><div class="ttdeci">time::AbsoluteTime getStartTime() const</div><div class="ttdoc">Get start time for timers. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:93</div></div>
<div class="ttc" id="classhueplusplus_1_1time_1_1_time_pattern_html"><div class="ttname"><a href="classhueplusplus_1_1time_1_1_time_pattern.html">hueplusplus::time::TimePattern</a></div><div class="ttdoc">Holds different time representations. </div><div class="ttdef"><b>Definition:</b> TimePattern.h:351</div></div>
<div class="ttc" id="_action_8h_html"><div class="ttname"><a href="_action_8h.html">Action.h</a></div></div>
<div class="ttc" id="structhueplusplus_1_1_file_info_html"><div class="ttname"><a href="structhueplusplus_1_1_file_info.html">hueplusplus::FileInfo</a></div><div class="ttdoc">Contains information about error location, use CURRENT_FILE_INFO to create. </div><div class="ttdef"><b>Definition:</b> HueException.h:34</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a914f1463caa28b61f6c5f0ce2b1fba15"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a914f1463caa28b61f6c5f0ce2b1fba15">hueplusplus::Schedule::getCreated</a></div><div class="ttdeci">time::AbsoluteTime getCreated() const</div><div class="ttdoc">Get created time. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:88</div></div>
<div class="ttc" id="classhueplusplus_1_1time_1_1_absolute_time_html"><div class="ttname"><a href="classhueplusplus_1_1time_1_1_absolute_time.html">hueplusplus::time::AbsoluteTime</a></div><div class="ttdoc">One-time, absolute time point. </div><div class="ttdef"><b>Definition:</b> TimePattern.h:72</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a9a5c158fd270df157a497cd49b509ce9"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a9a5c158fd270df157a497cd49b509ce9">hueplusplus::Schedule::getTime</a></div><div class="ttdeci">time::TimePattern getTime() const</div><div class="ttdoc">Get time when the event(s) will occur. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:67</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a009c144f78ac062c93a9bd8a95713a73"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a009c144f78ac062c93a9bd8a95713a73">hueplusplus::Schedule::setRefreshDuration</a></div><div class="ttdeci">void setRefreshDuration(std::chrono::steady_clock::duration refreshDuration)</div><div class="ttdoc">Sets custom refresh interval for this schedule. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:42</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a22f049cb0c5ba126481250e74615eb33"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a22f049cb0c5ba126481250e74615eb33">hueplusplus::Schedule::getCommand</a></div><div class="ttdeci">Action getCommand() const</div><div class="ttdoc">Get schedule command. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:62</div></div>
<div class="ttc" id="_time_pattern_8h_html"><div class="ttname"><a href="_time_pattern_8h.html">TimePattern.h</a></div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_ac8cad59605fd436390ac0b5dfe76e359"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#ac8cad59605fd436390ac0b5dfe76e359">hueplusplus::Schedule::setTime</a></div><div class="ttdeci">void setTime(const time::TimePattern &timePattern)</div><div class="ttdoc">Set new time when the event will occur. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:116</div></div>
<div class="ttc" id="_a_p_i_cache_8h_html"><div class="ttname"><a href="_a_p_i_cache_8h.html">APICache.h</a></div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a56ba462e44b0127f60bab94692f587c5"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a56ba462e44b0127f60bab94692f587c5">hueplusplus::Schedule::Schedule</a></div><div class="ttdeci">Schedule(int id, const std::shared_ptr< APICache > &baseCache)</div><div class="ttdoc">Creates schedule with shared cache. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:27</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a61eedcda0ce06a63163451e9c908f125"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a61eedcda0ce06a63163451e9c908f125">hueplusplus::Schedule::setEnabled</a></div><div class="ttdeci">void setEnabled(bool enabled)</div><div class="ttdoc">Enable or disable schedule. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:130</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_ac61b203d8c78f8f221a06ba80489147c"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#ac61b203d8c78f8f221a06ba80489147c">hueplusplus::Schedule::getDescription</a></div><div class="ttdeci">std::string getDescription() const</div><div class="ttdoc">Get schedule description. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:57</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a950e33a7e7ae0d8e6d02bd19818dca39"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a950e33a7e7ae0d8e6d02bd19818dca39">hueplusplus::Schedule::isEnabled</a></div><div class="ttdeci">bool isEnabled() const</div><div class="ttdoc">Check whether schedule is enabled or disabled. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:74</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_aee001282333240612577240be9d99c6e"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#aee001282333240612577240be9d99c6e">hueplusplus::Schedule::setDescription</a></div><div class="ttdeci">void setDescription(const std::string &description)</div><div class="ttdoc">Set schedule description. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:104</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a37f25f3d1e77f832f464396e000232db"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a37f25f3d1e77f832f464396e000232db">hueplusplus::Schedule::getId</a></div><div class="ttdeci">int getId() const</div><div class="ttdoc">Get schedule identifier. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:47</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_ad4a98b010f829287a26cc009838ad4d6"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#ad4a98b010f829287a26cc009838ad4d6">hueplusplus::Schedule::getAutodelete</a></div><div class="ttdeci">bool getAutodelete() const</div><div class="ttdoc">Get autodelete. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:83</div></div>
<div class="ttc" id="classhueplusplus_1_1_schedule_html_a6deae5cd422738bb4b3a6732cacbd7db"><div class="ttname"><a href="classhueplusplus_1_1_schedule.html#a6deae5cd422738bb4b3a6732cacbd7db">hueplusplus::Schedule::setAutodelete</a></div><div class="ttdeci">void setAutodelete(bool autodelete)</div><div class="ttdoc">Set autodelete. </div><div class="ttdef"><b>Definition:</b> Schedule.cpp:136</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>