Merging with Tuner branch
authorHamed Gorjiara <hgorjiar@uci.edu>
Fri, 22 Feb 2019 00:31:39 +0000 (16:31 -0800)
committerHamed Gorjiara <hgorjiar@uci.edu>
Fri, 22 Feb 2019 00:31:39 +0000 (16:31 -0800)
src/Tuner/tunabledependent.cc [new file with mode: 0644]
src/Tuner/tunabledependent.h [new file with mode: 0644]

diff --git a/src/Tuner/tunabledependent.cc b/src/Tuner/tunabledependent.cc
new file mode 100644 (file)
index 0000000..e1b0dba
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/* 
+ * File:   TunableDependent.cc
+ * Author: hamed
+ * 
+ * Created on October 5, 2018, 11:26 AM
+ */
+
+#include "tunabledependent.h"
+
+TunableDependent::TunableDependent(Tunables dependent, Tunables parent):
+       dependent(dependent),
+       parent(parent)
+{
+}
+
+TunableDependent::TunableDependent(TunableDependent &setting)
+{
+       dependent = setting.dependent;
+       parent = setting.parent;
+}
+
+TunableDependent::~TunableDependent() {
+}
+
diff --git a/src/Tuner/tunabledependent.h b/src/Tuner/tunabledependent.h
new file mode 100644 (file)
index 0000000..241b9eb
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/* 
+ * File:   TunableDependent.h
+ * Author: hamed
+ *
+ * Created on October 5, 2018, 11:26 AM
+ */
+
+#ifndef TUNABLEDEPENDENT_H
+#define TUNABLEDEPENDENT_H
+
+#include "tunable.h"
+
+class TunableDependent {
+public:
+        TunableDependent(Tunables dependent, Tunables parent = (Tunables) -1);
+        TunableDependent(TunableDependent &setting);
+        virtual ~TunableDependent();
+        Tunables dependent;
+        Tunables parent;
+};
+
+#endif /* TUNABLEDEPENDENT_H */
+