|
MayaFlux 0.4.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 | |
| template<typename T > | |
| T * | as () |
| Safely cast to a derived context type. | |
| template<typename T > | |
| const T * | as () const |
| virtual | ~NodeContext ()=default |
Public Attributes | |
| const std::vector< double > & | coefs_a |
| Current coefficients for input. | |
| const std::vector< double > & | coefs_b |
| Current coefficients for output. | |
| const std::vector< double > & | input_history |
| Current input history buffer. | |
| const std::vector< double > & | output_history |
| Current output history buffer. | |
Public Attributes inherited from MayaFlux::Nodes::NodeContext | |
| std::string | type_id |
| Type identifier for runtime type checking. | |
| double | value |
| Current sample value. | |
Additional Inherited Members | |
Protected Member Functions inherited from MayaFlux::Nodes::NodeContext | |
| NodeContext (double value, 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.