Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

nge::audio::ISoundEmitterSceneNode Class Reference

#include <ISoundEmitterSceneNode.hpp>

Inheritance diagram for nge::audio::ISoundEmitterSceneNode:

ISceneNode

List of all members.

Public Member Functions

virtual void addSound (IPlayedSound *sound)
 Add a sound to this emitter.
const aabbox3d< f32 > & getBoundingBox () const
 Returns the bounding box.
virtual IPlayedSoundgetSound (u32 index)
 Get a specific sound from this emitter.
virtual u32 getSoundCount () const
 Get the number of sounds in this emitter.
virtual ESCENE_NODE_TYPE getType ()
 ISoundEmitterSceneNode (ISceneNode *parent, ISceneManager *smgr, s32 id=-1)
 Constructor.
virtual void OnAnimate (u32 timeMs)
 This method is called just After the rendering process of the whole scene.
virtual void OnRegisterSceneNode ()
 This method is called just Before the rendering process of the whole scene.
virtual void removeAllSounds ()
 Remove all sounds from this emitter.
virtual void removeSound (IPlayedSound *sound)
 Remove a sound from this emitter.
virtual void render ()
virtual ~ISoundEmitterSceneNode ()
 Destructor.

Private Member Functions

void deleteAllSounds ()
 Non-virtual used to cleanup sound resources.

Private Attributes

array< IPlayedSound * > m_aSounds
aabbox3df m_Box


Detailed Description

Thanks vitek for creating this class

Definition at line 24 of file ISoundEmitterSceneNode.hpp.


Constructor & Destructor Documentation

nge::audio::ISoundEmitterSceneNode::ISoundEmitterSceneNode ( ISceneNode parent,
ISceneManager *  smgr,
s32  id = -1 
)

Constructor.

virtual nge::audio::ISoundEmitterSceneNode::~ISoundEmitterSceneNode (  )  [virtual]

Destructor.


Member Function Documentation

virtual void nge::audio::ISoundEmitterSceneNode::addSound ( IPlayedSound sound  )  [virtual]

Add a sound to this emitter.

void nge::audio::ISoundEmitterSceneNode::deleteAllSounds (  )  [private]

Non-virtual used to cleanup sound resources.

const aabbox3d<f32>& nge::audio::ISoundEmitterSceneNode::getBoundingBox (  )  const

Returns the bounding box.

virtual IPlayedSound* nge::audio::ISoundEmitterSceneNode::getSound ( u32  index  )  [virtual]

Get a specific sound from this emitter.

virtual u32 nge::audio::ISoundEmitterSceneNode::getSoundCount (  )  const [virtual]

Get the number of sounds in this emitter.

virtual ESCENE_NODE_TYPE nge::audio::ISoundEmitterSceneNode::getType (  )  [virtual]

virtual void nge::audio::ISoundEmitterSceneNode::OnAnimate ( u32  timeMs  )  [virtual]

This method is called just After the rendering process of the whole scene.

virtual void nge::audio::ISoundEmitterSceneNode::OnRegisterSceneNode (  )  [virtual]

This method is called just Before the rendering process of the whole scene.

virtual void nge::audio::ISoundEmitterSceneNode::removeAllSounds (  )  [virtual]

Remove all sounds from this emitter.

virtual void nge::audio::ISoundEmitterSceneNode::removeSound ( IPlayedSound sound  )  [virtual]

Remove a sound from this emitter.

virtual void nge::audio::ISoundEmitterSceneNode::render (  )  [virtual]


Member Data Documentation

Definition at line 68 of file ISoundEmitterSceneNode.hpp.

Definition at line 66 of file ISoundEmitterSceneNode.hpp.


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

The NUSoftware Game Engine
The NUSoftware Game Engine Documentation © 2007-2008 by Tomer Nosrati. Generated on Sat Apr 26 16:52:35 2008 by Doxygen (1.5.5)