summaryrefslogtreecommitdiffstats
path: root/src/Flowgraph.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 11:01:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 11:01:56 +0200
commit32f9e6e8bfa584f0dfb155c0bb7cdc843614af5c (patch)
tree59cd09a0eaa6469ba7aed1b9b167cfc8643ec68f /src/Flowgraph.h
parent0c532ab20b47d661f098cc6089184303dce65d56 (diff)
downloaddabmod-32f9e6e8bfa584f0dfb155c0bb7cdc843614af5c.tar.gz
dabmod-32f9e6e8bfa584f0dfb155c0bb7cdc843614af5c.tar.bz2
dabmod-32f9e6e8bfa584f0dfb155c0bb7cdc843614af5c.zip
Rework EDI input
- Use same main loop for both ETI and EDI inputs - Test SFN functionality with EDI input - Add log.show_process_time setting for process time printout
Diffstat (limited to 'src/Flowgraph.h')
-rw-r--r--src/Flowgraph.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Flowgraph.h b/src/Flowgraph.h
index 389359b..753070b 100644
--- a/src/Flowgraph.h
+++ b/src/Flowgraph.h
@@ -71,7 +71,7 @@ protected:
#endif
std::shared_ptr<ModPlugin> myPlugin;
- time_t myProcessTime;
+ time_t myProcessTime = 0;
};
@@ -94,7 +94,7 @@ protected:
class Flowgraph
{
public:
- Flowgraph();
+ Flowgraph(bool showProcessTime);
virtual ~Flowgraph();
Flowgraph(const Flowgraph&) = delete;
Flowgraph& operator=(const Flowgraph&) = delete;
@@ -106,7 +106,8 @@ public:
protected:
std::vector<std::shared_ptr<Node> > nodes;
std::vector<std::shared_ptr<Edge> > edges;
- time_t myProcessTime;
+ time_t myProcessTime = 0;
+ bool myShowProcessTime;
};