MyGUI
3.4.3
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
MyGUI_Timer.h
Go to the documentation of this file.
1
/*
2
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
3
* Distributed under the MIT License
4
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5
*/
6
7
#ifndef MYGUI_TIMER_H_
8
#define MYGUI_TIMER_H_
9
10
#include "
MyGUI_Prerequest.h
"
11
12
namespace
MyGUI
13
{
14
15
class
MYGUI_EXPORT
Timer
16
{
17
public
:
18
void
reset
();
19
unsigned
long
getMilliseconds
()
const
;
20
21
private
:
22
unsigned
long
getCurrentMilliseconds()
const
;
23
24
private
:
25
unsigned
long
mTimeStart{0};
26
};
27
28
}
// namespace MyGUI
29
30
#endif
// MYGUI_TIMER_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition
MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI::Timer
Definition
MyGUI_Timer.h:16
MyGUI::Timer::reset
void reset()
Definition
MyGUI_Timer.cpp:20
MyGUI::Timer::getMilliseconds
unsigned long getMilliseconds() const
Definition
MyGUI_Timer.cpp:25
MyGUI
Definition
MyGUI_ActionController.h:15
Generated by
1.14.0