Public Types | Public Member Functions | Private Attributes | List of all members
rs2::temporal_event Class Reference

#include <rendering.h>

Public Types

using clock = std::chrono::steady_clock
 

Public Member Functions

void add_value (bool val)
 
bool eval ()
 
float get_stat ()
 
void reset ()
 
 temporal_event (clock::duration window)
 
 temporal_event ()
 

Private Attributes

std::mutex _m
 
std::vector< std::pair< clock::time_point, bool > > _measurements
 
utilities::time::stopwatch _t
 
clock::duration _window
 

Detailed Description

Definition at line 810 of file rendering.h.

Member Typedef Documentation

using rs2::temporal_event::clock = std::chrono::steady_clock

Definition at line 813 of file rendering.h.

Constructor & Destructor Documentation

rs2::temporal_event::temporal_event ( clock::duration  window)
inline

Definition at line 815 of file rendering.h.

rs2::temporal_event::temporal_event ( )
inline

Definition at line 816 of file rendering.h.

Member Function Documentation

void rs2::temporal_event::add_value ( bool  val)
inline

Definition at line 818 of file rendering.h.

bool rs2::temporal_event::eval ( )
inline

Definition at line 824 of file rendering.h.

float rs2::temporal_event::get_stat ( )
inline

Definition at line 829 of file rendering.h.

void rs2::temporal_event::reset ( void  )
inline

Definition at line 847 of file rendering.h.

Member Data Documentation

std::mutex rs2::temporal_event::_m
private

Definition at line 855 of file rendering.h.

std::vector<std::pair<clock::time_point, bool> > rs2::temporal_event::_measurements
private

Definition at line 857 of file rendering.h.

utilities::time::stopwatch rs2::temporal_event::_t
private

Definition at line 858 of file rendering.h.

clock::duration rs2::temporal_event::_window
private

Definition at line 856 of file rendering.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:41