OKVIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
Time.hpp File Reference

Header file for the TimeBase, Time and WallTime class. More...

#include <iostream>
#include <cmath>
#include "Duration.hpp"
#include <sys/time.h>

Go to the source code of this file.

Classes

class  okvis::NoHighPerformanceTimersException
 Thrown if windoze high perf. timestamping is unavailable. More...
 
class  okvis::TimeBase< T, D >
 Base class for Time implementations. Provides storage, common functions and operator overloads. This should not need to be used directly. More...
 
class  okvis::Time
 Time representation. May either represent wall clock time or ROS clock time. More...
 
class  okvis::WallTime
 Time representation. Always wall-clock time. More...
 

Namespaces

 okvis
 okvis Main namespace of this package.
 

Functions

void okvis::normalizeSecNSec (uint64_t &sec, uint64_t &nsec)
 
void okvis::normalizeSecNSec (uint32_t &sec, uint32_t &nsec)
 
void okvis::normalizeSecNSecUnsigned (int64_t &sec, int64_t &nsec)
 
std::ostream & okvis::operator<< (std::ostream &os, const Time &rhs)
 
std::ostream & okvis::operator<< (std::ostream &os, const WallTime &rhs)
 

Variables

const Time okvis::TIME_MAX
 
const Time okvis::TIME_MIN
 

Detailed Description

Header file for the TimeBase, Time and WallTime class.

Author
Willow Garage Inc.
Stefan Leutenegger
Andreas Forster