SoftFilters
0.1.0
Arduino framework and library of software data filters.
Tree.h
Go to the documentation of this file.
1
16
#ifndef TREE_H
17
#define TREE_H
18
19
#include "
LinkedList.h
"
20
21
template
<
typename
VAL_T>
22
class
Tree
23
{
24
public
:
25
VAL_T value;
26
void
appendChild(
Tree<VAL_T>
const
&child) { subtrees.
append
(&child); }
27
protected
:
28
LinkedList<Tree<VAL_T>
*> subtrees;
29
};
30
31
#endif
LinkedList.h
The linked list class to support the Tree class and FilterChain class.
Tree
Definition:
Tree.h:22
LinkedList
Definition:
LinkedList.h:54
LinkedList::append
void append(VAL_T const &v)
Append an element.
Definition:
LinkedList.h:70
src
Tree.h
Generated by
1.8.13