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

#include <rs_serializable_device.hpp>

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

Public Member Functions

void load_json (const std::string &json_content) const
 
 serializable_device (rs2::device d)
 
std::string serialize_json () const
 
- Public Member Functions inherited from rs2::device
template<class T >
as () const
 
 device ()
 
 device (std::shared_ptr< rs2_device > dev)
 
template<class T >
first () const
 
const std::shared_ptr< rs2_device > & get () const
 
const char * get_info (rs2_camera_info info) const
 
void hardware_reset ()
 
template<class T >
bool is () const
 
 operator bool () const
 
 operator std::shared_ptr< rs2_device > ()
 
deviceoperator= (const std::shared_ptr< rs2_device > dev)
 
deviceoperator= (const device &dev)
 
std::vector< sensorquery_sensors () const
 
bool supports (rs2_camera_info info) const
 
virtual ~device ()
 

Additional Inherited Members

- Protected Attributes inherited from rs2::device
std::shared_ptr< rs2_device_dev
 

Detailed Description

Definition at line 12 of file rs_serializable_device.hpp.

Constructor & Destructor Documentation

rs2::serializable_device::serializable_device ( rs2::device  d)
inline

Definition at line 15 of file rs_serializable_device.hpp.

Member Function Documentation

void rs2::serializable_device::load_json ( const std::string json_content) const
inline

Definition at line 47 of file rs_serializable_device.hpp.

std::string rs2::serializable_device::serialize_json ( ) const
inline

Definition at line 26 of file rs_serializable_device.hpp.


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