summaryrefslogtreecommitdiffstats
path: root/Src/PyCatcher/src/filters.py
diff options
context:
space:
mode:
Diffstat (limited to 'Src/PyCatcher/src/filters.py')
-rw-r--r--Src/PyCatcher/src/filters.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/Src/PyCatcher/src/filters.py b/Src/PyCatcher/src/filters.py
index 6247aac..b574ade 100644
--- a/Src/PyCatcher/src/filters.py
+++ b/Src/PyCatcher/src/filters.py
@@ -6,6 +6,12 @@ class Filter:
def execute(self, station_list):
raise NotImplementedError('Filter not yet implemented')
+class BandFilter(Filter):
+ band = 0
+
+ def execute(self, station_list):
+ raise NotImplementedError('Band Filters should not be executed!')
+
class ARFCNFilter(Filter):
def execute(self, station_list):
filtered_list = []
@@ -25,7 +31,6 @@ class ProviderFilter(Filter):
filtered_list.append(station)
return filtered_list
-#FIXME: provide extra abstraction for parameterless filters (on/off filters)
-class FoundFilter(Filter):
- def execute(self, station_list):
- pass \ No newline at end of file
+class BandFilter900(BandFilter):
+ band = 900
+