class filter<T> demo¶
template <typename T>
class filter { … }
A generic filter interface.
This abstract base class defines the interface for filters that can process data arrays of a given type.
| T | The data type of the elements to filter. |
destructor ~filter<T>() ¶
virtual ~filter()
Virtual destructor.
Defined at library.hpp:375
function apply(T *, size_t) ¶
virtual void apply(T* data, size_t size) = 0
Applies the filter to a data array.
| data | Pointer to the input/output data buffer. |
| size | Number of elements in the buffer. |
Defined at library.hpp:380
Defined at library.hpp:371