Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GrInterpolator< iType, oType > Class Template Reference

bandwidth limited interpolator. More...

#include <GrInterpolator.h>

Inheritance diagram for GrInterpolator< iType, oType >:

GrFractionalInterpolatingSigProc< iType, oType > VrHistoryProc< iType, oType > VrSigProc List of all members.

Public Member Functions

 GrInterpolator (int N, int M, int phase=0)
 N == 10, M in [1,10], phase in [0,N].
 ~GrInterpolator ()
const char * name ()
 default name for a module (override with actual name)
int work (VrSampleRange output, void *ao[], VrSampleRange inputs[], void *ai[])
 Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Protected Attributes

int phase
gr_mmse_fir_interpolator intr

Detailed Description

template<class iType, class oType>
class GrInterpolator< iType, oType >

bandwidth limited interpolator.

The input is interpolated at a ratio of N/M. Currently, N must be 10 and M must be in [1, 10]. Phase must be in [0, N].


Constructor & Destructor Documentation

template<class iType, class oType>
GrInterpolator< iType, oType >::GrInterpolator int  N,
int  M,
int  phase = 0
 

N == 10, M in [1,10], phase in [0,N].

template<class iType, class oType>
GrInterpolator< iType, oType >::~GrInterpolator  )  [inline]
 


Member Function Documentation

template<class iType, class oType>
const char* GrInterpolator< iType, oType >::name  )  [inline, virtual]
 

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType, class oType>
int GrInterpolator< iType, oType >::work VrSampleRange  output,
void *  ao[],
VrSampleRange  inputs[],
void *  ai[]
[virtual]
 

Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Pointers start at corresponding VrSampleIndex in the range params. output.size is a multiple of outputSize. Returns the number of outputs (<= output.size) that it was able to compute with the given input ranges. If this value is < output.size, forecast() will need to be called again.

Implements VrSigProc.


Member Data Documentation

template<class iType, class oType>
gr_mmse_fir_interpolator GrInterpolator< iType, oType >::intr [protected]
 

template<class iType, class oType>
int GrInterpolator< iType, oType >::phase [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Mar 15 23:55:37 2005 for GNU Radio by  doxygen 1.4.0