Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
Timer.h
1
//##################################################################################################
2
//
3
// Ceetron Desktop Components
4
// Component: Core
5
//
6
// --------------------------------------------------------------------------------------------
7
// Copyright (C) 2014, Ceetron AS
8
// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9
// not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10
// without the prior written permission of Ceetron AS.
11
//##################################################################################################
12
13
#pragma once
14
15
#include "CeeCore/Base.h"
16
17
namespace
cee
{
18
19
//==================================================================================================
20
//
21
// Timer class
22
//
23
//==================================================================================================
24
class
CEE_CORE_EXPORT
Timer
25
{
26
public
:
27
Timer
();
28
~
Timer
();
29
30
double
time()
const
;
31
double
lapTime();
32
33
void
restart();
34
35
private
:
36
CEE_PRIVATE_IMPL(
Timer
);
37
};
38
39
}
// namespace cee
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::Timer
Class for doing high precision timing. Actual resolution is platform dependent.
Definition:
Timer.h:24
CeeCore
Timer.h
Updated: Fri Dec 17 2021 - Copyright © 2021 Ceetron AS