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; }