Public Member Functions | Protected Types | Private Attributes | List of all members
librealsense::device_serializer::serialized_data Class Referenceabstract

#include <serialization.h>

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

Public Member Functions

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_type type () const =0
 
virtual ~serialized_data ()=default
 

Protected Types

enum  serialized_data_type {
  invalid, end_of_file, frame, option,
  invalid_frame, notificaion, max
}
 

Private Attributes

device_serializer::nanoseconds _timestamp
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
invalid 
end_of_file 
frame 
option 
invalid_frame 
notificaion 
max 

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

Constructor & Destructor Documentation

librealsense::device_serializer::serialized_data::serialized_data ( const device_serializer::nanoseconds timestamp = device_serializer::nanoseconds::max())
inlineexplicit

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

virtual librealsense::device_serializer::serialized_data::~serialized_data ( )
virtualdefault

Member Function Documentation

template<typename T >
std::shared_ptr<T> librealsense::device_serializer::serialized_data::as ( ) const
inline

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

virtual device_serializer::nanoseconds librealsense::device_serializer::serialized_data::get_timestamp ( ) const
inlinevirtual

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

template<typename T >
bool librealsense::device_serializer::serialized_data::is ( ) const
inline

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

virtual serialized_data_type librealsense::device_serializer::serialized_data::type ( ) const
pure virtual

Member Data Documentation

device_serializer::nanoseconds librealsense::device_serializer::serialized_data::_timestamp
private

Definition at line 100 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