diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-11-02 10:11:08 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-11-02 10:11:08 +0100 |
commit | c179546f74807882f4dff47c8a969741f2dba1a7 (patch) | |
tree | 946a068fc4fb4f705678895e405b3b27990a49d9 /lib/lennart/DataInterface.py | |
parent | 081247660357c8f63fdaaf363c29d1b95a86b842 (diff) | |
parent | dd33d9b36dd071d04ccba5a000e9562c2b6a4a31 (diff) |
Merge branch 'master' into merge-prep/janis
Diffstat (limited to 'lib/lennart/DataInterface.py')
-rw-r--r-- | lib/lennart/DataInterface.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/lennart/DataInterface.py b/lib/lennart/DataInterface.py new file mode 100644 index 0000000..4495db2 --- /dev/null +++ b/lib/lennart/DataInterface.py @@ -0,0 +1,24 @@ +class DataInterface: + def runMeasure(self): + """ + Implemented in subclasses. + + Starts the measurement + """ + raise NotImplementedError("The method not implemented") + + def getData(self): + """ + Implemented in subclasses + + :returns: gathered data + """ + raise NotImplementedError("The method not implemented") + + def forceStopMeasure(self): + """ + Implemented in subclasses + + Force stops the measurement + """ + raise NotImplementedError("The method not implemented") |