<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libfilezilla: time.hpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="libfilezilla.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libfilezilla </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</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_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li><li class="navelem"><a class="el" href="dir_bfd4f94fea6b65a4615f91ddf59adbf8.html">libfilezilla</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">time.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> <p>Assorted classes dealing with time. <a href="#details">More...</a></p> <div class="textblock"><code>#include "<a class="el" href="libfilezilla_8hpp_source.html">libfilezilla.hpp</a>"</code><br /> <code>#include <chrono></code><br /> <code>#include <ctime></code><br /> <code>#include <limits></code><br /> <code>#include "private/windows.hpp"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for time.hpp:</div> <div class="dyncontent"> <div class="center"><img src="time_8hpp__incl.png" border="0" usemap="#time_8hpp" alt=""/></div> <map name="time_8hpp" id="time_8hpp"> <area shape="rect" title="Assorted classes dealing with time." alt="" coords="449,5,527,32"/> <area shape="rect" href="libfilezilla_8hpp.html" title="Sets some global macros and further includes string.hpp." alt="" coords="239,80,347,107"/> <area shape="rect" title=" " alt="" coords="371,80,437,107"/> <area shape="rect" title=" " alt="" coords="461,80,515,107"/> <area shape="rect" title=" " alt="" coords="539,80,594,107"/> <area shape="rect" title=" " alt="" coords="619,80,768,107"/> <area shape="rect" title=" " alt="" coords="5,155,128,181"/> <area shape="rect" title=" " alt="" coords="153,155,295,181"/> <area shape="rect" href="string_8hpp.html" title="String types and assorted functions." alt="" coords="320,155,405,181"/> <area shape="rect" title=" " alt="" coords="177,229,260,256"/> <area shape="rect" title=" " alt="" coords="285,229,342,256"/> <area shape="rect" title=" " alt="" coords="367,229,457,256"/> <area shape="rect" title=" " alt="" coords="481,229,540,256"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="time_8hpp__dep__incl.png" border="0" usemap="#time_8hppdep" alt=""/></div> <map name="time_8hppdep" id="time_8hppdep"> <area shape="rect" title="Assorted classes dealing with time." alt="" coords="322,5,399,32"/> <area shape="rect" href="mutex_8hpp.html" title="Thread synchronization primitives: mutex, scoped_lock and condition." alt="" coords="188,80,275,107"/> <area shape="rect" href="event__loop_8hpp.html" title="A simple threaded event loop for the typesafe event system." alt="" coords="91,155,209,181"/> <area shape="rect" href="local__filesys_8hpp.html" title="Declares local_filesys class to enumerate local files and query their metadata such as type,..." alt="" coords="299,80,423,107"/> <area shape="rect" href="tls__info_8hpp.html" title="Classes to query parameters of a TLS session, including the certificate chain." alt="" coords="447,80,544,107"/> <area shape="rect" href="util_8hpp.html" title="Various utility functions." alt="" coords="569,80,638,107"/> <area shape="rect" href="thread__pool_8hpp.html" title="Declares thread_pool and async_task." alt="" coords="233,155,360,181"/> <area shape="rect" href="event__handler_8hpp.html" title="Declares the event_handler class." alt="" coords="81,229,219,256"/> <area shape="rect" href="rate__limiter_8hpp.html" title="Classes for rate-limiting." alt="" coords="25,304,147,331"/> <area shape="rect" href="socket_8hpp.html" title="Socket classes for networking." alt="" coords="171,304,260,331"/> <area shape="rect" href="rate__limited__layer_8hpp.html" title="A rate-limited socket layer." alt="" coords="5,379,167,405"/> <area shape="rect" href="tls__layer_8hpp.html" title="A Transport Layer Security (TLS) layer." alt="" coords="191,379,293,405"/> </map> </div> </div> <p><a href="time_8hpp_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfz_1_1datetime.html">datetime</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represents a point of time in wallclock, tracking the timestamps accuracy/precision. <a href="classfz_1_1datetime.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfz_1_1duration.html">duration</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <code>duration</code> class represents a time interval in milliseconds. <a href="classfz_1_1duration.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfz_1_1monotonic__clock.html">monotonic_clock</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A monotonic clock (aka steady clock) is independent from walltime. <a href="classfz_1_1monotonic__clock.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacefz"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefz.html">fz</a></td></tr> <tr class="memdesc:namespacefz"><td class="mdescLeft"> </td><td class="mdescRight">The namespace used by libfilezilla. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a6ea34448172ac429cc62f9a4bb92a099"><td class="memItemLeft" align="right" valign="top"><a id="a6ea34448172ac429cc62f9a4bb92a099"></a> duration </td><td class="memItemRight" valign="bottom"><b>operator-</b> (duration const &a, duration const &b)</td></tr> <tr class="separator:a6ea34448172ac429cc62f9a4bb92a099"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d1d64d99be01a5e89737365f65f802d"><td class="memItemLeft" align="right" valign="top"><a id="a5d1d64d99be01a5e89737365f65f802d"></a> duration </td><td class="memItemRight" valign="bottom"><b>operator+</b> (duration const &a, duration const &b)</td></tr> <tr class="separator:a5d1d64d99be01a5e89737365f65f802d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a76fe3701440545b10137ed3d703ec924"><td class="memItemLeft" align="right" valign="top">duration </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefz.html#a76fe3701440545b10137ed3d703ec924">operator-</a> (datetime const &a, datetime const &b)</td></tr> <tr class="memdesc:a76fe3701440545b10137ed3d703ec924"><td class="mdescLeft"> </td><td class="mdescRight">Gets the difference between two timestamps as <a class="el" href="classfz_1_1duration.html">duration</a>. <a href="namespacefz.html#a76fe3701440545b10137ed3d703ec924">More...</a><br /></td></tr> <tr class="separator:a76fe3701440545b10137ed3d703ec924"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1dc86524589bbf280563012f751f2004"><td class="memItemLeft" align="right" valign="top">duration </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefz.html#a1dc86524589bbf280563012f751f2004">operator-</a> (monotonic_clock const &a, monotonic_clock const &b)</td></tr> <tr class="separator:a1dc86524589bbf280563012f751f2004"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Assorted classes dealing with time. </p> </div></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.15 </small></address> </body> </html>