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

GapeTriangleUnit Class Reference

Emits a triangle wave. More...

#include <gapefunctionunit.h>

Inheritance diagram for GapeTriangleUnit::

GapeFunctionUnit GapeUnit List of all members.

Public Methods

 GapeTriangleUnit ()
 GapeTriangleUnit (QWidget *parent)
virtual ~GapeTriangleUnit ()

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 triangle wave.

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

Definition at line 135 of file gapefunctionunit.h.


Member Function Documentation

void GapeTriangleUnit::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 144 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