CL_SoundProviderFactory Class Reference
[clanSound Sound Providers]

Sound Provider Factor class. More...

#include <soundprovider_factory.h>

List of all members.

Static Public Member Functions

Operations
static CL_SoundProviderload (const CL_String &filename, bool streamed, const CL_VirtualDirectory &directory, const CL_String &type=CL_String())
 Loads an sample file from 'filename', using the provider identified by 'type'.
static CL_SoundProviderload (const CL_String &fullname, bool streamed, const CL_String &type=CL_String())
 Loads an sample file from 'filename', using the provider identified by 'type'.
static CL_SoundProviderload (CL_IODevice &file, bool streamed, const CL_String &type)
 Loads an sample file from 'file', using the provider identified by 'type'.

Static Public Attributes

Attributes
static std::map< CL_String,
CL_SoundProviderType * > 
types
 Map of the class factories for each sound provider type.


Detailed Description

Sound Provider Factor class.


Member Function Documentation

static CL_SoundProvider* CL_SoundProviderFactory::load CL_IODevice file,
bool  streamed,
const CL_String type
[static]
 

Loads an sample file from 'file', using the provider identified by 'type'.

static CL_SoundProvider* CL_SoundProviderFactory::load const CL_String fullname,
bool  streamed,
const CL_String type = CL_String()
[static]
 

Loads an sample file from 'filename', using the provider identified by 'type'.

static CL_SoundProvider* CL_SoundProviderFactory::load const CL_String filename,
bool  streamed,
const CL_VirtualDirectory directory,
const CL_String type = CL_String()
[static]
 

Loads an sample file from 'filename', using the provider identified by 'type'.

If the type is an empty string, it uses the extension of the filename to determine what type it is.

The input provider will be used as a the source for filename, if specified.


Member Data Documentation

std::map<CL_String, CL_SoundProviderType *> CL_SoundProviderFactory::types [static]
 

Map of the class factories for each sound provider type.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:41 2009 for ClanLib by  doxygen 1.4.6