Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
serializable-interface.h
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2020 Intel Corporation. All Rights Reserved.
3
4
#pragma once
5
#include "
types.h
"
6
#include "
core/extension.h
"
7
8
namespace
librealsense
9
{
10
class
serializable_interface
11
{
12
public
:
13
virtual
std::vector<uint8_t>
serialize_json
()
const
= 0;
14
virtual
void
load_json
(
const
std::string
& json_content) = 0;
15
};
16
MAP_EXTENSION
(
RS2_EXTENSION_SERIALIZABLE
,
serializable_interface
);
17
}
types.h
string
GLsizei const GLchar *const * string
Definition:
glad/glad/glad.h:2862
librealsense::serializable_interface::load_json
virtual void load_json(const std::string &json_content)=0
librealsense
Definition:
calibration-model.h:6
librealsense::serializable_interface::serialize_json
virtual std::vector< uint8_t > serialize_json() const =0
extension.h
RS2_EXTENSION_SERIALIZABLE
Definition:
rs_types.h:214
librealsense::serializable_interface
Definition:
serializable-interface.h:10
librealsense::MAP_EXTENSION
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:41