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

snx::SoundFactoryReg Class Template Reference

#include <SoundFactory.h>

Collaboration diagram for snx::SoundFactoryReg:

Collaboration graph
[legend]
List of all members.

Public Methods

 SoundFactoryReg (const std::string &apiName)
virtual ~SoundFactoryReg ()

Public Attributes

_type mSoundAPI
std::string mNameOfAPI

template<class _type>
class snx::SoundFactoryReg< _type >


Constructor & Destructor Documentation

template<class _type>
snx::SoundFactoryReg< _type >::SoundFactoryReg const std::string &    apiName [inline]
 

Definition at line 117 of file SoundFactory.h.

References mNameOfAPI, and mSoundAPI.

00117                                                : mSoundAPI(), mNameOfAPI( apiName )
00118    {
00119       mSoundAPI.setName( mNameOfAPI );
00120       snx::SoundFactory::instance()->reg( mNameOfAPI, &mSoundAPI );
00121    }

template<class _type>
virtual snx::SoundFactoryReg< _type >::~SoundFactoryReg   [inline, virtual]
 

Definition at line 122 of file SoundFactory.h.

References mNameOfAPI, and mSoundAPI.

00123    {
00124       mSoundAPI.setName( "unavailable/deleted/nomore" );
00125       snx::SoundFactory::instance()->reg( mNameOfAPI, NULL );
00126    }


Member Data Documentation

template<class _type>
_type snx::SoundFactoryReg::mSoundAPI
 

Definition at line 115 of file SoundFactory.h.

Referenced by SoundFactoryReg, and ~SoundFactoryReg.

template<class _type>
std::string snx::SoundFactoryReg::mNameOfAPI
 

Definition at line 116 of file SoundFactory.h.

Referenced by SoundFactoryReg, and ~SoundFactoryReg.


The documentation for this class was generated from the following file:
Generated on Sun May 2 14:39:33 2004 for Juggler Sonix by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002