#include <rs_internal.hpp>

Public Member Functions | |
| mock_context (const std::string &filename, const std::string §ion="", const std::string &min_api_version="0.0.0") | |
| mock_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< sensor > | query_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 |
Definition at line 35 of file rs_internal.hpp.
|
inline |
create librealsense context that given a file will respond to calls exactly as the recording did if the user calls a method that was either not called during recording or violates causality of the recording error will be thrown
| [in] | filename | string of the name of the file |
Definition at line 43 of file rs_internal.hpp.
|
delete |