diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-16 13:58:20 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-16 13:58:20 +0200 |
commit | 81082d00444d3bfd644f2417ef5c1a34d9569a28 (patch) | |
tree | 613ddc91d6aeaa551062260e907e47f813d18bff /lib/lennart/DataInterface.py | |
parent | f5125e191ab1db62e4167b00f809dba20bc54b6f (diff) |
Code aus Lennarts BA-repo
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") |