FilterGen  1.0.0
A library to design digital filters in embedded systems.
API for C++

The API for the C++ Programming language. More...

Classes

class  dh::filter
 This class holds the C++ bindings to the filter library. More...
 

Detailed Description

The API for the C++ Programming language.

The C++ API provides a convienient interface that is easire to use than the C-API. To create a filter, you first create a dh_filter_parameters structure and initialize its data members. The filter is initialized via the constructor. If the object is returned and no exception is throw, you are good to go.

Here is an example for the basic usage of the API:

// set values in parameters to create your desired filter
auto filter = dh::filter(parameters);
// the filter is ready to be used
while (do_stuff) {
auto output = filter.update(get_inputs());
// use output
}
dh::filter
This class holds the C++ bindings to the filter library.
Definition: filter.hpp:50
dh_filter_parameters
Definition: filter-types.h:81