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

GapeSquareUnit Class Reference

Emits a square wave. More...

#include <gapefunctionunit.h>

Inheritance diagram for GapeSquareUnit::

GapeFunctionUnit GapeUnit List of all members.

Public Methods

 GapeSquareUnit ()
 GapeSquareUnit (QWidget *parent)
virtual ~GapeSquareUnit ()

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

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

Definition at line 92 of file gapefunctionunit.h.


Member Function Documentation

void GapeSquareUnit::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 180 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