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

GapeHalfwaveUnit Class Reference

Emits a halfwave (ie only positive side of sine wave). More...

#include <gapefunctionunit.h>

Inheritance diagram for GapeHalfwaveUnit::

GapeFunctionUnit GapeUnit List of all members.

Public Methods

 GapeHalfwaveUnit ()
 GapeHalfwaveUnit (QWidget *parent)
virtual ~GapeHalfwaveUnit ()

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 halfwave (ie only positive side of sine wave).

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

Definition at line 156 of file gapefunctionunit.h.


Member Function Documentation

void GapeHalfwaveUnit::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 196 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