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

SND_SoundListener Class Reference

#include <SND_SoundListener.h>

Inheritance diagram for SND_SoundListener:

SND_IObject List of all members.

Public Methods

 SND_SoundListener ()
virtual ~SND_SoundListener ()
void setModified (bool mod)
void setGain (MT_Scalar gain)
void setPosition (const MT_Point3& pos)
void setVelocity (const MT_Vector3& vel)
void setOrientation (const MT_Matrix3x3& ori)
bool isModified () const
 isModified will return true if the scene must update some parameter of the object. More...

float getGain () const
MT_Point3 getPosition () const
MT_Point3 getVelocity () const
MT_Matrix3x3 getOrientation ()

Constructor & Destructor Documentation

SND_SoundListener::SND_SoundListener ( )
 

Definition at line 11 of file SND_SoundListener.cpp.

SND_SoundListener::~SND_SoundListener ( ) [virtual]
 

Definition at line 29 of file SND_SoundListener.cpp.


Member Function Documentation

float SND_SoundListener::getGain ( ) const [inline]
 

Definition at line 29 of file SND_SoundListener.h.

MT_Matrix3x3 SND_SoundListener::getOrientation ( ) [inline]
 

Definition at line 32 of file SND_SoundListener.h.

MT_Point3 SND_SoundListener::getPosition ( ) const [inline]
 

Definition at line 30 of file SND_SoundListener.h.

MT_Point3 SND_SoundListener::getVelocity ( ) const [inline]
 

Definition at line 31 of file SND_SoundListener.h.

bool SND_SoundListener::isModified ( ) const [inline, virtual]
 

isModified will return true if the scene must update some parameter of the object.

This can be modifications like setting volume, position or start/stop playing.

Reimplemented from SND_IObject.

Definition at line 27 of file SND_SoundListener.h.

void SND_SoundListener::setGain ( MT_Scalar gain ) [virtual]
 

Reimplemented from SND_IObject.

Definition at line 34 of file SND_SoundListener.cpp.

void SND_SoundListener::setModified ( bool mod ) [inline, virtual]
 

Reimplemented from SND_IObject.

Definition at line 21 of file SND_SoundListener.h.

void SND_SoundListener::setOrientation ( const MT_Matrix3x3 & ori ) [virtual]
 

Reimplemented from SND_IObject.

Definition at line 52 of file SND_SoundListener.cpp.

void SND_SoundListener::setPosition ( const MT_Point3 & pos ) [virtual]
 

Reimplemented from SND_IObject.

Definition at line 40 of file SND_SoundListener.cpp.

void SND_SoundListener::setVelocity ( const MT_Vector3 & vel ) [virtual]
 

Reimplemented from SND_IObject.

Definition at line 46 of file SND_SoundListener.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:04:02 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000