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

SND_IObject Class Reference

SND_IObject is a interface class for soundobjects, listeners and other kinds of sound related thingies. More...

#include <SND_IObject.h>

Inheritance diagram for SND_IObject:

SND_ISoundObject SND_SoundListener SND_SoundObject List of all members.

Public Methods

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


Detailed Description

SND_IObject is a interface class for soundobjects, listeners and other kinds of sound related thingies.

Definition at line 22 of file SND_IObject.h.


Constructor & Destructor Documentation

SND_IObject::SND_IObject ( ) [inline]
 

Definition at line 25 of file SND_IObject.h.

SND_IObject::~SND_IObject ( ) [inline, virtual]
 

Definition at line 26 of file SND_IObject.h.


Member Function Documentation

bool SND_IObject::isModified ( ) const [pure 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 in SND_ISoundObject, SND_SoundListener, and SND_SoundObject.

virtual void SND_IObject::setGain ( MT_Scalar gain ) [pure virtual]
 

Reimplemented in SND_ISoundObject, SND_SoundListener, and SND_SoundObject.

virtual void SND_IObject::setModified ( bool mod ) [pure virtual]
 

Reimplemented in SND_ISoundObject, SND_SoundListener, and SND_SoundObject.

virtual void SND_IObject::setOrientation ( const MT_Matrix3x3 & orient ) [pure virtual]
 

Reimplemented in SND_ISoundObject, SND_SoundListener, and SND_SoundObject.

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

Reimplemented in SND_ISoundObject, SND_SoundListener, and SND_SoundObject.

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

Reimplemented in SND_ISoundObject, SND_SoundListener, and SND_SoundObject.


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