#include <processing-block-model.h>
Public Member Functions | |
void | enable (bool e=true) |
std::shared_ptr< rs2::filter > | get_block () |
const std::string & | get_name () const |
option_model & | get_option (rs2_option opt) |
std::vector< rs2_option > | get_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 |
subdevice_model * | _owner |
std::map< int, option_model > | options_metadata |
Definition at line 12 of file processing-block-model.h.
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.
|
virtualdefault |
|
inline |
Definition at line 43 of file processing-block-model.h.
|
inline |
Definition at line 41 of file processing-block-model.h.
|
inline |
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.
|
inline |
Definition at line 31 of file processing-block-model.h.
|
inline |
Definition at line 27 of file processing-block-model.h.
|
inline |
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.
|
inlinevirtual |
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.
|
protected |
Definition at line 58 of file processing-block-model.h.
|
protected |
Definition at line 57 of file processing-block-model.h.
|
protected |
Definition at line 61 of file processing-block-model.h.
|
protected |
Definition at line 62 of file processing-block-model.h.
|
protected |
Definition at line 60 of file processing-block-model.h.
|
protected |
Definition at line 63 of file processing-block-model.h.
|
protected |
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.