LLAudioSourceVO Class Reference

#include <llaudiosourcevo.h>

Inheritance diagram for LLAudioSourceVO:

Inheritance graph
[legend]
Collaboration diagram for LLAudioSourceVO:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLAudioSourceVO (const LLUUID &sound_id, const LLUUID &owner_id, const F32 gain, LLViewerObject *objectp)
virtual ~LLAudioSourceVO ()
void update ()
void setGain (const F32 gain)

Private Member Functions

void updateGain ()

Private Attributes

LLPointer< LLViewerObjectmObjectp
F32 mActualGain


Detailed Description

Definition at line 41 of file llaudiosourcevo.h.


Constructor & Destructor Documentation

LLAudioSourceVO::LLAudioSourceVO ( const LLUUID sound_id,
const LLUUID owner_id,
const F32  gain,
LLViewerObject objectp 
)

Definition at line 41 of file llaudiosourcevo.cpp.

References FALSE, LLAudioSource::setAmbient(), update(), and updateGain().

Here is the call graph for this function:

LLAudioSourceVO::~LLAudioSourceVO (  )  [virtual]

Definition at line 51 of file llaudiosourcevo.cpp.

References mObjectp, and NULL.


Member Function Documentation

void LLAudioSourceVO::update (  )  [virtual]

Reimplemented from LLAudioSource.

Definition at line 134 of file llaudiosourcevo.cpp.

References gAgent, LLAgent::getCameraPositionGlobal(), mObjectp, LLAudioSource::mPositionGlobal, LLAudioSource::mVelocity, NULL, LLAudioSource::update(), and updateGain().

Referenced by LLAudioSourceVO().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLAudioSourceVO::setGain ( const F32  gain  )  [virtual]

Reimplemented from LLAudioSource.

Definition at line 60 of file llaudiosourcevo.cpp.

References llclamp(), mActualGain, and updateGain().

Referenced by LLViewerObject::adjustAudioGain(), LLViewerObject::setAttachedSound(), and LLViewerObject::updateLOD().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLAudioSourceVO::updateGain (  )  [private]


Member Data Documentation

Definition at line 53 of file llaudiosourcevo.h.

Referenced by update(), updateGain(), and ~LLAudioSourceVO().

Definition at line 54 of file llaudiosourcevo.h.

Referenced by setGain(), and updateGain().


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

Generated on Fri May 16 08:39:21 2008 for SecondLife by  doxygen 1.5.5