Blender V2.61 - r43446
Public Member Functions | Protected Member Functions | Protected Attributes

AUD_MixerFactory Class Reference

#include <AUD_MixerFactory.h>

Inheritance diagram for AUD_MixerFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_MixerFactory (AUD_Reference< AUD_IFactory > factory, AUD_DeviceSpecs specs)
AUD_DeviceSpecs getSpecs () const
AUD_Reference< AUD_IFactorygetFactory () const

Protected Member Functions

AUD_Reference< AUD_IReadergetReader () const

Protected Attributes

const AUD_DeviceSpecs m_specs
AUD_Reference< AUD_IFactorym_factory

Detailed Description

This factory is a base class for all mixer factories.

Definition at line 38 of file AUD_MixerFactory.h.


Constructor & Destructor Documentation

AUD_MixerFactory::AUD_MixerFactory ( AUD_Reference< AUD_IFactory factory,
AUD_DeviceSpecs  specs 
)

Creates a new factory.

Parameters:
factoryThe factory to create the readers to mix out of.
specsThe target specification.

Definition at line 38 of file AUD_MixerFactory.cpp.


Member Function Documentation

AUD_Reference< AUD_IFactory > AUD_MixerFactory::getFactory ( ) const

Returns the saved factory.

Returns:
The factory.

Definition at line 49 of file AUD_MixerFactory.cpp.

References m_factory.

AUD_Reference< AUD_IReader > AUD_MixerFactory::getReader ( ) const [protected]

Returns the reader created out of the factory. This method can be used for the createReader function of the implementing classes.

Returns:
The reader to mix.

Definition at line 33 of file AUD_MixerFactory.cpp.

References m_factory.

Referenced by AUD_SRCResampleFactory::createReader(), AUD_ConverterFactory::createReader(), AUD_LinearResampleFactory::createReader(), AUD_ChannelMapperFactory::createReader(), and AUD_JOSResampleFactory::createReader().

AUD_DeviceSpecs AUD_MixerFactory::getSpecs ( ) const

Returns the target specification for resampling.

Definition at line 44 of file AUD_MixerFactory.cpp.

References m_specs.


Member Data Documentation

If there is no reader it is created out of this factory.

Definition at line 49 of file AUD_MixerFactory.h.

Referenced by getFactory(), and getReader().


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