Blender V2.61 - r43446
Public Member Functions

AUD_BandPassFactory Class Reference

#include <AUD_BandPassFactory.h>

Inheritance diagram for AUD_BandPassFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_BandPassFactory (AUD_IFactory *factory, float low, float high)
 AUD_BandPassFactory (float low, float high)
float getLow ()
float getHigh ()
void setLow (float low)
void setHigh (float hight)
virtual AUD_IReadercreateReader ()

Detailed Description

This factory creates a band pass filter for a sound wave.

Definition at line 38 of file AUD_BandPassFactory.h.


Constructor & Destructor Documentation

AUD_BandPassFactory::AUD_BandPassFactory ( AUD_IFactory factory,
float  low,
float  high 
)

Creates a new band pass factory.

Parameters:
factoryThe input factory.
lowThe lowest passed frequency.
highThe highest passed frequency.

Definition at line 33 of file AUD_BandPassFactory.cpp.

AUD_BandPassFactory::AUD_BandPassFactory ( float  low,
float  high 
)

Creates a new band pass factory.

Parameters:
lowThe lowest passed frequency.
highThe highest passed frequency.

Definition at line 39 of file AUD_BandPassFactory.cpp.


Member Function Documentation

AUD_IReader * AUD_BandPassFactory::createReader ( ) [virtual]

Creates a reader for playback of the sound source.

Returns:
A pointer to an AUD_IReader object or NULL if there has been an error.
Exceptions:
AUD_ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements AUD_IFactory.

Definition at line 64 of file AUD_BandPassFactory.cpp.

References AUD_EffectFactory::getReader().

float AUD_BandPassFactory::getHigh ( )

Returns the highest passed frequency.

Definition at line 49 of file AUD_BandPassFactory.cpp.

float AUD_BandPassFactory::getLow ( )

Returns the lowest passed frequency.

Definition at line 44 of file AUD_BandPassFactory.cpp.

void AUD_BandPassFactory::setHigh ( float  hight)

Sets the highest passed frequency.

Parameters:
highThe highest passed frequency.

Definition at line 59 of file AUD_BandPassFactory.cpp.

void AUD_BandPassFactory::setLow ( float  low)

Sets the lowest passed frequency.

Parameters:
lowThe lowest passed frequency.

Definition at line 54 of file AUD_BandPassFactory.cpp.


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