git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@1051 b431acfa-c32f-4a4a-93f1-934dc6c82436
38 lines
650 B
C++
38 lines
650 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;
|
|
|
|
virtual bool process(ComplexScalar const &iq);
|
|
void setOmega(radio_float_t omega);
|
|
|
|
private:
|
|
radio_float_t m_omega;
|
|
radio_float_t m_mu;
|
|
size_t m_adv;
|
|
protected:
|
|
void update(radio_float_t omega);
|
|
|
|
};
|
|
} // Interpolation
|
|
} // Radio
|
|
|
|
#endif // _INTERPOLATION_TIMINGGENERATOR_HPP_
|