Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_Res_Sample Class Reference

res_type: sampleres_option: wav - Interpret this file as a PCM Wave file.res_option: stream - This sample should be streamed.res_option: loop - This sample should be looped (only used for streamed samples).res_desc: A sound sample resource in ClanLib. Used by the static and streamedres_desc: sound providers. More...

#include <resourcetype_sample.h>

Inheritance diagram for CL_Res_Sample:

Inheritance graph
[legend]
Collaboration diagram for CL_Res_Sample:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_Res_Sample ()

Private Methods

virtual CL_Resourcecreate_from_location (std::string name, std::string location, CL_ResourceOptions *options, CL_ResourceManager *parent)
virtual CL_Resourcecreate_from_serialization (std::string name, CL_ResourceManager *parent)

Private Attributes

friend CL_ResourceManager

Detailed Description

res_type: sampleres_option: wav - Interpret this file as a PCM Wave file.res_option: stream - This sample should be streamed.res_option: loop - This sample should be looped (only used for streamed samples).res_desc: A sound sample resource in ClanLib. Used by the static and streamedres_desc: sound providers.

Definition at line 29 of file resourcetype_sample.h.


Constructor & Destructor Documentation

CL_Res_Sample::CL_Res_Sample ( )
 


Member Function Documentation

virtual CL_Resource* CL_Res_Sample::create_from_location ( std::string name,
std::string location,
CL_ResourceOptions * options,
CL_ResourceManager * parent ) [private, virtual]
 

Reimplemented from CL_ResourceType.

virtual CL_Resource* CL_Res_Sample::create_from_serialization ( std::string name,
CL_ResourceManager * parent ) [private, virtual]
 

Reimplemented from CL_ResourceType.


Member Data Documentation

friend CL_Res_Sample::CL_ResourceManager [private]
 

Definition at line 51 of file resourcetype_sample.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:21 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001