Public Member Functions | List of all members
rs2::recording_context Class Reference

#include <rs_internal.hpp>

Inheritance diagram for rs2::recording_context:
Inheritance graph
[legend]

Public Member Functions

 recording_context (const std::string &filename, const std::string &section="", rs2_recording_mode mode=RS2_RECORDING_MODE_BLANK_FRAMES)
 
 recording_context ()=delete
 
- Public Member Functions inherited from rs2::context
 context ()
 
 context (std::shared_ptr< rs2_context > ctx)
 
device get_sensor_parent (const sensor &s) const
 
playback load_device (const std::string &file)
 
 operator std::shared_ptr< rs2_context > ()
 
std::vector< sensorquery_all_sensors () const
 Generate a flat list of all available sensors from all RealSense devices. More...
 
device_list query_devices () const
 
device_list query_devices (int mask) const
 
template<class T >
void set_devices_changed_callback (T callback)
 
void unload_device (const std::string &file)
 
void unload_tracking_module ()
 

Additional Inherited Members

- Protected Attributes inherited from rs2::context
std::shared_ptr< rs2_context_context
 

Detailed Description

Definition at line 14 of file rs_internal.hpp.

Constructor & Destructor Documentation

rs2::recording_context::recording_context ( const std::string filename,
const std::string section = "",
rs2_recording_mode  mode = RS2_RECORDING_MODE_BLANK_FRAMES 
)
inline

create librealsense context that will try to record all operations over librealsense into a file

Parameters
[in]filenamestring representing the name of the file to record

Definition at line 21 of file rs_internal.hpp.

rs2::recording_context::recording_context ( )
delete

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