1 #ifndef MF_EXPORTER_FILTER_H_
2 #define MF_EXPORTER_FILTER_H_
6 #include "../io/frame_exporter.h"
8 namespace mf {
namespace flow {
11 template<
typename Exporter>
19 template<
typename... Args>
22 exporter_(std::forward<Args>(args)...),
31 exporter_.write_frame(in);
input_port< Dim, Elem > input_type
Definition: filter.h:24
Node which delegates concrete frame processing to associated filter object.
Definition: filter_node.h:15
void process(node_job &job) override
Process a frame.
Definition: exporter.h:29
void setup() override
Set up the filter, called prior to any frame being processed.
Definition: exporter.h:25
Work unit of flow graph node.
Definition: node_job.h:13
Exporter sink filter, writes frames to associated frame_exporter.
Definition: exporter.h:12
exporter_filter(filter_node &nd, Args &&...args)
Definition: exporter.h:20
decltype(auto) in(Input &)
Sink filter.
Definition: filter.h:64
input_type< Exporter::dimension, typename Exporter::elem_type > input
Definition: exporter.h:17