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

VrSyncFilter< iType > Class Template Reference

#include <VrSyncFilter.h>

Inheritance diagram for VrSyncFilter< iType >:

VrPulse< iType, VrComplex > VrDecimatingSigProc< iType, oType > VrHistoryProc< 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 *o[], VrSampleRange inputs[], void *i[])
 Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].
virtual void initialize ()
 Initialize any local state that is dependent on sampling frequency.
int setCenter_Freq (int, float)
int setCenter_Freq (float)
int setPhase_Offset (VrComplex)
int setNumber_Taps (int, int)
int setNumber_Taps (int)
float getSymbol_Period ()
int setSymbol_Period (float)
int setSymbol_Timing (float)
void start_oversampling (int, int, int, VrComplex *, int *)
virtual int forecast (VrSampleRange output, VrSampleRange inputs[])
 map output range to required input ranges
 VrSyncFilter (int n, float d, const int t[], const float f[], const float g[])
 VrSyncFilter (float d, int t, float f, float g)
 ~VrSyncFilter ()
int version ()

Protected Member Functions

void buildFilter_complex (int)

Protected Attributes

int * num_taps
int num_ch
int bump
VrComplex ** taps
VrComplexphase_corr_incr
VrComplex phase_bump
VrComplexphase_offset
long time
long differential_offset
long delta_differential_offset
int symbol_boundary
int symbol_period
int pointer_incr
int old_output_loc
int new_output_loc
float * center_freq
float * gain

template<class iType>
class VrSyncFilter< iType >


Constructor & Destructor Documentation

template<class iType>
VrSyncFilter< iType >::VrSyncFilter int  n,
float  d,
const int  t[],
const float  f[],
const float  g[]
 

template<class iType>
VrSyncFilter< iType >::VrSyncFilter float  d,
int  t,
float  f,
float  g
 

template<class iType>
VrSyncFilter< iType >::~VrSyncFilter  ) 
 


Member Function Documentation

template<class iType>
void VrSyncFilter< iType >::buildFilter_complex int   )  [protected]
 

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

map output range to required input ranges

Reimplemented from VrDecimatingSigProc< iType, oType >.

template<class iType>
float VrSyncFilter< iType >::getSymbol_Period  )  [virtual]
 

Implements VrPulse< iType, VrComplex >.

template<class iType>
void VrSyncFilter< iType >::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType>
int VrSyncFilter< iType >::setCenter_Freq float   ) 
 

template<class iType>
int VrSyncFilter< iType >::setCenter_Freq int  ,
float 
 

template<class iType>
int VrSyncFilter< iType >::setNumber_Taps int   ) 
 

template<class iType>
int VrSyncFilter< iType >::setNumber_Taps int  ,
int 
 

template<class iType>
int VrSyncFilter< iType >::setPhase_Offset VrComplex   ) 
 

template<class iType>
int VrSyncFilter< iType >::setSymbol_Period float   )  [virtual]
 

Implements VrPulse< iType, VrComplex >.

template<class iType>
int VrSyncFilter< iType >::setSymbol_Timing float   )  [virtual]
 

Implements VrPulse< iType, VrComplex >.

template<class iType>
void VrSyncFilter< iType >::start_oversampling int  ,
int  ,
int  ,
VrComplex ,
int * 
[inline, virtual]
 

Implements VrPulse< iType, VrComplex >.

template<class iType>
int VrSyncFilter< iType >::version  )  [inline, virtual]
 

Implements VrPulse< iType, VrComplex >.

template<class iType>
int VrSyncFilter< iType >::work VrSampleRange  output,
void *  o[],
VrSampleRange  inputs[],
void *  i[]
[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>
int VrSyncFilter< iType >::bump [protected]
 

template<class iType>
float* VrSyncFilter< iType >::center_freq [protected]
 

template<class iType>
long VrSyncFilter< iType >::delta_differential_offset [protected]
 

template<class iType>
long VrSyncFilter< iType >::differential_offset [protected]
 

template<class iType>
float * VrSyncFilter< iType >::gain [protected]
 

template<class iType>
int VrSyncFilter< iType >::new_output_loc [protected]
 

template<class iType>
int VrSyncFilter< iType >::num_ch [protected]
 

template<class iType>
int* VrSyncFilter< iType >::num_taps [protected]
 

template<class iType>
int VrSyncFilter< iType >::old_output_loc [protected]
 

template<class iType>
VrComplex VrSyncFilter< iType >::phase_bump [protected]
 

template<class iType>
VrComplex* VrSyncFilter< iType >::phase_corr_incr [protected]
 

template<class iType>
VrComplex * VrSyncFilter< iType >::phase_offset [protected]
 

template<class iType>
int VrSyncFilter< iType >::pointer_incr [protected]
 

template<class iType>
int VrSyncFilter< iType >::symbol_boundary [protected]
 

template<class iType>
int VrSyncFilter< iType >::symbol_period [protected]
 

template<class iType>
VrComplex** VrSyncFilter< iType >::taps [protected]
 

template<class iType>
long VrSyncFilter< iType >::time [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Aug 4 02:22:27 2004 for GNU Radio by doxygen 1.3.8