functional-dag
Loading...
Searching...
No Matches
default_types_impl.hpp
1#pragma once
2// ---------------------------------------------
3// ___ .___
4// |_ \ __| _/____ ____
5// / \ ______ / __ |\__ \ / ___\
6// / /\ \ /_____/ / /_/ | / __ \_/ /_/ >
7// /_/ \__\ \____ |(____ /\___ /
8// \/ \//_____/
9// ---------------------------------------------
10// @author ndepalma@alum.mit.edu
11
12#include "functional_dag/dag_interface.hpp"
13
18template <class Out>
19class dag_fake_source : public dag_source<FirstOut>
20{
21public:
25 Out *update() {
26 return nullptr;
27 }
28};
A source that just returns null pointers.
Definition default_types_impl.hpp:20
Out * update()
Update generator function that returns NULL.
Definition default_types_impl.hpp:25