Blender  V2.59
Public Member Functions
AUD_SquareFactory Class Reference

#include <AUD_SquareFactory.h>

Inheritance diagram for AUD_SquareFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_SquareFactory (AUD_IFactory *factory, float threshold=0.0f)
float getThreshold () const
virtual AUD_IReadercreateReader () const

Detailed Description

This factory Transforms any signal to a square signal.

Definition at line 40 of file AUD_SquareFactory.h.


Constructor & Destructor Documentation

AUD_SquareFactory::AUD_SquareFactory ( AUD_IFactory factory,
float  threshold = 0.0f 
)

Creates a new square factory.

Parameters:
factoryThe input factory.
thresholdThe threshold.

Definition at line 51 of file AUD_SquareFactory.cpp.


Member Function Documentation

AUD_IReader * AUD_SquareFactory::createReader ( ) const [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 62 of file AUD_SquareFactory.cpp.

References endSquareFilter(), AUD_EffectFactory::getReader(), and squareFilter().

float AUD_SquareFactory::getThreshold ( ) const

Returns the threshold.

Definition at line 57 of file AUD_SquareFactory.cpp.


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