csl::DistanceCue Class Reference

#include <DistanceSimulator.h>

Inheritance diagram for csl::DistanceCue:

csl::AirAbsorptionCue csl::IntensityAttenuationCue

List of all members.

Public Member Functions

 DistanceCue ()
virtual ~DistanceCue ()
virtual void compute (float distance)=0
virtual void process (Buffer &inputBuffer)=0


Detailed Description

Pure Abstract Base Class for all distance cues. A DistanceCue subclass is just an algorithm that modifies a signal based on the distance from the listener. Distance Cues should hold their state, so when "process" is called they can modify the signal buffer given. When "compute" is called is usually due to a change in distance, so if anything has to be re-calculated, it's done.

Constructor & Destructor Documentation

csl::DistanceCue::DistanceCue (  )  [inline]

virtual csl::DistanceCue::~DistanceCue (  )  [inline, virtual]


Member Function Documentation

virtual void csl::DistanceCue::compute ( float  distance  )  [pure virtual]

virtual void csl::DistanceCue::process ( Buffer inputBuffer  )  [pure virtual]


The documentation for this class was generated from the following file:

Generated on Thu Sep 17 23:14:18 2009 for CSL by  doxygen 1.5.8