Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::md_constant_parser Class Reference

metadata parser class - support metadata in format: rs2_frame_metadata_value, rs2_metadata_type More...

#include <metadata-parser.h>

Inheritance diagram for librealsense::md_constant_parser:
Inheritance graph
[legend]

Public Member Functions

rs2_metadata_type get (const frame &frm) const override
 
 md_constant_parser (rs2_frame_metadata_value type)
 
bool supports (const frame &frm) const override
 
- Public Member Functions inherited from librealsense::md_attribute_parser_base
virtual ~md_attribute_parser_base ()=default
 

Static Public Member Functions

static std::shared_ptr< metadata_parser_mapcreate_metadata_parser_map ()
 

Private Member Functions

bool try_get (const frame &frm, rs2_metadata_type &result) const
 

Private Attributes

rs2_frame_metadata_value _type
 

Detailed Description

metadata parser class - support metadata in format: rs2_frame_metadata_value, rs2_metadata_type

Definition at line 37 of file metadata-parser.h.

Constructor & Destructor Documentation

librealsense::md_constant_parser::md_constant_parser ( rs2_frame_metadata_value  type)
inline

Definition at line 40 of file metadata-parser.h.

Member Function Documentation

static std::shared_ptr<metadata_parser_map> librealsense::md_constant_parser::create_metadata_parser_map ( )
inlinestatic

Definition at line 56 of file metadata-parser.h.

rs2_metadata_type librealsense::md_constant_parser::get ( const frame frm) const
inlineoverridevirtual

Implements librealsense::md_attribute_parser_base.

Definition at line 41 of file metadata-parser.h.

bool librealsense::md_constant_parser::supports ( const frame frm) const
inlineoverridevirtual

Implements librealsense::md_attribute_parser_base.

Definition at line 50 of file metadata-parser.h.

bool librealsense::md_constant_parser::try_get ( const frame frm,
rs2_metadata_type result 
) const
inlineprivate

Definition at line 67 of file metadata-parser.h.

Member Data Documentation

rs2_frame_metadata_value librealsense::md_constant_parser::_type
private

Definition at line 84 of file metadata-parser.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:37