INTRODUCTION
Overview
Download and Install
Documentation
Publications
REPOSITORY
Libraries
DEVELOPER
Dev Guide
Dashboard
PEOPLE
Contributors
Users
Project
Download
Mailing lists
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
src
gbxsickacfr
gbxiceutilacfr
timer.h
1
/*
2
* GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics
3
* http://gearbox.sf.net/
4
* Copyright (c) 2004-2010 Alex Brooks, Alexei Makarenko, Tobias Kaupp
5
*
6
* This distribution is licensed to you under the terms described in
7
* the LICENSE file included in this distribution.
8
*
9
*/
10
11
#ifndef GBXICEUTILACFR_TIMER_H
12
#define GBXICEUTILACFR_TIMER_H
13
14
#include <IceUtil/Time.h>
15
16
namespace
gbxiceutilacfr {
17
31
class
Timer
32
{
33
public
:
34
36
Timer
();
37
39
Timer
(
const
IceUtil::Time& elapsedTime );
40
42
void
restart
();
43
45
IceUtil::Time
elapsed
()
const
;
46
48
double
elapsedMs
()
const
;
49
51
double
elapsedSec
()
const
;
52
53
private
:
54
IceUtil::Time startTime_;
55
56
};
57
58
}
// end namespace
59
60
#endif
Generated for GearBox by
1.4.5