clan::SoundProviderType_Register< SoundProviderClass > Class Template Reference

Class template to register a sound provider type. More...

#include <soundprovider_type_register.h>

+ Inheritance diagram for clan::SoundProviderType_Register< SoundProviderClass >:

Public Member Functions

 SoundProviderType_Register (const std::string &type)
 Registers sound provider type in the SoundProviderFactory. More...
 
virtual SoundProviderload (const std::string &filename, bool stream, const FileSystem &fs) override
 Called to load static with this sound provider type. More...
 
virtual SoundProviderload (IODevice &file, bool stream) override
 Called to load static with this sound provider type. More...
 
- Public Member Functions inherited from clan::SoundProviderType
 SoundProviderType (const std::string &type)
 Registers a sound provider type in the SoundProviderFactory. More...
 
virtual ~SoundProviderType ()
 Unregisters a sound provider type in the SoundProviderFactory. More...
 

Detailed Description

template<class SoundProviderClass>
class clan::SoundProviderType_Register< SoundProviderClass >

Class template to register a sound provider type.

Constructor & Destructor Documentation

template<class SoundProviderClass >
clan::SoundProviderType_Register< SoundProviderClass >::SoundProviderType_Register ( const std::string type)
inline

Registers sound provider type in the SoundProviderFactory.

Member Function Documentation

template<class SoundProviderClass >
virtual SoundProvider* clan::SoundProviderType_Register< SoundProviderClass >::load ( const std::string filename,
bool  stream,
const FileSystem fs 
)
inlineoverridevirtual

Called to load static with this sound provider type.

Implements clan::SoundProviderType.

template<class SoundProviderClass >
virtual SoundProvider* clan::SoundProviderType_Register< SoundProviderClass >::load ( IODevice file,
bool  stream 
)
inlineoverridevirtual

Called to load static with this sound provider type.

Implements clan::SoundProviderType.


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