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

VrSink< iType > Class Template Reference

#include <VrSink.h>

Inheritance diagram for VrSink< iType >:

VrSigProc GrAudioSink< iType > GrCircularSink< iType > GrFFTAvgSink< iType > GrFFTSink< iType > GrSimpleScopeSink< iType > GrTCPSink< iType > VrAudioSink< iType > VrFileSink< iType > VrNullSink< iType > VrScopeSink< iType > VrSkippingSink< iType > VrTestCountSink< iType > VrUDPSink< iType > List of all members.

Public Member Functions

virtual const char * name ()
 default name for a module (override with actual name)
void setOptimalSize (unsigned int s)
virtual void setup ()
void setup_upstream ()
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 work3 (VrSampleRange output, VrSampleRange inputs[], void *i[])=0
 VrSink ()

Private Attributes

unsigned int optimalSize

template<class iType>
class VrSink< iType >


Constructor & Destructor Documentation

template<class iType>
VrSink< iType >::VrSink  )  [inline]
 


Member Function Documentation

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

Reimplemented in VrAudioSink< iType >, VrComplexPlotSink, VrFileSink< iType >, VrNullSink< iType >, VrPointSink, VrScopeSink< iType >, VrTestCountSink< iType >, VrUDPSink< iType >, GrCircularSink< iType >, GrAudioSink< iType >, GrFFTAvgSink< iType >, GrFFTSink< iType >, GrSimpleScopeSink< iType >, GrTCPSink< iType >, GrTestSink, and GrTestSkippingSink.

template<class iType>
void VrSink< iType >::setOptimalSize unsigned int  s  )  [inline]
 

template<class iType>
void VrSink< iType >::setup  )  [virtual]
 

Reimplemented from VrSigProc.

template<class iType>
void VrSink< iType >::setup_upstream  ) 
 

Reimplemented from VrSigProc.

template<class iType>
virtual int VrSink< iType >::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 iType>
virtual int VrSink< iType >::work3 VrSampleRange  output,
VrSampleRange  inputs[],
void *  i[]
[pure virtual]
 

Implemented in VrAudioSink< iType >, VrComplexPlotSink, VrFileSink< iType >, VrNullSink< iType >, VrScopeSink< iType >, VrUDPSink< iType >, GrCircularSink< iType >, GrAudioSink< iType >, GrFFTAvgSink< iType >, GrFFTSink< iType >, GrSimpleScopeSink< iType >, GrTCPSink< iType >, GrTestSink, GrTestSkippingSink, and GrAudioSink< iType >.


Member Data Documentation

template<class iType>
unsigned int VrSink< iType >::optimalSize [private]
 


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