OpenMW
Public Member Functions | Protected Attributes | Private Member Functions | Friends
MWSound::Sound Class Reference

#include <sound.hpp>

List of all members.

Public Member Functions

virtual void stop ()=0
virtual bool isPlaying ()=0
virtual double getTimeOffset ()=0
void setPosition (const Ogre::Vector3 &pos)
void setVolume (float volume)
void setFadeout (float duration)
MWBase::SoundManager::PlayType getPlayType () const
 Sound (const Ogre::Vector3 &pos, float vol, float basevol, float pitch, float mindist, float maxdist, int flags)
virtual ~Sound ()

Protected Attributes

Ogre::Vector3 mPos
float mVolume
float mBaseVolume
float mPitch
float mMinDistance
float mMaxDistance
int mFlags
float mFadeOutTime

Private Member Functions

virtual void update ()=0
Soundoperator= (const Sound &rhs)
 Sound (const Sound &rhs)

Friends

class OpenAL_Output
class SoundManager

Constructor & Destructor Documentation

MWSound::Sound::Sound ( const Sound rhs) [private]
MWSound::Sound::Sound ( const Ogre::Vector3 &  pos,
float  vol,
float  basevol,
float  pitch,
float  mindist,
float  maxdist,
int  flags 
) [inline]
virtual MWSound::Sound::~Sound ( ) [inline, virtual]

Member Function Documentation

virtual double MWSound::Sound::getTimeOffset ( ) [pure virtual]
virtual bool MWSound::Sound::isPlaying ( ) [pure virtual]
Sound& MWSound::Sound::operator= ( const Sound rhs) [private]
void MWSound::Sound::setFadeout ( float  duration) [inline]
void MWSound::Sound::setPosition ( const Ogre::Vector3 &  pos) [inline]
void MWSound::Sound::setVolume ( float  volume) [inline]
virtual void MWSound::Sound::stop ( ) [pure virtual]
virtual void MWSound::Sound::update ( ) [private, pure virtual]

Friends And Related Function Documentation

friend class OpenAL_Output [friend]
friend class SoundManager [friend]

Member Data Documentation

float MWSound::Sound::mBaseVolume [protected]
float MWSound::Sound::mFadeOutTime [protected]
int MWSound::Sound::mFlags [protected]
float MWSound::Sound::mMaxDistance [protected]
float MWSound::Sound::mMinDistance [protected]
float MWSound::Sound::mPitch [protected]
Ogre::Vector3 MWSound::Sound::mPos [protected]
float MWSound::Sound::mVolume [protected]

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