|
fbgsense 0.1
Generic FBG spectrum analysis tool
|
Provides support for custom computation implementations. More...
#include <processor.h>
Public Member Functions | |
| 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< T > | create ()=0 |
| Factory for the current concrete subclass. More... | |
Protected Member Functions | |
| 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... | |
Provides support for custom computation implementations.
| T | Processor type |
|
pure virtual |
Factory for the current concrete subclass.
Implemented in fbgsense::filtering::filter_fft, fbgsense::filtering::filter_savgol, fbgsense::segmentation::segmentation_method_inflection, and fbgsense::segmentation::segmentation_method_localmin.
|
inlineconstexprprotected |
Java string hashing function. http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/lang/String.java#l1452.
| str | String to hash. |
|
constexprpure virtual |
Gets the unique identifier of the concrete subclass. Used for equal-type checking. The implementation should use the protected function ::get_hash.
Implemented in fbgsense::filtering::filter_fft, fbgsense::filtering::filter_savgol, fbgsense::segmentation::segmentation_method_inflection, and fbgsense::segmentation::segmentation_method_localmin.