git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@968 b431acfa-c32f-4a4a-93f1-934dc6c82436
32 lines
503 B
C++
32 lines
503 B
C++
#ifndef _INTERPOLATION_INTERPOLATOR_HPP_
|
|
#define _INTERPOLATION_INTERPOLATOR_HPP_
|
|
|
|
#pragma once
|
|
|
|
#include <radio/radio_types.h>
|
|
#include <stddef.h>
|
|
|
|
namespace Radio
|
|
{
|
|
namespace Interpolation
|
|
{
|
|
class Interpolator
|
|
{
|
|
public:
|
|
Interpolator();
|
|
virtual ~Interpolator();
|
|
|
|
radio_float_t getMu();
|
|
size_t getAdv();
|
|
void process(radio_float_t dMu);
|
|
private:
|
|
radio_float_t m_mu;
|
|
size_t m_adv;
|
|
uint32_t count;
|
|
|
|
|
|
};
|
|
} // Interpolation
|
|
} // Radio
|
|
|
|
#endif // _INTERPOLATION_INTERPOLATOR_HPP_
|