00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
#ifndef OPENCAL_UTILS_TIMER_H
00012
#define OPENCAL_UTILS_TIMER_H
00013
00014
00015
#include <OpenCAL/global.h>
00016
00017
namespace OpenCAL
00018 {
00019
namespace Utils
00020 {
00025 class OPENCAL_API Timer
00026 {
00027
protected:
00028
00029
00030
public:
00031
00032 Timer();
00033
virtual ~Timer();
00034
00035
00036
static unsigned int getCurrentTime();
00037
static void wait(
unsigned int milliSeconds);
00038 };
00039 }
00040 }
00041
00042
#endif // OPENCAL_UTILS_TIMER_H