fbgsense 0.1
Generic FBG spectrum analysis tool
filter.h
1/*
2 * This file is a part of the project "fbgsense", which is released under MIT license.
3 * Copyright (c) 2022 Daniel Múčka, Masaryk University, Faculty of Informatics
4 * See file LICENSE or visit https://opensource.org/licenses/MIT for full license details.
5 */
6
7#pragma once
8
9#include "../processor.h"
10#include "../spectrum_types.h"
11#include "../spectrum/spectrum_state.h"
12
13namespace fbgsense::filtering
14{
15 class filter : public processor<filter>
16 {
17 public:
18 virtual void perform(spectrum_state spect, std::initializer_list<parameter_t> params) = 0;
19
20 virtual ~filter() = default;
21 };
22}
Definition: filter.h:16
Provides support for custom computation implementations.
Definition: processor.h:17
Data structure reflecting spectrum's current state. Used in processors.
Definition: spectrum_state.h:19