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

GrCostasLoop< iType, oType > Class Template Reference

#include <GrCostasLoop.h>

Inheritance diagram for GrCostasLoop< iType, oType >:

VrSigProc List of all members.

Public Member Functions

virtual const char * name ()
 default name for a module (override with actual name)
virtual 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#].
virtual ~GrCostasLoop ()
 GrCostasLoop (int d, double f, double s, double Fc)

Protected Member Functions

virtual void initialize ()
 Initialize any local state that is dependent on sampling frequency.

Protected Attributes

gr_fir< iType, iType, float > * ifilter
gr_fir< iType, iType, float > * qfilter
gr_iir< double, double, double > * loopfilter
vector< double > fftaps
vector< double > fbtaps
gr_nco< iType, oType > * nco
unsigned int decimate
double sensitivity
double freq
double Fc
double arg
double argInc
double phi
double phase

template<class iType, class oType>
class GrCostasLoop< iType, oType >


Constructor & Destructor Documentation

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

template<class iType, class oType>
GrCostasLoop< iType, oType >::GrCostasLoop int  d,
double  f,
double  s,
double  Fc
[inline]
 


Member Function Documentation

template<class iType, class oType>
void GrCostasLoop< iType, oType >::initialize  )  [protected, virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType, class oType>
int GrCostasLoop< 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>
double GrCostasLoop< iType, oType >::arg [protected]
 

template<class iType, class oType>
double GrCostasLoop< iType, oType >::argInc [protected]
 

template<class iType, class oType>
unsigned int GrCostasLoop< iType, oType >::decimate [protected]
 

template<class iType, class oType>
vector<double> GrCostasLoop< iType, oType >::fbtaps [protected]
 

template<class iType, class oType>
double GrCostasLoop< iType, oType >::Fc [protected]
 

template<class iType, class oType>
vector<double> GrCostasLoop< iType, oType >::fftaps [protected]
 

template<class iType, class oType>
double GrCostasLoop< iType, oType >::freq [protected]
 

template<class iType, class oType>
gr_fir<iType,iType,float>* GrCostasLoop< iType, oType >::ifilter [protected]
 

template<class iType, class oType>
gr_iir<double,double,double>* GrCostasLoop< iType, oType >::loopfilter [protected]
 

template<class iType, class oType>
gr_nco<iType,oType>* GrCostasLoop< iType, oType >::nco [protected]
 

template<class iType, class oType>
double GrCostasLoop< iType, oType >::phase [protected]
 

template<class iType, class oType>
double GrCostasLoop< iType, oType >::phi [protected]
 

template<class iType, class oType>
gr_fir<iType,iType,float>* GrCostasLoop< iType, oType >::qfilter [protected]
 

template<class iType, class oType>
double GrCostasLoop< iType, oType >::sensitivity [protected]
 


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