1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::SDLTimer class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::SDLTimer Class Reference</h1><code>#include <<a class="el" href="OgreSDLTimer_8h-source.html">OgreSDLTimer.h</a>></code> |
---|
11 | <p> |
---|
12 | <p>Inheritance diagram for Ogre::SDLTimer: |
---|
13 | <p><center><img src="classOgre_1_1SDLTimer.png" usemap="#Ogre::SDLTimer_map" border="0" alt=""></center> |
---|
14 | <map name="Ogre::SDLTimer_map"> |
---|
15 | <area href="classOgre_1_1Timer.html" alt="Ogre::Timer" shape="rect" coords="0,0,102,24"> |
---|
16 | </map> |
---|
17 | <a href="classOgre_1_1SDLTimer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
18 | <tr><td></td></tr> |
---|
19 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
20 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SDLTimer.html#Ogre_1_1SDLTimera0">reset</a> ()</td></tr> |
---|
21 | |
---|
22 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resets timer. <a href="#Ogre_1_1SDLTimera0"></a><br><br></td></tr> |
---|
23 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SDLTimer.html#Ogre_1_1SDLTimera1">getMilliseconds</a> ()</td></tr> |
---|
24 | |
---|
25 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns milliseconds since initialisation or last reset. <a href="#Ogre_1_1SDLTimera1"></a><br><br></td></tr> |
---|
26 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SDLTimer.html#Ogre_1_1SDLTimera2">getMicroseconds</a> ()</td></tr> |
---|
27 | |
---|
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns microseconds since initialisation or last reset. <a href="#Ogre_1_1SDLTimera2"></a><br><br></td></tr> |
---|
29 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timera3">getMillisecondsCPU</a> ()</td></tr> |
---|
30 | |
---|
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns milliseconds since initialisation or last reset, only CPU time measured. <a href="#Ogre_1_1Win32Timera3"></a><br><br></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timera4">getMicrosecondsCPU</a> ()</td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns microseconds since initialisation or last reset, only CPU time measured. <a href="#Ogre_1_1Win32Timera4"></a><br><br></td></tr> |
---|
35 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
36 | <tr><td class="memItemLeft" nowrap align=right valign=top>clock_t </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timerp0">zeroClock</a></td></tr> |
---|
37 | |
---|
38 | <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> |
---|
39 | <tr><td class="memItemLeft" nowrap align=right valign=top>timeval </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SDLTimer.html#Ogre_1_1SDLTimerr0">start</a></td></tr> |
---|
40 | |
---|
41 | </table> |
---|
42 | <hr><h2>Member Function Documentation</h2> |
---|
43 | <a class="anchor" name="Ogre_1_1SDLTimera2" doxytag="Ogre::SDLTimer::getMicroseconds" ></a><p> |
---|
44 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
45 | <tr> |
---|
46 | <td class="mdRow"> |
---|
47 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
48 | <tr> |
---|
49 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::SDLTimer::getMicroseconds </td> |
---|
50 | <td class="md" valign="top">( </td> |
---|
51 | <td class="mdname1" valign="top" nowrap> </td> |
---|
52 | <td class="md" valign="top"> ) </td> |
---|
53 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
54 | </tr> |
---|
55 | |
---|
56 | </table> |
---|
57 | </td> |
---|
58 | </tr> |
---|
59 | </table> |
---|
60 | <table cellspacing=5 cellpadding=0 border=0> |
---|
61 | <tr> |
---|
62 | <td> |
---|
63 | |
---|
64 | </td> |
---|
65 | <td> |
---|
66 | |
---|
67 | <p> |
---|
68 | Returns microseconds since initialisation or last reset. |
---|
69 | <p> |
---|
70 | |
---|
71 | <p> |
---|
72 | Reimplemented from <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Timera5">Ogre::Timer</a>. </td> |
---|
73 | </tr> |
---|
74 | </table> |
---|
75 | <a class="anchor" name="Ogre_1_1Win32Timera4" doxytag="Ogre::SDLTimer::getMicrosecondsCPU" ></a><p> |
---|
76 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
77 | <tr> |
---|
78 | <td class="mdRow"> |
---|
79 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
80 | <tr> |
---|
81 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::Timer::getMicrosecondsCPU </td> |
---|
82 | <td class="md" valign="top">( </td> |
---|
83 | <td class="mdname1" valign="top" nowrap> </td> |
---|
84 | <td class="md" valign="top"> ) </td> |
---|
85 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
86 | </tr> |
---|
87 | |
---|
88 | </table> |
---|
89 | </td> |
---|
90 | </tr> |
---|
91 | </table> |
---|
92 | <table cellspacing=5 cellpadding=0 border=0> |
---|
93 | <tr> |
---|
94 | <td> |
---|
95 | |
---|
96 | </td> |
---|
97 | <td> |
---|
98 | |
---|
99 | <p> |
---|
100 | Returns microseconds since initialisation or last reset, only CPU time measured. |
---|
101 | <p> |
---|
102 | </td> |
---|
103 | </tr> |
---|
104 | </table> |
---|
105 | <a class="anchor" name="Ogre_1_1SDLTimera1" doxytag="Ogre::SDLTimer::getMilliseconds" ></a><p> |
---|
106 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
107 | <tr> |
---|
108 | <td class="mdRow"> |
---|
109 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
110 | <tr> |
---|
111 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::SDLTimer::getMilliseconds </td> |
---|
112 | <td class="md" valign="top">( </td> |
---|
113 | <td class="mdname1" valign="top" nowrap> </td> |
---|
114 | <td class="md" valign="top"> ) </td> |
---|
115 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
116 | </tr> |
---|
117 | |
---|
118 | </table> |
---|
119 | </td> |
---|
120 | </tr> |
---|
121 | </table> |
---|
122 | <table cellspacing=5 cellpadding=0 border=0> |
---|
123 | <tr> |
---|
124 | <td> |
---|
125 | |
---|
126 | </td> |
---|
127 | <td> |
---|
128 | |
---|
129 | <p> |
---|
130 | Returns milliseconds since initialisation or last reset. |
---|
131 | <p> |
---|
132 | |
---|
133 | <p> |
---|
134 | Reimplemented from <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Timera3">Ogre::Timer</a>. </td> |
---|
135 | </tr> |
---|
136 | </table> |
---|
137 | <a class="anchor" name="Ogre_1_1Win32Timera3" doxytag="Ogre::SDLTimer::getMillisecondsCPU" ></a><p> |
---|
138 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
139 | <tr> |
---|
140 | <td class="mdRow"> |
---|
141 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
142 | <tr> |
---|
143 | <td class="md" nowrap valign="top"> virtual unsigned long Ogre::Timer::getMillisecondsCPU </td> |
---|
144 | <td class="md" valign="top">( </td> |
---|
145 | <td class="mdname1" valign="top" nowrap> </td> |
---|
146 | <td class="md" valign="top"> ) </td> |
---|
147 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
148 | </tr> |
---|
149 | |
---|
150 | </table> |
---|
151 | </td> |
---|
152 | </tr> |
---|
153 | </table> |
---|
154 | <table cellspacing=5 cellpadding=0 border=0> |
---|
155 | <tr> |
---|
156 | <td> |
---|
157 | |
---|
158 | </td> |
---|
159 | <td> |
---|
160 | |
---|
161 | <p> |
---|
162 | Returns milliseconds since initialisation or last reset, only CPU time measured. |
---|
163 | <p> |
---|
164 | </td> |
---|
165 | </tr> |
---|
166 | </table> |
---|
167 | <a class="anchor" name="Ogre_1_1SDLTimera0" doxytag="Ogre::SDLTimer::reset" ></a><p> |
---|
168 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
169 | <tr> |
---|
170 | <td class="mdRow"> |
---|
171 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
172 | <tr> |
---|
173 | <td class="md" nowrap valign="top"> virtual void Ogre::SDLTimer::reset </td> |
---|
174 | <td class="md" valign="top">( </td> |
---|
175 | <td class="mdname1" valign="top" nowrap> </td> |
---|
176 | <td class="md" valign="top"> ) </td> |
---|
177 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
178 | </tr> |
---|
179 | |
---|
180 | </table> |
---|
181 | </td> |
---|
182 | </tr> |
---|
183 | </table> |
---|
184 | <table cellspacing=5 cellpadding=0 border=0> |
---|
185 | <tr> |
---|
186 | <td> |
---|
187 | |
---|
188 | </td> |
---|
189 | <td> |
---|
190 | |
---|
191 | <p> |
---|
192 | Resets timer. |
---|
193 | <p> |
---|
194 | |
---|
195 | <p> |
---|
196 | Reimplemented from <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Timera2">Ogre::Timer</a>. </td> |
---|
197 | </tr> |
---|
198 | </table> |
---|
199 | <hr><h2>Member Data Documentation</h2> |
---|
200 | <a class="anchor" name="Ogre_1_1SDLTimerr0" doxytag="Ogre::SDLTimer::start" ></a><p> |
---|
201 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
202 | <tr> |
---|
203 | <td class="mdRow"> |
---|
204 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
205 | <tr> |
---|
206 | <td class="md" nowrap valign="top"> struct timeval <a class="el" href="classOgre_1_1SDLTimer.html#Ogre_1_1SDLTimerr0">Ogre::SDLTimer::start</a><code> [private]</code> |
---|
207 | </table> |
---|
208 | </td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | <table cellspacing=5 cellpadding=0 border=0> |
---|
212 | <tr> |
---|
213 | <td> |
---|
214 | |
---|
215 | </td> |
---|
216 | <td> |
---|
217 | |
---|
218 | <p> |
---|
219 | |
---|
220 | <p> |
---|
221 | Definition at line <a class="el" href="OgreSDLTimer_8h-source.html#l00047">47</a> of file <a class="el" href="OgreSDLTimer_8h-source.html">OgreSDLTimer.h</a>. </td> |
---|
222 | </tr> |
---|
223 | </table> |
---|
224 | <a class="anchor" name="Ogre_1_1Win32Timerp0" doxytag="Ogre::SDLTimer::zeroClock" ></a><p> |
---|
225 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
226 | <tr> |
---|
227 | <td class="mdRow"> |
---|
228 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
229 | <tr> |
---|
230 | <td class="md" nowrap valign="top"> clock_t <a class="el" href="classOgre_1_1Timer.html#Ogre_1_1Win32Timerp0">Ogre::Timer::zeroClock</a><code> [protected, inherited]</code> |
---|
231 | </table> |
---|
232 | </td> |
---|
233 | </tr> |
---|
234 | </table> |
---|
235 | <table cellspacing=5 cellpadding=0 border=0> |
---|
236 | <tr> |
---|
237 | <td> |
---|
238 | |
---|
239 | </td> |
---|
240 | <td> |
---|
241 | |
---|
242 | <p> |
---|
243 | |
---|
244 | <p> |
---|
245 | Definition at line <a class="el" href="OgreTimer_8h-source.html#l00039">39</a> of file <a class="el" href="OgreTimer_8h-source.html">OgreTimer.h</a>. </td> |
---|
246 | </tr> |
---|
247 | </table> |
---|
248 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
249 | <li><a class="el" href="OgreSDLTimer_8h-source.html">OgreSDLTimer.h</a></ul> |
---|
250 | <hr> |
---|
251 | <p> |
---|
252 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
253 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
254 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
255 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
256 | <Work rdf:about=""> |
---|
257 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
258 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
259 | </Work> |
---|
260 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
261 | |
---|
262 | Last modified Sun Mar 12 14:46:24 2006 |
---|
263 | </p> |
---|
264 | </body> |
---|
265 | </html> |
---|