Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Loading...
Searching...
No Matches
rs2::serializable_device Class Reference

#include <rs_serializable_device.hpp>

Inheritance diagram for rs2::serializable_device:
rs2::device rs400::advanced_mode

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ serializable_device()

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

Member Function Documentation

◆ load_json()

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

◆ serialize_json()

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

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