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

VrSigSource< oType > Class Template Reference

#include <VrSigSource.h>

Inheritance diagram for VrSigSource< oType >:

VrSource< oType > VrSigProc List of all members.

Public Member Functions

virtual int work2 (VrSampleRange output, void *o[])
virtual void initialize ()
 Initialize any local state that is dependent on sampling frequency.
int getWaveform ()
double getAmplitude ()
double getFrequency ()
void setWaveform (int w)
void setAmplitude (double a)
void setFrequency (double f)
 VrSigSource (double sampling_freq, int wf, double f, double a)
 VrSigSource (double sampling_freq)

Protected Member Functions

void incTime ()
double slope ()
void createBuffers ()

Protected Attributes

int wform
double freq
double amp
double time
oTypebuffer

template<class oType>
class VrSigSource< oType >


Constructor & Destructor Documentation

template<class oType>
VrSigSource< oType >::VrSigSource double  sampling_freq,
int  wf,
double  f,
double  a
[inline]
 

template<class oType>
VrSigSource< oType >::VrSigSource double  sampling_freq  )  [inline]
 


Member Function Documentation

template<class oType>
void VrSigSource< oType >::createBuffers  )  [protected]
 

template<class oType>
double VrSigSource< oType >::getAmplitude  )  [inline]
 

template<class oType>
double VrSigSource< oType >::getFrequency  )  [inline]
 

template<class oType>
int VrSigSource< oType >::getWaveform  )  [inline]
 

template<class oType>
void VrSigSource< oType >::incTime  )  [inline, protected]
 

template<class oType>
void VrSigSource< oType >::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

template<class oType>
void VrSigSource< oType >::setAmplitude double  a  )  [inline]
 

template<class oType>
void VrSigSource< oType >::setFrequency double  f  )  [inline]
 

template<class oType>
void VrSigSource< oType >::setWaveform int  w  )  [inline]
 

template<class oType>
double VrSigSource< oType >::slope  )  [inline, protected]
 

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

Implements VrSource< oType >.


Member Data Documentation

template<class oType>
double VrSigSource< oType >::amp [protected]
 

template<class oType>
oType* VrSigSource< oType >::buffer [protected]
 

template<class oType>
double VrSigSource< oType >::freq [protected]
 

template<class oType>
double VrSigSource< oType >::time [protected]
 

template<class oType>
int VrSigSource< oType >::wform [protected]
 


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