Public Member Functions | Protected Member Functions | Private Attributes | List of all members
post_processing_worker_filter Class Referenceabstract

#include <post-processing-worker-filter.h>

Inheritance diagram for post_processing_worker_filter:
Inheritance graph
[legend]

Public Member Functions

void start (rs2::subdevice_model &model) override
 
- Public Member Functions inherited from post_processing_filter
std::string const & get_name () const
 
virtual void on_processing_block_enable (bool e)
 
- Public Member Functions inherited from rs2::filter
template<class T >
as () const
 
 filter (std::shared_ptr< rs2_processing_block > block, int queue_size=1)
 
template<class S >
 filter (S processing_function, int queue_size=1)
 
rs2_processing_blockget () const
 
frame_queue get_queue ()
 
template<class T >
bool is () const
 
 operator bool () const
 
rs2::frame process (rs2::frame frame) const override
 
- Public Member Functions inherited from rs2::processing_block
rs2_processing_blockget () const
 
const char * get_info (rs2_camera_info info) const
 
void invoke (frame f) const
 
 operator rs2_options * () const
 
template<class S >
S & operator>> (S &on_frame)
 
 processing_block (std::shared_ptr< rs2_processing_block > block)
 
template<class S >
 processing_block (S processing_function)
 
template<class S >
void start (S on_frame)
 
bool supports (rs2_camera_info info) const
 
- Public Member Functions inherited from rs2::options
float get_option (rs2_option option) const
 
const char * get_option_description (rs2_option option) const
 
const char * get_option_name (rs2_option option) const
 
option_range get_option_range (rs2_option option) const
 
const char * get_option_value_description (rs2_option option, float val) const
 
std::vector< rs2_optionget_supported_options ()
 
bool is_option_read_only (rs2_option option) const
 
optionsoperator= (const options &other)
 
 options (const options &other)
 
void set_option (rs2_option option, float value) const
 
bool supports (rs2_option option) const
 
virtual ~options ()=default
 
- Public Member Functions inherited from rs2::filter_interface
virtual ~filter_interface ()=default
 

Protected Member Functions

 post_processing_worker_filter (std::string const &name)
 
rs2::frame process_frame (rs2::frame fs) override
 
void release_background_worker ()
 
virtual void worker_body (rs2::frame fs)=0
 
virtual void worker_end ()
 
virtual void worker_start ()
 
 ~post_processing_worker_filter ()
 
- Protected Member Functions inherited from post_processing_filter
std::string get_context (rs2::frame f=rs2::frame()) const
 
void get_trinsics (rs2::video_frame cf, rs2::depth_frame df, rs2_intrinsics &color_intrin, rs2_intrinsics &depth_intrin, rs2_extrinsics &color_extrin, rs2_extrinsics &depth_extrin)
 
bool is_pb_enabled () const
 
 post_processing_filter (std::string const &name)
 
rs2::rect project_rect_to_depth (rs2::rect const &bbox, rs2::depth_frame df, rs2_intrinsics const &color_intrin, rs2_intrinsics const &depth_intrin, rs2_extrinsics const &color_extrin, rs2_extrinsics const &depth_extrin)
 
- Protected Member Functions inherited from rs2::processing_block
void register_simple_option (rs2_option option_id, option_range range)
 
- Protected Member Functions inherited from rs2::options
template<class T >
optionsoperator= (const T &dev)
 
 options (rs2_options *o=nullptr)
 

Private Attributes

std::atomic_bool _alive { true }
 
rs2::frame_queue _queue
 
std::thread _worker
 

Additional Inherited Members

- Protected Attributes inherited from rs2::filter
frame_queue _queue
 
- Protected Attributes inherited from rs2::processing_block
std::shared_ptr< rs2_processing_block_block
 

Detailed Description

Definition at line 12 of file post-processing-worker-filter.h.

Constructor & Destructor Documentation

post_processing_worker_filter::post_processing_worker_filter ( std::string const &  name)
inlineprotected

Definition at line 19 of file post-processing-worker-filter.h.

post_processing_worker_filter::~post_processing_worker_filter ( )
inlineprotected

Definition at line 23 of file post-processing-worker-filter.h.

Member Function Documentation

rs2::frame post_processing_worker_filter::process_frame ( rs2::frame  fs)
inlineoverrideprotectedvirtual

Implements post_processing_filter.

Definition at line 70 of file post-processing-worker-filter.h.

void post_processing_worker_filter::release_background_worker ( )
inlineprotected

Definition at line 31 of file post-processing-worker-filter.h.

void post_processing_worker_filter::start ( rs2::subdevice_model model)
inlineoverridevirtual

Reimplemented from post_processing_filter.

Reimplemented in openvino_face_detection.

Definition at line 39 of file post-processing-worker-filter.h.

virtual void post_processing_worker_filter::worker_body ( rs2::frame  fs)
protectedpure virtual

Implemented in openvino_face_detection.

virtual void post_processing_worker_filter::worker_end ( )
inlineprotectedvirtual

Definition at line 77 of file post-processing-worker-filter.h.

virtual void post_processing_worker_filter::worker_start ( )
inlineprotectedvirtual

Reimplemented in openvino_face_detection.

Definition at line 76 of file post-processing-worker-filter.h.

Member Data Documentation

std::atomic_bool post_processing_worker_filter::_alive { true }
private

Definition at line 14 of file post-processing-worker-filter.h.

rs2::frame_queue post_processing_worker_filter::_queue
private

Definition at line 16 of file post-processing-worker-filter.h.

std::thread post_processing_worker_filter::_worker
private

Definition at line 15 of file post-processing-worker-filter.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:32