fbgsense 0.1
Generic FBG spectrum analysis tool
Public Member Functions | List of all members
fbgsense::filtering::filter_savgol Class Reference
Inheritance diagram for fbgsense::filtering::filter_savgol:
fbgsense::filtering::filter processor< filter >

Public Member Functions

constexpr int get_type () override
 Gets the unique identifier of the concrete subclass. Used for equal-type checking. The implementation should use the protected function ::get_hash. More...
 
std::unique_ptr< filtercreate () override
 Factory for the current concrete subclass. More...
 
void perform (spectrum_state spect, std::initializer_list< parameter_t > params) override
 Filter using the Savitzky-Golay filter with Gram polynome approximation technique. More...
 
virtual void perform (spectrum_state spect, std::initializer_list< parameter_t > params)=0
 
virtual constexpr int get_type ()=0
 Gets the unique identifier of the concrete subclass. Used for equal-type checking. The implementation should use the protected function ::get_hash. More...
 
virtual std::unique_ptr< filter > create ()=0
 Factory for the current concrete subclass. More...
 

Additional Inherited Members

- Protected Member Functions inherited from processor< filter >
constexpr int get_hash (const char str[])
 Java string hashing function. http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/lang/String.java#l1452. More...
 

Member Function Documentation

◆ create()

std::unique_ptr< filter > fbgsense::filtering::filter_savgol::create ( )
inlineoverridevirtual

Factory for the current concrete subclass.

Implements processor< filter >.

◆ get_type()

constexpr int fbgsense::filtering::filter_savgol::get_type ( )
inlineconstexproverridevirtual

Gets the unique identifier of the concrete subclass. Used for equal-type checking. The implementation should use the protected function ::get_hash.

Implements processor< filter >.

◆ perform()

void fbgsense::filtering::filter_savgol::perform ( spectrum_state  spect,
std::initializer_list< parameter_t >  params 
)
overridevirtual

Filter using the Savitzky-Golay filter with Gram polynome approximation technique.

Implements fbgsense::filtering::filter.


The documentation for this class was generated from the following file: