OSVR-Core
Namespaces | Typedefs | Functions
TimeValue.h File Reference

Header providing a C++ wrapper around TimeValueC.h. More...

#include <osvr/Util/TimeValueC.h>
#include <osvr/Util/TimeValue_fwd.h>
#include <iomanip>
#include <sstream>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 
 osvr::util::time
 Functionality related to time and the OSVR_TimeValue abstraction.
 

Typedefs

typedef ::OSVR_TimeValue osvr::util::time::TimeValue
 C++-friendly typedef for the OSVR_TimeValue structure.
 

Functions

void osvr::util::time::getNow (TimeValue &tv)
 Set the given TimeValue to the current time.
 
TimeValue osvr::util::time::getNow ()
 Get a TimeValue for the current time.
 
double osvr::util::time::duration (TimeValue const &a, TimeValue const &b)
 Get a double containing seconds between the time points. More...
 
std::string osvr::util::time::toDecimalString (TimeValue tv)
 Converts to a precise decimal string.
 

Detailed Description

Header providing a C++ wrapper around TimeValueC.h.

Date
2014
Author
Sensics, Inc. http://sensics.com/osvr