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

VrCorr< iType, oType > Class Template Reference

#include <VrCorr.h>

Inheritance diagram for VrCorr< iType, oType >:

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 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.
virtual void setSync_Period (int per)
virtual void setCorr_Period (int per)
 VrCorr (int, int, int, int)
 ~VrCorr ()

Protected Attributes

float result
float old_result
float * sqr
float weight_sign
float max
u_int first
u_int first_high
u_int first_low
u_int current
u_int mask
int corr_on
int differential_offset
int low_interval
int high_interval
int max_id
int sync_period
int corr_period
int corr_count
int pattern_length
int pattern_count
int corr_init

template<class iType, class oType>
class VrCorr< iType, oType >


Constructor & Destructor Documentation

template<class iType, class oType>
VrCorr< iType, oType >::VrCorr int  ,
int  ,
int  ,
int 
 

template<class iType, class oType>
VrCorr< iType, oType >::~VrCorr  ) 
 


Member Function Documentation

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

map output range to required input ranges

Reimplemented from VrDecimatingSigProc< iType, oType >.

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

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType, class oType>
virtual void VrCorr< iType, oType >::setCorr_Period int  per  )  [inline, virtual]
 

template<class iType, class oType>
virtual void VrCorr< iType, oType >::setSync_Period int  per  )  [inline, virtual]
 

template<class iType, class oType>
int VrCorr< iType, oType >::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, class oType>
int VrCorr< iType, oType >::corr_count [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::corr_init [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::corr_on [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::corr_period [protected]
 

template<class iType, class oType>
u_int VrCorr< iType, oType >::current [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::differential_offset [protected]
 

template<class iType, class oType>
u_int VrCorr< iType, oType >::first [protected]
 

Reimplemented from VrSigProc.

template<class iType, class oType>
u_int VrCorr< iType, oType >::first_high [protected]
 

template<class iType, class oType>
u_int VrCorr< iType, oType >::first_low [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::high_interval [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::low_interval [protected]
 

template<class iType, class oType>
u_int VrCorr< iType, oType >::mask [protected]
 

template<class iType, class oType>
float VrCorr< iType, oType >::max [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::max_id [protected]
 

template<class iType, class oType>
float VrCorr< iType, oType >::old_result [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::pattern_count [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::pattern_length [protected]
 

template<class iType, class oType>
float VrCorr< iType, oType >::result [protected]
 

template<class iType, class oType>
float * VrCorr< iType, oType >::sqr [protected]
 

template<class iType, class oType>
int VrCorr< iType, oType >::sync_period [protected]
 

template<class iType, class oType>
float VrCorr< iType, oType >::weight_sign [protected]
 


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