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

VrSyncCorr< iType > Class Template Reference

#include <VrSyncCorr.h>

Inheritance diagram for VrSyncCorr< iType >:

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

Public Member Functions

virtual void set_window (int w)
virtual void set_period (int p)
virtual void increment_input_ptr (int i)
virtual const char * name ()
 default name for a module (override with actual name)
virtual int forecast (VrSampleRange output, VrSampleRange inputs[])
 map output range to required input ranges
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.
 VrSyncCorr (int, int, int, float)
 ~VrSyncCorr ()

Protected Member Functions

virtual void get_filter_output (iType *, int, int, VrComplex *, int)

Protected Attributes

float result
float old_result
float * sqr
float weight_sign
u_int first
u_int first_high
u_int first_low
u_int current
u_int mask
int step_size
int skip
int differential_offset
int low_interval
int high_interval
int best_period
int corr_count
int pattern_length
int pattern_count
int corr_init
int window_size
int excess_samples
int numTaps
int struct_size
float freq
VrComplexfilter_results
VrComplex phase_corr_incr
VrComplex phase_bump
VrComplex phase_offset
VrComplexfilter_taps

template<class iType>
class VrSyncCorr< iType >


Constructor & Destructor Documentation

template<class iType>
VrSyncCorr< iType >::VrSyncCorr int  ,
int  ,
int  ,
float 
 

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


Member Function Documentation

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

map output range to required input ranges

Reimplemented from VrDecimatingSigProc< iType, char >.

template<class iType>
void VrSyncCorr< iType >::get_filter_output iType ,
int  ,
int  ,
VrComplex ,
int 
[protected, virtual]
 

template<class iType>
virtual void VrSyncCorr< iType >::increment_input_ptr int  i  )  [inline, virtual]
 

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

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType>
virtual void VrSyncCorr< iType >::set_period int  p  )  [inline, virtual]
 

template<class iType>
virtual void VrSyncCorr< iType >::set_window int  w  )  [inline, virtual]
 

template<class iType>
int VrSyncCorr< 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 VrSyncCorr< iType >::best_period [protected]
 

template<class iType>
int VrSyncCorr< iType >::corr_count [protected]
 

template<class iType>
int VrSyncCorr< iType >::corr_init [protected]
 

template<class iType>
u_int VrSyncCorr< iType >::current [protected]
 

template<class iType>
int VrSyncCorr< iType >::differential_offset [protected]
 

template<class iType>
int VrSyncCorr< iType >::excess_samples [protected]
 

template<class iType>
VrComplex* VrSyncCorr< iType >::filter_results [protected]
 

template<class iType>
VrComplex* VrSyncCorr< iType >::filter_taps [protected]
 

template<class iType>
u_int VrSyncCorr< iType >::first [protected]
 

Reimplemented from VrSigProc.

template<class iType>
u_int VrSyncCorr< iType >::first_high [protected]
 

template<class iType>
u_int VrSyncCorr< iType >::first_low [protected]
 

template<class iType>
float VrSyncCorr< iType >::freq [protected]
 

template<class iType>
int VrSyncCorr< iType >::high_interval [protected]
 

template<class iType>
int VrSyncCorr< iType >::low_interval [protected]
 

template<class iType>
u_int VrSyncCorr< iType >::mask [protected]
 

template<class iType>
int VrSyncCorr< iType >::numTaps [protected]
 

template<class iType>
float VrSyncCorr< iType >::old_result [protected]
 

template<class iType>
int VrSyncCorr< iType >::pattern_count [protected]
 

template<class iType>
int VrSyncCorr< iType >::pattern_length [protected]
 

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

template<class iType>
VrComplex VrSyncCorr< iType >::phase_corr_incr [protected]
 

template<class iType>
VrComplex VrSyncCorr< iType >::phase_offset [protected]
 

template<class iType>
float VrSyncCorr< iType >::result [protected]
 

template<class iType>
int VrSyncCorr< iType >::skip [protected]
 

template<class iType>
float * VrSyncCorr< iType >::sqr [protected]
 

template<class iType>
int VrSyncCorr< iType >::step_size [protected]
 

template<class iType>
int VrSyncCorr< iType >::struct_size [protected]
 

template<class iType>
float VrSyncCorr< iType >::weight_sign [protected]
 

template<class iType>
int VrSyncCorr< iType >::window_size [protected]
 


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