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

SND_ISoundObject Class Reference

SND_ISoundObject is a interface class for soundobjects. More...

#include <SND_ISoundObject.h>

Inheritance diagram for SND_ISoundObject:

SND_IObject List of all members.

Public Methods

 SND_ISoundObject ()
virtual ~SND_ISoundObject ()
virtual void startSound () = 0
virtual void stopSound () = 0
virtual void pauseSound () = 0
virtual void setModified (bool mod) = 0
virtual void setGain (MT_Scalar gain) = 0
virtual void setPitch (MT_Scalar pitch) = 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 soundobject. More...


Detailed Description

SND_ISoundObject is a interface class for soundobjects.

Definition at line 17 of file SND_ISoundObject.h.


Constructor & Destructor Documentation

SND_ISoundObject::SND_ISoundObject ( ) [inline]
 

Definition at line 20 of file SND_ISoundObject.h.

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

Definition at line 21 of file SND_ISoundObject.h.


Member Function Documentation

bool SND_ISoundObject::isModified ( ) const [pure virtual]
 

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

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

Reimplemented from SND_IObject.

virtual void SND_ISoundObject::pauseSound ( ) [pure virtual]
 

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

Reimplemented from SND_IObject.

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

Reimplemented from SND_IObject.

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

Reimplemented from SND_IObject.

virtual void SND_ISoundObject::setPitch ( MT_Scalar pitch ) [pure virtual]
 

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

Reimplemented from SND_IObject.

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

Reimplemented from SND_IObject.

virtual void SND_ISoundObject::startSound ( ) [pure virtual]
 

virtual void SND_ISoundObject::stopSound ( ) [pure virtual]
 


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