Arduino Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
filter.hpp
Go to the documentation of this file.
1 // Author: Mario S. Könz <mskoenz@gmx.net>
2 // Date: 23.07.2013 05:09:46 EDT
3 // File: filter.hpp
4 
5 /* This program is free software. It comes without any warranty, to
6  * the extent permitted by applicable law. You can redistribute it
7  * and/or modify it under the terms of the Do What The Fuck You Want
8  * To Public License, Version 2, as published by Sam Hocevar. See
9  * http://www.wtfpl.net/ or COPYING for more details. */
10 
11 #ifndef __FILTER_HEADER
12 #define __FILTER_HEADER
13 
14 #include "filter/identity.hpp"
15 #include "filter/lowpass.hpp"
16 #include "filter/highpass.hpp"
17 #include "filter/hysteresis.hpp"
18 
19 namespace ustd {
20  template< typename T
21  , typename tag0 = tag::identity
22  , typename tag1 = tag::identity
23  , typename tag2 = tag::identity
24  , typename tag3 = tag::identity
25  , typename tag4 = tag::identity
26  , typename tag5 = tag::identity
27  , typename tag6 = tag::identity
28  , typename tag7 = tag::identity
29  , typename tag8 = tag::identity
30  , typename tag9 = tag::identity
31  , typename end_tag = tag::identity //leave this default! else something is derived form void
32  >
33  using filter = typename realization<T, tag0
34  , typename realization<T, tag1
35  , typename realization<T, tag2
36  , typename realization<T, tag3
37  , typename realization<T, tag4
38  , typename realization<T, tag5
39  , typename realization<T, tag6
40  , typename realization<T, tag7
41  , typename realization<T, tag8
42  , typename realization<T, tag9
43  , typename realization<T, end_tag, void>::type
44  >::type
45  >::type
46  >::type
47  >::type
48  >::type
49  >::type
50  >::type
51  >::type
52  >::type
53  >::type;
54 }//end namespace ustd
55 #endif //__FILTER_HEADER
typename realization< T, tag0, typename realization< T, tag1, typename realization< T, tag2, typename realization< T, tag3, typename realization< T, tag4, typename realization< T, tag5, typename realization< T, tag6, typename realization< T, tag7, typename realization< T, tag8, typename realization< T, tag9, typename realization< T, end_tag, void >::type >::type >::type >::type >::type >::type >::type >::type >::type >::type >::type filter
Definition: filter.hpp:53