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

GrWeaverModTail< iType, oType > Class Template Reference

Tail block of a Weaver SSB/VSB modulator. More...

#include <GrWeaverModTail.h>

Inheritance diagram for GrWeaverModTail< iType, oType >:

VrSigProc List of all members.

Public Member Functions

 GrWeaverModTail (float freq, float gain)
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#].
void set_freq (float frequency)
 frequency is in Hz
void set_gain (float g)

Protected Attributes

gr_nco< float, float > nco
float gain
float freq

Detailed Description

template<class iType, class oType>
class GrWeaverModTail< iType, oType >

Tail block of a Weaver SSB/VSB modulator.

Complex mix with cos/sin of IF_freq & sum components. See also GrSSBMod, which is basically the same as this except it expects I & Q to to be a single VrComplex stream

This is typically used like this:

|---> matched filter --->| ---> GrWeaverModHead | | GrWeaverTail ---> |---> matched filter --->|


Constructor & Destructor Documentation

template<class iType, class oType>
GrWeaverModTail< iType, oType >::GrWeaverModTail float  freq,
float  gain
 


Member Function Documentation

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType, class oType>
void GrWeaverModTail< iType, oType >::set_freq float  frequency  )  [inline]
 

frequency is in Hz

template<class iType, class oType>
void GrWeaverModTail< iType, oType >::set_gain float  g  )  [inline]
 

template<class iType, class oType>
int GrWeaverModTail< 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>
float GrWeaverModTail< iType, oType >::freq [protected]
 

template<class iType, class oType>
float GrWeaverModTail< iType, oType >::gain [protected]
 

template<class iType, class oType>
gr_nco<float,float> GrWeaverModTail< iType, oType >::nco [protected]
 


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