aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLNET_1_1__CUniTime.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLNET_1_1__CUniTime.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1__CUniTime.html')
-rw-r--r--docs/doxygen/nel/classNLNET_1_1__CUniTime.html554
1 files changed, 554 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1__CUniTime.html b/docs/doxygen/nel/classNLNET_1_1__CUniTime.html
new file mode 100644
index 00000000..bf2bd41e
--- /dev/null
+++ b/docs/doxygen/nel/classNLNET_1_1__CUniTime.html
@@ -0,0 +1,554 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLNET::_CUniTime Class Reference</h1>This class provide a independant universal time system.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="unitime_8h-source.html">unitime.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLNET::_CUniTime:
+<p><center><img src="classNLNET_1_1__CUniTime.gif" usemap="#NLNET::_CUniTime_map" border="0"></center>
+<map name="NLNET::_CUniTime_map">
+<area href="classNLMISC_1_1CTime.html" alt="NLMISC::CTime" shape="rect" coords="0,0,118,24">
+</map>
+<a href="classNLNET_1_1__CUniTime-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d0">getUniTime</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the time in millisecond. This time is the same on all computers at the <b>same</b> moment.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d1">getStringUniTime</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the time in a string format to be display.</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d2">getStringUniTime</a> (<a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> ut)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the time in a string format to be display.</em> <a href="#d2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d3">syncUniTimeFromService</a> (<a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a> rec=CCallbackNetBase::Off, const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> *<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>=NULL)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>You need to call this function before calling getUniTime or an assert will occured.</em> <a href="#d3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d4">installServer</a> (<a class="el" href="classNLNET_1_1CCallbackServer.html">CCallbackServer</a> *server)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Call this function in the init part of the front end service to enable time syncro between shard and clients.</em> <a href="#d4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d5">syncUniTimeFromServer</a> (<a class="el" href="classNLNET_1_1CCallbackClient.html">CCallbackClient</a> *client)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Call this functions in the init part of the client side to synchronize between client and shard.</em> <a href="#d5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d6">setUniTime</a> (<a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> uTime, <a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> lTime)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d7">setUniTime</a> (<a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> uTime)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#d8">simulate</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Call this method before to prevent <a class="el" href="classNLNET_1_1__CUniTime.html#d3">syncUniTimeFromService</a>() from real synchronization: <a class="el" href="classNLNET_1_1__CUniTime.html#d3">syncUniTimeFromService</a>() will still communicate with the time service, as usual, but the local time will not be synchronized.</em> <a href="#d8">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#p0">Sync</a> = false</td></tr>
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#r0">_SyncUniTime</a> = 0</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#r1">_SyncLocalTime</a> = 0</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1__CUniTime.html#r2">_Simulate</a> = false</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+This class provide a independant universal time system.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Vianney Lecroart , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8h-source.html#l00047">47</a> of file <a class="el" href="unitime_8h-source.html">unitime.h</a>.<hr><h2>Member Function Documentation</h2>
+<a name="d2" doxytag="NLNET::_CUniTime::getStringUniTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const char * NLNET::_CUniTime::getStringUniTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ut</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the time in a string format to be display.
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00095">95</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, <a class="el" href="common_8cpp-source.html#l00153">NLMISC::smprintf</a>, and <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>. </td>
+ </tr>
+</table>
+<a name="d1" doxytag="NLNET::_CUniTime::getStringUniTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const char * NLNET::_CUniTime::getStringUniTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the time in a string format to be display.
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00088">88</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NLNET::_CUniTime::getUniTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> TTime NLNET::_CUniTime::getUniTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the time in millisecond. This time is the same on all computers at the <b>same</b> moment.
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00075">75</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, and <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>. </td>
+ </tr>
+</table>
+<a name="d4" doxytag="NLNET::_CUniTime::installServer"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::_CUniTime::installServer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CCallbackServer.html">CCallbackServer</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>server</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Call this function in the init part of the front end service to enable time syncro between shard and clients.
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00279">279</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, and <a class="el" href="unitime_8cpp-source.html#l00274">NLNET::ServerTimeServiceCallbackArray</a>. </td>
+ </tr>
+</table>
+<a name="d7" doxytag="NLNET::_CUniTime::setUniTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::_CUniTime::setUniTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>uTime</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00067">67</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<a name="d6" doxytag="NLNET::_CUniTime::setUniTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::_CUniTime::setUniTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>uTime</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>lTime</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00048">48</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<a name="d8" doxytag="NLNET::_CUniTime::simulate"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::_CUniTime::simulate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Call this method before to prevent <a class="el" href="classNLNET_1_1__CUniTime.html#d3">syncUniTimeFromService</a>() from real synchronization: <a class="el" href="classNLNET_1_1__CUniTime.html#d3">syncUniTimeFromService</a>() will still communicate with the time service, as usual, but the local time will not be synchronized.
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8h-source.html#l00094">94</a> of file <a class="el" href="unitime_8h-source.html">unitime.h</a>.
+<p>
+References <a class="el" href="unitime_8cpp-source.html#l00043">_Simulate</a>, <a class="el" href="unitime_8cpp-source.html#l00042">_SyncLocalTime</a>, <a class="el" href="unitime_8cpp-source.html#l00041">_SyncUniTime</a>, and <a class="el" href="unitime_8cpp-source.html#l00045">Sync</a>. </td>
+ </tr>
+</table>
+<a name="d5" doxytag="NLNET::_CUniTime::syncUniTimeFromServer"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::_CUniTime::syncUniTimeFromServer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CCallbackClient.html">CCallbackClient</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>client</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Call this functions in the init part of the client side to synchronize between client and shard.
+<p>
+client is the connection between the client and the front end. The connection must be established before calling this function.
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00313">313</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<a name="d3" doxytag="NLNET::_CUniTime::syncUniTimeFromService"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::_CUniTime::syncUniTimeFromService </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rec</em> = CCallbackNetBase::Off, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>addr</em> = NULL</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+You need to call this function before calling getUniTime or an assert will occured.
+<p>
+This function will connect to the time service and synchronize your computer. This function assumes that all services run on server that are time synchronized with NTP for example. If addr is NULL, the function will connect to the Time Service via the Naming Service. In this case, the <a class="el" href="classNLNET_1_1CNamingClient.html">CNamingClient</a> must be connected to a Naming Service. This function can be called *ONLY* by services that are inside of the shard. Don't use it for a client or a service outside of the shard.
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00156">156</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, and <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="r2" doxytag="NLNET::_CUniTime::_Simulate"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::_CUniTime::_Simulate = false<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00043">43</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+Referenced by <a class="el" href="unitime_8h-source.html#l00094">simulate</a>. </td>
+ </tr>
+</table>
+<a name="r1" doxytag="NLNET::_CUniTime::_SyncLocalTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> TTime NLNET::_CUniTime::_SyncLocalTime = 0<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00042">42</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+Referenced by <a class="el" href="unitime_8h-source.html#l00094">simulate</a>. </td>
+ </tr>
+</table>
+<a name="r0" doxytag="NLNET::_CUniTime::_SyncUniTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> TTime NLNET::_CUniTime::_SyncUniTime = 0<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00041">41</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+Referenced by <a class="el" href="unitime_8h-source.html#l00094">simulate</a>. </td>
+ </tr>
+</table>
+<a name="p0" doxytag="NLNET::_CUniTime::Sync"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::_CUniTime::Sync = false<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="unitime_8cpp-source.html#l00045">45</a> of file <a class="el" href="unitime_8cpp-source.html">unitime.cpp</a>.
+<p>
+Referenced by <a class="el" href="unitime_8h-source.html#l00094">simulate</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="unitime_8h-source.html">unitime.h</a><li><a class="el" href="unitime_8cpp-source.html">unitime.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>