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

VrDecimatingSigProc< iType, oType > Class Template Reference

#include <VrDecimatingSigProc.h>

Inheritance diagram for VrDecimatingSigProc< iType, oType >:

VrHistoryProc< iType, oType > VrSigProc GrIIRfilter< iType, oType, taptype > VrCorr< iType, oType > VrPulse< iType, oType > VrPulse< iType, VrComplex > VrRealFIRfilter< iType, oType > VrSyncFilter< iType > List of all members.

Public Member Functions

 VrDecimatingSigProc ()
 VrDecimatingSigProc (int outputs)
 VrDecimatingSigProc (int outputs, int dec)
virtual void pre_initialize ()
 Set sampling frequency based on upstream sampling freq.

virtual int forecast (VrSampleRange output, VrSampleRange inputs[])
 map output range to required input ranges

virtual float averageInputUse (int n)
virtual unsigned int mapSizeUp (int i, unsigned int size)
virtual int checkOutputSamplingFrequency (float sf)
virtual ~VrDecimatingSigProc ()

Protected Attributes

int decimation

template<class iType, class oType>
class VrDecimatingSigProc< iType, oType >


Constructor & Destructor Documentation

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

template<class iType, class oType>
VrDecimatingSigProc< iType, oType >::VrDecimatingSigProc int  outputs  )  [inline]
 

template<class iType, class oType>
VrDecimatingSigProc< iType, oType >::VrDecimatingSigProc int  outputs,
int  dec
[inline]
 

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


Member Function Documentation

template<class iType, class oType>
virtual float VrDecimatingSigProc< iType, oType >::averageInputUse int  n  )  [inline, virtual]
 

Reimplemented from VrSigProc.

template<class iType, class oType>
virtual int VrDecimatingSigProc< iType, oType >::checkOutputSamplingFrequency float  sf  )  [inline, virtual]
 

Reimplemented from VrSigProc.

Reimplemented in GrAtscConvert2xTo20.

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

map output range to required input ranges

Reimplemented from VrHistoryProc< iType, oType >.

Reimplemented in VrAudioDecoder< iType >, VrAudioEncoder< iType >, VrCorr< iType, oType >, VrSyncCorr< iType >, VrSyncFilter< iType >, GrAtscBitTimingLoop, GrAtscBitTimingLoop2, GrAtscBitTimingLoop3, GrAtscConvert2xTo20, GrAtscFieldSyncDemux, GrAtscSegSymSyncImpl, and VrSyncCorr< char >.

template<class iType, class oType>
unsigned int VrDecimatingSigProc< iType, oType >::mapSizeUp int  i,
unsigned int  size
[virtual]
 

Reimplemented from VrHistoryProc< iType, oType >.

template<class iType, class oType>
void VrDecimatingSigProc< 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.

Reimplemented in GrAtscConvert2xTo20, and GrAtscSegSymSyncImpl.


Member Data Documentation

template<class iType, class oType>
int VrDecimatingSigProc< iType, oType >::decimation [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Mar 30 21:32:17 2004 for GNU Radio by doxygen 1.3.2