Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

GapeSineUnit Class Reference

Emits a sine wave. More...

#include <gapefunctionunit.h>

Inheritance diagram for GapeSineUnit::

GapeFunctionUnit GapeUnit List of all members.

Public Methods

 GapeSineUnit ()
 GapeSineUnit (QWidget *parent)
virtual ~GapeSineUnit ()

Protected Methods

virtual void fillBuffer ()
 Pure virtual function which fills the FunctionUnit's internal buffer with data representing one period of a waveform. More...


Detailed Description

Emits a sine wave.

Author:
Dave Chisholm
Since:
Beta 1.0
Version:
Last Modified Beta 1.0

Definition at line 70 of file gapefunctionunit.h.


Member Function Documentation

void GapeSineUnit::fillBuffer ( ) [protected, virtual]
 

Pure virtual function which fills the FunctionUnit's internal buffer with data representing one period of a waveform.

You must allocate storage for this buffer (which is designated by the sampleData pointer) and also set the length of the data (in samples) in the variable dataLength. Deallocation of the data is taken care of by the destructor.

Reimplemented from GapeFunctionUnit.

Definition at line 132 of file gapefunctionunit.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Jun 21 13:28:52 2001 for GAPE by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001