Changeset 50 in flair-dev for trunk/doc/Flair/_thread_8h_source.html
- Timestamp:
- May 31, 2017, 3:54:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_thread_8h_source.html
r47 r50 164 164 <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div> 165 165 <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">bool</span> <a class="code" href="classflair_1_1core_1_1_thread.html#adac9a6d336bdb50bcfa24c66943a355a">IsSuspended</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 166 <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div> 167 <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#ac09a2d745af3dbb42371949d4c622011">SleepUntil</a>(<a class="code" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">Time</a> time) <span class="keyword">const</span>;</div> 168 <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div> 169 <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a3479727dfaf2213f7866fccadb43eeb6">SleepUS</a>(uint32_t time_us) <span class="keyword">const</span>;</div> 170 <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> 171 <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a501e7802d7edd7e6167d111c803b8349">SleepMS</a>(uint32_t time_ms) <span class="keyword">const</span>;</div> 172 <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div> 173 <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a7fbf5ad201e7e802f0fa127891849dc9">WarnUponSwitches</a>(<span class="keywordtype">bool</span> enable);</div> 174 <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div> 175 <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="keyword">private</span>:</div> 176 <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Run(<span class="keywordtype">void</span>) = 0;</div> 177 <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div> 178 <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keyword">class </span>Thread_impl *pimpl_;</div> 179 <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> };</div> 180 <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div> 181 <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> } <span class="comment">// end namespace core</span></div> 182 <div class="line"><a name="l00233"></a><span class="lineno"> 233</span> } <span class="comment">// end namespace flair</span></div> 183 <div class="line"><a name="l00234"></a><span class="lineno"> 234</span> </div> 184 <div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#endif // THREAD_H</span></div> 166 <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div> 167 <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordtype">bool</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a2a82d0ade1418111c2a4e7d0e133696c">IsRunning</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 168 <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div> 169 <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#ac09a2d745af3dbb42371949d4c622011">SleepUntil</a>(<a class="code" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">Time</a> time) <span class="keyword">const</span>;</div> 170 <div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div> 171 <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a3479727dfaf2213f7866fccadb43eeb6">SleepUS</a>(uint32_t time_us) <span class="keyword">const</span>;</div> 172 <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div> 173 <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a501e7802d7edd7e6167d111c803b8349">SleepMS</a>(uint32_t time_ms) <span class="keyword">const</span>;</div> 174 <div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div> 175 <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_thread.html#a7fbf5ad201e7e802f0fa127891849dc9">WarnUponSwitches</a>(<span class="keywordtype">bool</span> enable);</div> 176 <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div> 177 <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">private</span>:</div> 178 <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Run(<span class="keywordtype">void</span>) = 0;</div> 179 <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div> 180 <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keyword">class </span>Thread_impl *pimpl_;</div> 181 <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> };</div> 182 <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div> 183 <div class="line"><a name="l00240"></a><span class="lineno"> 240</span> } <span class="comment">// end namespace core</span></div> 184 <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> } <span class="comment">// end namespace flair</span></div> 185 <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div> 186 <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor">#endif // THREAD_H</span></div> 185 187 <div class="ttc" id="classflair_1_1core_1_1_thread_html_ac09a2d745af3dbb42371949d4c622011"><div class="ttname"><a href="classflair_1_1core_1_1_thread.html#ac09a2d745af3dbb42371949d4c622011">flair::core::Thread::SleepUntil</a></div><div class="ttdeci">void SleepUntil(Time time) const </div><div class="ttdoc">Sleep until absolute time. </div></div> 186 188 <div class="ttc" id="classflair_1_1core_1_1_thread_html_adac9a6d336bdb50bcfa24c66943a355a"><div class="ttname"><a href="classflair_1_1core_1_1_thread.html#adac9a6d336bdb50bcfa24c66943a355a">flair::core::Thread::IsSuspended</a></div><div class="ttdeci">bool IsSuspended(void) const </div><div class="ttdoc">Is the thread suspended? </div></div> … … 189 191 <div class="ttc" id="classflair_1_1core_1_1_thread_html_a3479727dfaf2213f7866fccadb43eeb6"><div class="ttname"><a href="classflair_1_1core_1_1_thread.html#a3479727dfaf2213f7866fccadb43eeb6">flair::core::Thread::SleepUS</a></div><div class="ttdeci">void SleepUS(uint32_t time_us) const </div><div class="ttdoc">Sleep for a certain time in micro second. </div></div> 190 192 <div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div> 193 <div class="ttc" id="classflair_1_1core_1_1_thread_html_a2a82d0ade1418111c2a4e7d0e133696c"><div class="ttname"><a href="classflair_1_1core_1_1_thread.html#a2a82d0ade1418111c2a4e7d0e133696c">flair::core::Thread::IsRunning</a></div><div class="ttdeci">bool IsRunning(void) const </div><div class="ttdoc">Is the thread running? </div></div> 191 194 <div class="ttc" id="classflair_1_1core_1_1_thread_html_af93c2461c31a6c16958bc44189ab4253"><div class="ttname"><a href="classflair_1_1core_1_1_thread.html#af93c2461c31a6c16958bc44189ab4253">flair::core::Thread::SuspendUntil</a></div><div class="ttdeci">bool SuspendUntil(Time date)</div><div class="ttdoc">Suspend the thread with timeout. </div></div> 192 195 <div class="ttc" id="classflair_1_1core_1_1_thread_html_a581ae3bdecef47c916671a6aafec9509"><div class="ttname"><a href="classflair_1_1core_1_1_thread.html#a581ae3bdecef47c916671a6aafec9509">flair::core::Thread::SetPeriodUS</a></div><div class="ttdeci">void SetPeriodUS(uint32_t period_us)</div><div class="ttdoc">Set the period in micro second. </div></div> … … 214 217 <ul> 215 218 <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_97265977dbbd48c696782ccac102bad5.html">FlairCore</a></li><li class="navelem"><a class="el" href="dir_6c198461db290ac9abcdd44184573216.html">src</a></li><li class="navelem"><a class="el" href="_thread_8h.html">Thread.h</a></li> 216 <li class="footer">Generated on Tue Jan 17 2017 09:52:30for Flair by219 <li class="footer">Generated on Wed May 31 2017 13:50:37 for Flair by 217 220 <a href="http://www.doxygen.org/index.html"> 218 221 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.