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

GrFractionalInterpolatingSigProc< iType, oType > Class Template Reference

base class template for N/M interpolator. More...

#include <GrFractionalInterpolatingSigProc.h>

Inheritance diagram for GrFractionalInterpolatingSigProc< iType, oType >:

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

Public Member Functions

 GrFractionalInterpolatingSigProc (int outputs, int arg_N, int arg_M)
 GrFractionalInterpolatingSigProc (int arg_N, int arg_M)
 ~GrFractionalInterpolatingSigProc ()
void pre_initialize ()
 Set sampling frequency based on upstream sampling freq.
int forecast (VrSampleRange output, VrSampleRange inputs[])
 map output range to required input ranges

Protected Attributes

int N
int M
int iratio

Detailed Description

template<class iType, class oType>
class GrFractionalInterpolatingSigProc< iType, oType >

base class template for N/M interpolator.


Constructor & Destructor Documentation

template<class iType, class oType>
GrFractionalInterpolatingSigProc< iType, oType >::GrFractionalInterpolatingSigProc int  outputs,
int  arg_N,
int  arg_M
[inline]
 

template<class iType, class oType>
GrFractionalInterpolatingSigProc< iType, oType >::GrFractionalInterpolatingSigProc int  arg_N,
int  arg_M
[inline]
 

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


Member Function Documentation

template<class iType, class oType>
int GrFractionalInterpolatingSigProc< iType, oType >::forecast VrSampleRange  output,
VrSampleRange  inputs[]
[virtual]
 

map output range to required input ranges

Reimplemented from VrHistoryProc< iType, oType >.

template<class iType, class oType>
void GrFractionalInterpolatingSigProc< iType, oType >::pre_initialize  )  [virtual]
 

Set sampling frequency based on upstream sampling freq.

This method handles automatically setting the sampling frequency for this module based on the sampling frequency of the upstream modules. For most modules, our sampling frequency is the same as our upstream neighbor. VrInterpolatingSigProc and VrDecimatingSigProc override this.

This method is called immediately prior to initialize.

Reimplemented from VrSigProc.


Member Data Documentation

template<class iType, class oType>
int GrFractionalInterpolatingSigProc< iType, oType >::iratio [protected]
 

template<class iType, class oType>
int GrFractionalInterpolatingSigProc< iType, oType >::M [protected]
 

template<class iType, class oType>
int GrFractionalInterpolatingSigProc< iType, oType >::N [protected]
 


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