- refactored

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@979 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-15 10:40:20 +00:00
parent 4192bc92aa
commit b5fa2c41c2
4 changed files with 87 additions and 67 deletions
+38
View File
@@ -0,0 +1,38 @@
#ifndef _INTERPOLATION_TIMINGGENERATOR_HPP_
#define _INTERPOLATION_TIMINGGENERATOR_HPP_
#pragma once
#include <radio/radio_types.h>
#include <cpp/radio/Vector.hpp>
#include <stddef.h>
namespace Radio
{
namespace Interpolation
{
class TimingGenerator
{
public:
TimingGenerator();
virtual ~TimingGenerator();
size_t getAdv() const;
radio_float_t getMu() const;
void setOmega(radio_float_t omega);
virtual void process(ComplexScalar const &iq);
protected:
radio_float_t m_omega;
radio_float_t m_mu;
size_t m_adv;
private:
void update();
};
} // Interpolation
} // Radio
#endif // _INTERPOLATION_TIMINGGENERATOR_HPP_