INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

timer.h

00001 /*
00002  * GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics
00003  *               http://gearbox.sf.net/
00004  * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp
00005  *
00006  * This distribution is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 
00011 #ifndef GBXICEUTILACFR_TIMER_H
00012 #define GBXICEUTILACFR_TIMER_H
00013 
00014 #include <IceUtil/Time.h>
00015 
00016 namespace gbxsickacfr {
00017 namespace gbxiceutilacfr {
00018 
00032 class Timer
00033 {
00034 public:
00035 
00037     Timer();
00038 
00040     void restart();
00041 
00043     IceUtil::Time elapsed() const;
00044 
00046     double elapsedMs() const;
00047 
00049     double elapsedSec() const;
00050 
00051 private:
00052     IceUtil::Time time_;
00053 
00054 };
00055 
00056 }
00057 } // end namespace
00058 
00059 #endif
 

Generated for GearBox by  doxygen 1.4.5