#include "if_resampler.h"
Definition at line 117 of file if_resampler.h.
◆ FmcwIfResamplingSink() [1/3]
◆ ~FmcwIfResamplingSink()
| fers_signal::FmcwIfResamplingSink::~FmcwIfResamplingSink |
( |
| ) |
|
|
default |
◆ FmcwIfResamplingSink() [2/3]
◆ FmcwIfResamplingSink() [3/3]
◆ consume()
Definition at line 767 of file if_resampler.cpp.
768 {
769 if (_finished)
770 {
771 throw std::logic_error("Cannot consume IF resampler input after finish");
772 }
773
774 if (_stages.empty())
775 {
776 _output.insert(_output.end(),
block.begin(),
block.end());
777 return;
778 }
779
781 for (
auto&
stage : _stages)
782 {
785 }
787 }
References max.
◆ consumeZeroInput()
Definition at line 789 of file if_resampler.cpp.
790 {
791 if (_finished)
792 {
793 throw std::logic_error("Cannot consume IF resampler input after finish");
794 }
795
796 FmcwIfZeroInputResult
result;
798 {
800 }
801
802 if (_stages.empty())
803 {
807 }
808
809 std::vector<ComplexType>
current;
811 for (
auto&
stage : _stages)
812 {
814 {
817 }
819 {
820 continue;
821 }
822
826 }
827
832 }
std::vector< ComplexType > takeOutput()
References max, and takeOutput().
◆ finish()
| std::vector< ComplexType > fers_signal::FmcwIfResamplingSink::finish |
( |
| ) |
|
Definition at line 841 of file if_resampler.cpp.
842 {
843 if (_finished)
844 {
846 }
847 _finished = true;
848
849 if (_stages.empty())
850 {
852 }
853
854 std::vector<ComplexType>
current;
855 for (std::size_t i = 0; i < _stages.size(); ++i)
856 {
857 if (i > 0)
858 {
860 }
861 current = _stages[i]->finish();
862 }
865 }
References max, and takeOutput().
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ plan()
◆ reset()
| void fers_signal::FmcwIfResamplingSink::reset |
( |
| ) |
|
Definition at line 867 of file if_resampler.cpp.
868 {
869 for (
auto&
stage : _stages)
870 {
872 }
873 _output.clear();
874 _finished = false;
875 }
References max.
◆ takeOutput()
| std::vector< ComplexType > fers_signal::FmcwIfResamplingSink::takeOutput |
( |
| ) |
|
The documentation for this class was generated from the following files: