Public Member Functions | Static Protected Member Functions | Private Attributes | List of all members
rs2::tools::converter::converter_bin Class Reference

#include <converter-bin.hpp>

Inheritance diagram for rs2::tools::converter::converter_bin:
Inheritance graph
[legend]

Public Member Functions

void convert (rs2::frame &frame) override
 
 converter_bin (const std::string &filePath, rs2_stream streamType=rs2_stream::RS2_STREAM_ANY)
 
std::string name () const override
 
- Public Member Functions inherited from rs2::tools::converter::converter_base
virtual std::string get_statistics ()
 
void wait ()
 

Static Protected Member Functions

static voidto_ieee754_32 (float f, uint8_t *buffer)
 

Private Attributes

std::string _filePath
 
rs2_stream _streamType
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::tools::converter::converter_base
template<typename F >
void add_sub_worker (const F &f)
 
bool frames_map_get_and_set (rs2_stream streamType, frame_number_t frameNumber)
 
template<typename F >
void start_worker (const F &f)
 
void wait_sub_workers ()
 
- Protected Attributes inherited from rs2::tools::converter::converter_base
std::unordered_map< int, std::unordered_set< frame_number_t > > _framesMap
 
std::vector< std::thread > _subWorkers
 
std::thread _worker
 

Detailed Description

Definition at line 18 of file converter-bin.hpp.

Constructor & Destructor Documentation

rs2::tools::converter::converter_bin::converter_bin ( const std::string filePath,
rs2_stream  streamType = rs2_stream::RS2_STREAM_ANY 
)
inline

Definition at line 63 of file converter-bin.hpp.

Member Function Documentation

void rs2::tools::converter::converter_bin::convert ( rs2::frame frame)
inlineoverridevirtual

Implements rs2::tools::converter::converter_base.

Definition at line 74 of file converter-bin.hpp.

std::string rs2::tools::converter::converter_bin::name ( ) const
inlineoverridevirtual

Implements rs2::tools::converter::converter_base.

Definition at line 69 of file converter-bin.hpp.

static void* rs2::tools::converter::converter_bin::to_ieee754_32 ( float  f,
uint8_t buffer 
)
inlinestaticprotected

Definition at line 23 of file converter-bin.hpp.

Member Data Documentation

std::string rs2::tools::converter::converter_bin::_filePath
private

Definition at line 20 of file converter-bin.hpp.

rs2_stream rs2::tools::converter::converter_bin::_streamType
private

Definition at line 19 of file converter-bin.hpp.


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