Files
cpp/radio/interpolation/TimingGenerator.hpp
T
jens b5fa2c41c2 - refactored
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@979 b431acfa-c32f-4a4a-93f1-934dc6c82436
2022-06-15 10:40:20 +00:00

38 lines
631 B
C++

#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_