Public Member Functions | Private Attributes | List of all members
rs2::animated< T > Class Template Reference

#include <rendering.h>

Public Member Functions

 animated (T def, std::chrono::system_clock::duration duration=std::chrono::milliseconds(200))
 
get () const
 
 operator T () const
 
animatedoperator= (const T &other)
 
value () const
 

Private Attributes

std::chrono::system_clock::duration _duration
 
std::chrono::system_clock::time_point _last_update
 
_new
 
_old
 

Detailed Description

template<class T>
class rs2::animated< T >

Definition at line 1535 of file rendering.h.

Constructor & Destructor Documentation

template<class T>
rs2::animated< T >::animated ( def,
std::chrono::system_clock::duration  duration = std::chrono::milliseconds(200) 
)
inline

Definition at line 1542 of file rendering.h.

Member Function Documentation

template<class T>
T rs2::animated< T >::get ( ) const
inline

Definition at line 1558 of file rendering.h.

template<class T>
rs2::animated< T >::operator T ( ) const
inline

Definition at line 1567 of file rendering.h.

template<class T>
animated& rs2::animated< T >::operator= ( const T &  other)
inline

Definition at line 1548 of file rendering.h.

template<class T>
T rs2::animated< T >::value ( ) const
inline

Definition at line 1568 of file rendering.h.

Member Data Documentation

template<class T>
std::chrono::system_clock::duration rs2::animated< T >::_duration
private

Definition at line 1540 of file rendering.h.

template<class T>
std::chrono::system_clock::time_point rs2::animated< T >::_last_update
private

Definition at line 1539 of file rendering.h.

template<class T>
T rs2::animated< T >::_new
private

Definition at line 1538 of file rendering.h.

template<class T>
T rs2::animated< T >::_old
private

Definition at line 1538 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:40