summaryrefslogtreecommitdiffstats
path: root/Project/Gain.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-08 20:09:35 -0200
committerGitHub <noreply@github.com>2018-01-08 20:09:35 -0200
commit29af4e28898f44df444fef5534134c6b6000418d (patch)
tree13fd8f4449f2cfeed8a6185e96a6889f9529285d /Project/Gain.h
parent0c0280cfcf540f943fd2dbfdf7ac0304ea96a465 (diff)
parentc11a42ee83fcf535557d4f2cc259efae2da1b7ff (diff)
downloadPSP.git-29af4e28898f44df444fef5534134c6b6000418d.tar.gz
PSP.git-29af4e28898f44df444fef5534134c6b6000418d.tar.xz
PSP.git-29af4e28898f44df444fef5534134c6b6000418d.zip
Merge pull request #44 from Thales1330/org/file-handling-and-ctrl-init
Org file handling and ctrl init
Diffstat (limited to 'Project/Gain.h')
-rw-r--r--Project/Gain.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Project/Gain.h b/Project/Gain.h
index 4d436f9..3c2e66b 100644
--- a/Project/Gain.h
+++ b/Project/Gain.h
@@ -50,7 +50,7 @@ class Gain : public ControlElement
virtual void UpdatePoints();
/**
* @brief Multiply the input by a constant
- *
+ *
* <center>\f$ output = K \cdot input \f$</center>
* @param input Input value.
* @param timeStep Time step.
@@ -58,6 +58,9 @@ class Gain : public ControlElement
*/
virtual bool Solve(double* input, double timeStep);
+ virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode);
+ virtual bool OpenElement(rapidxml::xml_node<>* elementNode);
+
virtual Element* GetCopy();
protected: