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

VrSource< oType > Class Template Reference

#include <VrSource.h>

Inheritance diagram for VrSource< oType >:

VrSigProc GrAudioSource< oType > GrBitSource< oType > GrMC4020Source< oType > GrNoiseSource< oType > VrAudioSource< oType > VrChirpSource< oType > VrFakeGuppiSource< oType > VrFileSource< oType > VrGuppiSource< oType > VrSigSource< oType > VrTestCountSource< oType > VrUDPSource< oType > List of all members.

Public Member Functions

 VrSource ()
 VrSource (int outputs)
virtual int forecast (VrSampleRange output, VrSampleRange *inputs)
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 int work2 (VrSampleRange output, void *o[])=0
virtual bool isConnectedToSource ()

template<class oType>
class VrSource< oType >


Constructor & Destructor Documentation

template<class oType>
VrSource< oType >::VrSource  )  [inline]
 

template<class oType>
VrSource< oType >::VrSource int  outputs  )  [inline]
 


Member Function Documentation

template<class oType>
virtual int VrSource< oType >::forecast VrSampleRange  output,
VrSampleRange inputs
[inline, virtual]
 

template<class oType>
virtual bool VrSource< oType >::isConnectedToSource  )  [inline, virtual]
 

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

Reimplemented in VrAudioSource< oType >, VrFakeGuppiSource< oType >, VrFileSource< oType >, VrGuppiSource< oType >, VrTestCountSource< oType >, VrUDPSource< oType >, GrAudioSource< oType >, GrBitSource< oType >, GrMC4020Source< oType >, GrNoiseSource< oType >, VrChirpSource< oType >, and GrTestSource.

template<class oType>
virtual int VrSource< oType >::work VrSampleRange  output,
void *  o[],
VrSampleRange  inputs[],
void *  i[]
[inline, 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.

template<class oType>
virtual int VrSource< oType >::work2 VrSampleRange  output,
void *  o[]
[pure virtual]
 

Implemented in VrAudioSource< oType >, VrFakeGuppiSource< oType >, VrFileSource< oType >, VrGuppiSource< oType >, VrSigSource< oType >, VrUDPSource< oType >, GrAudioSource< oType >, GrBitSource< oType >, GrMC4020Source< oType >, GrNoiseSource< oType >, VrChirpSource< oType >, GrTestSource, GrAudioSource< oType >, and GrNoiseSource< oType >.


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