orca-robotics


INTRODUCTION
Overview
Download and Install
Documentation

REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map

DEVELOPER
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

timeutils.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.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 HYDROICEUTIL_TIME_UTILITIES_H
00012 #define HYDROICEUTIL_TIME_UTILITIES_H
00013 
00014 #include <IceUtil/Time.h>
00015 
00016 namespace hydroiceutil
00017 {
00018 
00023 
00025 void now( int& seconds, int& useconds );
00026 
00028 void timeFromIceUtil( const IceUtil::Time& time, int& seconds, int& useconds );
00029 
00036 std::string toDuration( const IceUtil::Time& time, const std::string& separator=":" );
00037 
00043 void timeFromDouble( double time, int& seconds, int& useconds );
00044 
00046 IceUtil::Time timeFromDouble( double time );
00047 
00052 double timeAsDouble( int seconds, int useconds );
00053 
00055 } // namespace
00056 
00057 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5