summaryrefslogtreecommitdiff
path: root/lib/lennart/DataInterface.py
blob: 4495db2a09433393bea7468f61202197a32b343b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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")