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

GrMixer< iType, oType > Class Template Reference

#include <GrMixer.h>

Inheritance diagram for GrMixer< iType, oType >:

VrSigProc List of all members.

Public Member Functions

 GrMixer (double carrier_freq, double gain)
const char * name ()
 default name for a module (override with actual name)
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#].

Protected Member Functions

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

Protected Attributes

double carrier_freq
double gain
gr_nco< float, float > nco

template<class iType, class oType>
class GrMixer< iType, oType >


Constructor & Destructor Documentation

template<class iType, class oType>
GrMixer< iType, oType >::GrMixer double  carrier_freq,
double  gain
[inline]
 


Member Function Documentation

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

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

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

template<class iType, class oType>
double GrMixer< iType, oType >::gain [protected]
 

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


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