Simband API
Simband API documentation, for accessing data from sensors and algorithms.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions | List of all members
vobio::clock Class Reference

A class that wraps vobio_clock_h. More...

#include <vobio.hpp>

Public Member Functions

 clock (const clock &)=default
 
 clock (clock &&)=default
 
template<class... Args>
 clock (Args...args)
 
clockoperator= (const clock &)=default
 
bool operator== (const clock &o) const
 
bool operator!= (const clock &o) const
 
 operator bool () const
 
 operator vobio_clock_h () const
 
template<class... Args>
void addStream (Args...args)
 
template<class... Args>
void removeStream (Args...args)
 
double now () const
 
void setGapResetThreshold (double seconds)
 Sets the minimum gap between data points above which the timers of this clock are reset. More...
 

Detailed Description

A class that wraps vobio_clock_h.

Provides automatic constuction/destruction.

Member Function Documentation

void vobio::clock::setGapResetThreshold ( double  seconds)
inline

Sets the minimum gap between data points above which the timers of this clock are reset.

Parameters
seconds

The documentation for this class was generated from the following file: