X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/5885f9816965f487fd852a9ea46bbc580c48d317..db48e71a89861a755974c45ea7e7fd5d52de8afa:/Model/include/source.h?ds=inline diff --git a/Model/include/source.h b/Model/include/source.h index 48a9a12..41a7266 100644 --- a/Model/include/source.h +++ b/Model/include/source.h @@ -17,8 +17,12 @@ public: virtual bool get_output(); virtual void simulate(); + float get_actual_flow() { return actual_flow; } + float get_max_flow() { return max_flow; } + void set_max_flow(float _f) { max_flow = _f; } protected: float max_flow; + float actual_flow; private: Source(const Source &):Control("null") {} Source &operator = (const Source &) { return *this; }