Engine::ALSoundSource Class Reference

Wrapper for an OpenAL source. More...

#include <Audio.h>

List of all members.

Public Member Functions

 ALSoundSource ()
 ~ALSoundSource ()
ALuint get_name ()
SoundInstanceget_instance ()
 Get the SoundInstance that was last assigned, if any.
void assign (SoundInstance &si)
 Assign a SoundInstance.
void unassign ()
 Stop playing any sound, and forget the last assigment.

Private Member Functions

 ALSoundSource (const ALSoundSource &source)
ALSoundSourceoperator= (const ALSoundSource &source)

Private Attributes

ALuint m_name

Detailed Description

Wrapper for an OpenAL source.

Definition at line 284 of file Audio.h.

Constructor & Destructor Documentation

Engine::ALSoundSource::ALSoundSource (  ) 

Definition at line 585 of file Audio.cpp.

Engine::ALSoundSource::~ALSoundSource (  ) 

Definition at line 599 of file Audio.cpp.

Engine::ALSoundSource::ALSoundSource ( const ALSoundSource source  )  [private]

Member Function Documentation

void Engine::ALSoundSource::assign ( SoundInstance si  ) 

Assign a SoundInstance.

Definition at line 646 of file Audio.cpp.

SoundInstance * Engine::ALSoundSource::get_instance (  ) 

Get the SoundInstance that was last assigned, if any.

Definition at line 617 of file Audio.cpp.

ALuint Engine::ALSoundSource::get_name (  ) 

Definition at line 612 of file Audio.cpp.

ALSoundSource& Engine::ALSoundSource::operator= ( const ALSoundSource source  )  [private]

void Engine::ALSoundSource::unassign (  ) 

Stop playing any sound, and forget the last assigment.

Definition at line 622 of file Audio.cpp.

Member Data Documentation

SoundInstance* Engine::ALSoundSource::m_instance [private]

Definition at line 299 of file Audio.h.

ALuint Engine::ALSoundSource::m_name [private]

Definition at line 298 of file Audio.h.

The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.