Blender V2.61 - r43446
Public Member Functions

AUD_LoopFactory Class Reference

#include <AUD_LoopFactory.h>

Inheritance diagram for AUD_LoopFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_LoopFactory (AUD_Reference< AUD_IFactory > factory, int loop=-1)
int getLoop () const
virtual AUD_Reference
< AUD_IReader
createReader ()

Detailed Description

This factory loops another factory.

Note:
The reader has to be seekable.

Definition at line 39 of file AUD_LoopFactory.h.


Constructor & Destructor Documentation

AUD_LoopFactory::AUD_LoopFactory ( AUD_Reference< AUD_IFactory factory,
int  loop = -1 
)

Creates a new loop factory.

Parameters:
factoryThe input factory.
loopThe desired loop count, negative values result in endless looping.

Definition at line 33 of file AUD_LoopFactory.cpp.


Member Function Documentation

AUD_Reference< AUD_IReader > AUD_LoopFactory::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 44 of file AUD_LoopFactory.cpp.

References AUD_EffectFactory::getReader().

int AUD_LoopFactory::getLoop ( ) const

Returns the loop count.

Definition at line 39 of file AUD_LoopFactory.cpp.


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