Public Member Functions | Protected Attributes | List of all members
utilities::time::timer Class Reference

#include <timer.h>

Public Member Functions

bool has_expired () const
 
void set_expired ()
 
void start () const
 
 timer (clock::duration timeout)
 

Protected Attributes

clock::duration _delta
 
stopwatch sw
 

Detailed Description

Definition at line 15 of file timer.h.

Constructor & Destructor Documentation

utilities::time::timer::timer ( clock::duration  timeout)
inline

Definition at line 19 of file timer.h.

Member Function Documentation

bool utilities::time::timer::has_expired ( ) const
inline

Definition at line 30 of file timer.h.

void utilities::time::timer::set_expired ( )
inline

Definition at line 36 of file timer.h.

void utilities::time::timer::start ( ) const
inline

Definition at line 24 of file timer.h.

Member Data Documentation

clock::duration utilities::time::timer::_delta
protected

Definition at line 41 of file timer.h.

stopwatch utilities::time::timer::sw
protected

Definition at line 42 of file timer.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43