summaryrefslogtreecommitdiffstats
path: root/Project/Gain.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-04 19:11:08 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-04 19:11:08 -0200
commit76df1de5e2307229da9870306e4a1031170aaadf (patch)
tree6d7144e9982a824474279f02574c918ce8fa0e9d /Project/Gain.h
parentcef9e14b989a3ba19321e4fe215ada2ee3998037 (diff)
downloadPSP.git-76df1de5e2307229da9870306e4a1031170aaadf.tar.gz
PSP.git-76df1de5e2307229da9870306e4a1031170aaadf.tar.xz
PSP.git-76df1de5e2307229da9870306e4a1031170aaadf.zip
Control elements file handling reorganized
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..c5ed6bd 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 void SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode);
+ virtual bool OpenElement(rapidxml::xml_node<>* elementNode);
+
virtual Element* GetCopy();
protected: