Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
librealsense::device_serializer::serialized_option Class Reference

#include <serialization.h>

Inheritance diagram for librealsense::device_serializer::serialized_option:
Inheritance graph
[legend]

Public Member Functions

 serialized_option (device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr< librealsense::option > o)
 
serialized_data_type type () const override
 
- Public Member Functions inherited from librealsense::device_serializer::serialized_data
template<typename T >
std::shared_ptr< T > as () const
 
virtual device_serializer::nanoseconds get_timestamp () const
 
template<typename T >
bool is () const
 
 serialized_data (const device_serializer::nanoseconds &timestamp=device_serializer::nanoseconds::max())
 
virtual ~serialized_data ()=default
 

Static Public Member Functions

static serialized_data_type get_type ()
 

Public Attributes

std::shared_ptr< librealsense::optionoption
 
rs2_option option_id
 
sensor_identifier sensor_id
 

Additional Inherited Members

- Protected Types inherited from librealsense::device_serializer::serialized_data
enum  serialized_data_type {
  invalid, end_of_file, frame, option,
  invalid_frame, notificaion, max
}
 

Detailed Description

Definition at line 137 of file src/core/serialization.h.

Constructor & Destructor Documentation

librealsense::device_serializer::serialized_option::serialized_option ( device_serializer::nanoseconds  time,
sensor_identifier  id,
rs2_option  opt_id,
std::shared_ptr< librealsense::option o 
)
inline

Definition at line 140 of file src/core/serialization.h.

Member Function Documentation

static serialized_data_type librealsense::device_serializer::serialized_option::get_type ( )
inlinestatic

Definition at line 147 of file src/core/serialization.h.

serialized_data_type librealsense::device_serializer::serialized_option::type ( ) const
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<librealsense::option> librealsense::device_serializer::serialized_option::option

Definition at line 145 of file src/core/serialization.h.

rs2_option librealsense::device_serializer::serialized_option::option_id

Definition at line 146 of file src/core/serialization.h.

sensor_identifier librealsense::device_serializer::serialized_option::sensor_id

Definition at line 144 of file src/core/serialization.h.


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:38