Public Member Functions | Public Attributes | Protected Attributes | List of all members
rs2::processing_block_model Class Reference

#include <processing-block-model.h>

Inheritance diagram for rs2::processing_block_model:
Inheritance graph

Public Member Functions

void enable (bool e=true)
std::shared_ptr< rs2::filterget_block ()
const std::stringget_name () const
option_modelget_option (rs2_option opt)
std::vector< rs2_optionget_option_list ()
rs2::frame invoke (rs2::frame f) const
bool is_enabled () const
void populate_options (const std::string &opt_base_label, subdevice_model *model, bool *options_invalidated, std::string &error_message)
virtual void processing_block_enable_disable (bool actual)
 processing_block_model (subdevice_model *owner, const std::string &name, std::shared_ptr< rs2::filter > block, std::function< rs2::frame(rs2::frame)> invoker, std::string &error_message, bool enabled=true)
void save_to_config_file ()
virtual ~processing_block_model ()=default

Public Attributes

bool visible = true

Protected Attributes

std::shared_ptr< rs2::filter_block
bool _enabled = true
std::string _full_name
std::function< rs2::frame(rs2::frame)> _invoker
std::string _name
std::map< int, option_modeloptions_metadata

Detailed Description

Definition at line 12 of file processing-block-model.h.

Constructor & Destructor Documentation

rs2::processing_block_model::processing_block_model ( subdevice_model owner,
const std::string name,
std::shared_ptr< rs2::filter block,
std::function< rs2::frame(rs2::frame)>  invoker,
std::string error_message,
bool  enabled = true 

Definition at line 942 of file model-views.cpp.

virtual rs2::processing_block_model::~processing_block_model ( )

Member Function Documentation

void rs2::processing_block_model::enable ( bool  e = true)

Definition at line 43 of file processing-block-model.h.

std::shared_ptr<rs2::filter> rs2::processing_block_model::get_block ( )

Definition at line 41 of file processing-block-model.h.

const std::string& rs2::processing_block_model::get_name ( ) const

Definition at line 23 of file processing-block-model.h.

option_model & rs2::processing_block_model::get_option ( rs2_option  opt)

Definition at line 971 of file model-views.cpp.

std::vector<rs2_option> rs2::processing_block_model::get_option_list ( )

Definition at line 31 of file processing-block-model.h.

rs2::frame rs2::processing_block_model::invoke ( rs2::frame  f) const

Definition at line 27 of file processing-block-model.h.

bool rs2::processing_block_model::is_enabled ( ) const

Definition at line 47 of file processing-block-model.h.

void rs2::processing_block_model::populate_options ( const std::string opt_base_label,
subdevice_model model,
bool *  options_invalidated,
std::string error_message 

Definition at line 981 of file model-views.cpp.

virtual void rs2::processing_block_model::processing_block_enable_disable ( bool  actual)

Reimplemented in rs2::post_processing_block_model.

Definition at line 54 of file processing-block-model.h.

void rs2::processing_block_model::save_to_config_file ( )

Definition at line 966 of file model-views.cpp.

Member Data Documentation

std::shared_ptr<rs2::filter> rs2::processing_block_model::_block

Definition at line 58 of file processing-block-model.h.

bool rs2::processing_block_model::_enabled = true

Definition at line 57 of file processing-block-model.h.

std::string rs2::processing_block_model::_full_name

Definition at line 61 of file processing-block-model.h.

std::function<rs2::frame( rs2::frame )> rs2::processing_block_model::_invoker

Definition at line 62 of file processing-block-model.h.

std::string rs2::processing_block_model::_name

Definition at line 60 of file processing-block-model.h.

subdevice_model* rs2::processing_block_model::_owner

Definition at line 63 of file processing-block-model.h.

std::map<int, option_model> rs2::processing_block_model::options_metadata

Definition at line 59 of file processing-block-model.h.

bool rs2::processing_block_model::visible = true

Definition at line 49 of file processing-block-model.h.

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

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