Public Member Functions | Protected Attributes | List of all members
librealsense::global_time_interface Class Referenceabstract

#include <global_timestamp_reader.h>

Inheritance diagram for librealsense::global_time_interface:
Inheritance graph
[legend]

Public Member Functions

virtual void create_snapshot (std::shared_ptr< global_time_interface > &snapshot) const override
 
virtual void enable_recording (std::function< void(const global_time_interface &)> record_action) override
 
void enable_time_diff_keeper (bool is_enable)
 
virtual double get_device_time_ms ()=0
 
 global_time_interface ()
 
 ~global_time_interface ()
 
- Public Member Functions inherited from librealsense::recordable< global_time_interface >
virtual ~recordable ()=default
 

Protected Attributes

std::shared_ptr< time_diff_keeper_tf_keeper
 

Detailed Description

Definition at line 106 of file global_timestamp_reader.h.

Constructor & Destructor Documentation

librealsense::global_time_interface::global_time_interface ( )

Definition at line 314 of file global_timestamp_reader.cpp.

librealsense::global_time_interface::~global_time_interface ( )
inline

Definition at line 113 of file global_timestamp_reader.h.

Member Function Documentation

virtual void librealsense::global_time_interface::create_snapshot ( std::shared_ptr< global_time_interface > &  snapshot) const
inlineoverridevirtual

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Implements librealsense::recordable< global_time_interface >.

Definition at line 116 of file global_timestamp_reader.h.

virtual void librealsense::global_time_interface::enable_recording ( std::function< void(const global_time_interface &)>  recording_function)
inlineoverridevirtual

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< global_time_interface >.

Definition at line 117 of file global_timestamp_reader.h.

void librealsense::global_time_interface::enable_time_diff_keeper ( bool  is_enable)

Definition at line 318 of file global_timestamp_reader.cpp.

virtual double librealsense::global_time_interface::get_device_time_ms ( )
pure virtual

Member Data Documentation

std::shared_ptr<time_diff_keeper> librealsense::global_time_interface::_tf_keeper
protected

Definition at line 109 of file global_timestamp_reader.h.


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


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