31 std::shared_ptr<rs2_raw_data_buffer> json_data(
52 (
unsigned int)json_content.size(),
const std::shared_ptr< rs2_device > & get() const
const unsigned char * rs2_get_raw_data(const rs2_raw_data_buffer *buffer, rs2_error **error)
void rs2_load_json(rs2_device *dev, const void *json_content, unsigned content_size, rs2_error **error)
GLsizei const GLchar *const * string
void rs2_delete_raw_data(const rs2_raw_data_buffer *buffer)
int rs2_get_raw_data_size(const rs2_raw_data_buffer *buffer, rs2_error **error)
rs2_raw_data_buffer * rs2_serialize_json(rs2_device *dev, rs2_error **error)
void load_json(const std::string &json_content) const
int rs2_is_device_extendable_to(const rs2_device *device, rs2_extension extension, rs2_error **error)
std::shared_ptr< rs2_device > _dev
serializable_device(rs2::device d)
static void handle(rs2_error *e)
std::string serialize_json() const