diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-12-20 20:45:35 -0200 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-12-20 20:45:35 -0200 |
commit | c6d815b6b11504be68d7a97df63cfef749624418 (patch) | |
tree | 750161c22282c781ab9c62fec84c8de50dfb230f /Project/ControlElement.h | |
parent | 54bb80251432ff49c967115f8401e7dafc5c57d6 (diff) | |
download | PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.gz PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.xz PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.zip |
Math expr GUI implemented
Diffstat (limited to 'Project/ControlElement.h')
-rw-r--r-- | Project/ControlElement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/ControlElement.h b/Project/ControlElement.h index 434e535..39e2dcf 100644 --- a/Project/ControlElement.h +++ b/Project/ControlElement.h @@ -102,7 +102,8 @@ class ControlElement : public Element virtual bool UpdateText() { return true; } virtual bool IsSolved() const { return m_solved; } virtual void SetSolved(bool solved = true) { m_solved = solved; } - virtual bool Solve(double input, double timeStep); + virtual bool Solve(double input, double timeStep, double currentTime); + virtual bool Initialize() { return true; } virtual double GetOutput() const { return m_output; } virtual void SetOutput(double output) { m_output = output; } protected: |