summaryrefslogtreecommitdiffstats
path: root/Bachelor/Softwaretechnik2/mixer/CRezept.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Softwaretechnik2/mixer/CRezept.cpp')
-rw-r--r--Bachelor/Softwaretechnik2/mixer/CRezept.cpp53
1 files changed, 53 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik2/mixer/CRezept.cpp b/Bachelor/Softwaretechnik2/mixer/CRezept.cpp
new file mode 100644
index 0000000..87aa341
--- /dev/null
+++ b/Bachelor/Softwaretechnik2/mixer/CRezept.cpp
@@ -0,0 +1,53 @@
+/**********************************************************************************/
+/* Definitionsmodul */
+/**********************************************************************************/
+/*
+ * generiert mit Innovator Version 8.1.04
+ *
+ * erstellt am: 12.01.2006 14:36:19
+ * Repository : swtc20
+ * Modell : swt
+ * Benutzer : swtc20
+ * File : /users/swtc20/code/CRezept.cpp
+ *
+ */
+
+
+// ino.module.CRezept.1077.includes
+#include "CRezept.hpp"
+// ino.end
+#include "CDosierer.hpp"
+#include "CEntleerer.hpp"
+#include "CWaage.hpp"
+#include "CDisplay.hpp"
+#include "CStampfer.hpp"
+#include "CMischer.hpp"
+#include "CRezeptSchritt.hpp"
+
+
+// ino.method.verarbeiteRezept.921.definition
+int systemModel::AnalyseModell::CRezept::verarbeiteRezept()
+// ino.end
+// ino.method.verarbeiteRezept.921.body
+{
+ for (int i=0;i<rezSchr.size();i++)
+ rezSchr[i]->verarbeite();
+ return 0;
+}
+// ino.end
+
+systemModel::AnalyseModell::CRezept::CRezept() {
+ mAktRezeptSchritt=0;
+}
+
+
+void systemModel::AnalyseModell::CRezept::addRezeptschritt(CRezeptschritt * pcrs)
+{
+ //rezSchr[mAktRezeptSchritt]=pcrs;
+ //mAktRezeptSchritt++;
+ rezSchr.push_back(pcrs);
+}
+
+void systemModel::AnalyseModell::CRezept::setAktRezeptschritt(int n) {
+ mAktRezeptSchritt=n;
+}