|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Specialized context for filter node callbacks. More...
#include <Filter.hpp>
Inheritance diagram for MayaFlux::Nodes::Filters::FilterContext:
Collaboration diagram for MayaFlux::Nodes::Filters::FilterContext:Public Member Functions | |
| FilterContext (double value, const std::vector< double > &input_history, const std::vector< double > &output_history, const std::vector< double > &coefs_a, const std::vector< double > &coefs_b) | |
| Constructs a FilterContext with the current filter state. | |
Public Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| virtual | ~NodeContext ()=default |
| template<typename T > | |
| T * | as () |
| Safely cast to a derived context type. | |
Public Attributes | |
| const std::vector< double > & | input_history |
| Current input history buffer. | |
| const std::vector< double > & | output_history |
| Current output history buffer. | |
| const std::vector< double > & | coefs_a |
| Current coefficients for input. | |
| const std::vector< double > & | coefs_b |
| Current coefficients for output. | |
Public Attributes inherited from MayaFlux::Nodes::NodeContext | |
| double | value |
| Current sample value. | |
| std::string | type_id |
| Type identifier for runtime type checking. | |
Additional Inherited Members | |
Protected Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| NodeContext (double value, const std::string &type) | |
| Protected constructor for NodeContext. | |
Specialized context for filter node callbacks.
FilterContext extends the base NodeContext to provide filter-specific information to callbacks. It includes references to the filter's internal state, including input and output history buffers and coefficient vectors.
This rich context enables callbacks to perform sophisticated analysis and monitoring of filter behavior, such as:
Definition at line 29 of file Filter.hpp.