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

GapeSignalDisplay Class Reference

GapeSignalDisplay is an abstract superclass for graphical sound displays. More...

#include <gapesignaldisplay.h>

Inheritance diagram for GapeSignalDisplay::

GapeUnit GapeFreqDomainDisplay GapeTimeDomainDisplay List of all members.

Public Slots

virtual void receiveTick (const GapeFloat *values, int numValues)=0
 Pure virtual function that all subclasses of GapeUnit must define. More...


Public Methods

 GapeSignalDisplay (GapeController *c=NULL, QWidget *parent=NULL)
virtual ~GapeSignalDisplay ()

Detailed Description

GapeSignalDisplay is an abstract superclass for graphical sound displays.

It's fairly useless on its own, but creates a more logical inheritance tree. The two subclasses emit values for a time or frequency graphical display. They are meant for mono signals and emit buffers of samples at a time. Use with a GapeAudioPlot controller subclass. See the demo program for an example of using this type of class. Note that although these classes take QWidgets in their constructors, they themselves are not QWidgets or controllers - they simply contain a GapeAudioPlot.

Author:
Dave Chisholm , Randal Leistikow
Since:
Beta 1.0
Version:
Last Modified Beta 1.0

Definition at line 23 of file gapesignaldisplay.h.


Member Function Documentation

void GapeSignalDisplay::receiveTick ( const GapeFloat * values,
int numValues ) [pure virtual, slot]
 

Pure virtual function that all subclasses of GapeUnit must define.

This function is the primary function in the GapeUnit environment. See class documentation for more info.

Parameters:
values   pointer to samples data being sent to the function
numValues   number of floating point values pointed to by "values" (ie number of channels of audio)

Reimplemented from GapeUnit.

Reimplemented in GapeTimeDomainDisplay, and GapeFreqDomainDisplay.


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