Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
librealsense::processing_block_factory Class Reference

#include <processing-blocks-factory.h>

Public Member Functions

stream_profiles find_satisfied_requests (const stream_profiles &sp, const stream_profiles &supported_profiles) const
 
std::shared_ptr< processing_blockgenerate ()
 
std::vector< stream_profileget_source_info () const
 
std::vector< stream_profileget_target_info () const
 
bool has_source (const std::shared_ptr< stream_profile_interface > &source) const
 
bool operator== (const processing_block_factory &rhs) const
 
 processing_block_factory ()
 
 processing_block_factory (const std::vector< stream_profile > &from, const std::vector< stream_profile > &to, std::function< std::shared_ptr< processing_block >(void)> generate_func)
 

Static Public Member Functions

static processing_block_factory create_id_pbf (rs2_format format, rs2_stream stream, int idx=0)
 
template<typename T , typename Fn >
static std::vector< processing_block_factorycreate_pbf_vector (rs2_format src, const std::vector< rs2_format > &dst, rs2_stream stream, Fn creator)
 
template<typename T >
static std::vector< processing_block_factorycreate_pbf_vector (rs2_format src, const std::vector< rs2_format > &dst, rs2_stream stream)
 

Protected Attributes

std::vector< stream_profile_source_info
 
std::vector< stream_profile_target_info
 
std::function< std::shared_ptr< processing_block >void)> generate_processing_block
 

Detailed Description

Definition at line 17 of file processing-blocks-factory.h.

Constructor & Destructor Documentation

librealsense::processing_block_factory::processing_block_factory ( )
inline

Definition at line 20 of file processing-blocks-factory.h.

librealsense::processing_block_factory::processing_block_factory ( const std::vector< stream_profile > &  from,
const std::vector< stream_profile > &  to,
std::function< std::shared_ptr< processing_block >(void)>  generate_func 
)

Definition at line 32 of file processing-blocks-factory.cpp.

Member Function Documentation

processing_block_factory librealsense::processing_block_factory::create_id_pbf ( rs2_format  format,
rs2_stream  stream,
int  idx = 0 
)
static

Definition at line 41 of file processing-blocks-factory.cpp.

template<typename T , typename Fn >
static std::vector<processing_block_factory> librealsense::processing_block_factory::create_pbf_vector ( rs2_format  src,
const std::vector< rs2_format > &  dst,
rs2_stream  stream,
Fn  creator 
)
inlinestatic

Definition at line 34 of file processing-blocks-factory.h.

template<typename T >
static std::vector<processing_block_factory> librealsense::processing_block_factory::create_pbf_vector ( rs2_format  src,
const std::vector< rs2_format > &  dst,
rs2_stream  stream 
)
inlinestatic

Definition at line 52 of file processing-blocks-factory.h.

stream_profiles librealsense::processing_block_factory::find_satisfied_requests ( const stream_profiles sp,
const stream_profiles supported_profiles 
) const

Definition at line 82 of file processing-blocks-factory.cpp.

std::shared_ptr< processing_block > librealsense::processing_block_factory::generate ( )

Definition at line 36 of file processing-blocks-factory.cpp.

std::vector<stream_profile> librealsense::processing_block_factory::get_source_info ( ) const
inline

Definition at line 28 of file processing-blocks-factory.h.

std::vector<stream_profile> librealsense::processing_block_factory::get_target_info ( ) const
inline

Definition at line 29 of file processing-blocks-factory.h.

bool librealsense::processing_block_factory::has_source ( const std::shared_ptr< stream_profile_interface > &  source) const

Definition at line 72 of file processing-blocks-factory.cpp.

bool librealsense::processing_block_factory::operator== ( const processing_block_factory rhs) const

Definition at line 51 of file processing-blocks-factory.cpp.

Member Data Documentation

std::vector<stream_profile> librealsense::processing_block_factory::_source_info
protected

Definition at line 65 of file processing-blocks-factory.h.

std::vector<stream_profile> librealsense::processing_block_factory::_target_info
protected

Definition at line 66 of file processing-blocks-factory.h.

std::function<std::shared_ptr<processing_block>void)> librealsense::processing_block_factory::generate_processing_block
protected

Definition at line 67 of file processing-blocks-factory.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38