LLListener Class Reference

#include <listener.h>

Inheritance diagram for LLListener:

Inheritance graph
[legend]
Collaboration diagram for LLListener:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLListener ()
virtual ~LLListener ()
virtual void init ()
virtual void free ()
virtual void set (LLVector3 pos, LLVector3 vel, LLVector3 up, LLVector3 at)
virtual void setPosition (LLVector3 pos)
virtual void setVelocity (LLVector3 vel)
virtual void orient (LLVector3 up, LLVector3 at)
virtual void translate (LLVector3 offset)
virtual void setDopplerFactor (F32 factor)
virtual void setDistanceFactor (F32 factor)
virtual void setRolloffFactor (F32 factor)
virtual LLVector3 getPosition ()
virtual LLVector3 getAt ()
virtual LLVector3 getUp ()
virtual F32 getDopplerFactor ()
virtual F32 getDistanceFactor ()
virtual F32 getRolloffFactor ()
virtual void commitDeferredChanges ()

Protected Attributes

LLVector3 mPosition
LLVector3 mVelocity
LLVector3 mListenAt
LLVector3 mListenUp


Detailed Description

Definition at line 37 of file listener.h.


Constructor & Destructor Documentation

LLListener::LLListener (  ) 

Definition at line 42 of file listener.cpp.

References init().

Here is the call graph for this function:

LLListener::~LLListener (  )  [virtual]

Definition at line 48 of file listener.cpp.


Member Function Documentation

void LLListener::init ( void   )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 53 of file listener.cpp.

References DEFAULT_AT, DEFAULT_UP, mListenAt, mListenUp, mPosition, mVelocity, LLVector3::setVec(), and LLVector3::zeroVec().

Referenced by LLListener_FMOD::init(), and LLListener().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLListener::free ( void   )  [virtual]

Definition at line 62 of file listener.cpp.

void LLListener::set ( LLVector3  pos,
LLVector3  vel,
LLVector3  up,
LLVector3  at 
) [virtual]

Definition at line 110 of file listener.cpp.

References mPosition, mVelocity, orient(), setPosition(), and setVelocity().

Referenced by LLAudioEngine::setListener().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLListener::setPosition ( LLVector3  pos  )  [virtual]

Reimplemented in LLListener_DS3D, LLListener_FMOD, and LLListener_OpenAL.

Definition at line 73 of file listener.cpp.

References mPosition.

Referenced by set(), LLAudioEngine::setListenerPos(), and LLListener_FMOD::setPosition().

Here is the caller graph for this function:

void LLListener::setVelocity ( LLVector3  vel  )  [virtual]

Reimplemented in LLListener_DS3D, LLListener_FMOD, and LLListener_OpenAL.

Definition at line 97 of file listener.cpp.

References mVelocity.

Referenced by set(), LLAudioEngine::setListenerVelocity(), and LLListener_FMOD::setVelocity().

Here is the caller graph for this function:

void LLListener::orient ( LLVector3  up,
LLVector3  at 
) [virtual]

Reimplemented in LLListener_DS3D, LLListener_FMOD, and LLListener_OpenAL.

Definition at line 103 of file listener.cpp.

References mListenAt, and mListenUp.

Referenced by LLListener_FMOD::orient(), LLAudioEngine::orientListener(), and set().

Here is the caller graph for this function:

void LLListener::translate ( LLVector3  offset  )  [virtual]

Reimplemented in LLListener_DS3D, LLListener_FMOD, and LLListener_OpenAL.

Definition at line 67 of file listener.cpp.

References mPosition.

Referenced by LLListener_FMOD::translate(), and LLAudioEngine::translateListener().

Here is the caller graph for this function:

void LLListener::setDopplerFactor ( F32  factor  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 121 of file listener.cpp.

Referenced by LLAudioEngine::setDopplerFactor().

Here is the caller graph for this function:

void LLListener::setDistanceFactor ( F32  factor  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 132 of file listener.cpp.

Referenced by LLAudioEngine::setDistanceFactor().

Here is the caller graph for this function:

void LLListener::setRolloffFactor ( F32  factor  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 143 of file listener.cpp.

Referenced by LLAudioEngine::setRolloffFactor().

Here is the caller graph for this function:

LLVector3 LLListener::getPosition ( void   )  [virtual]

Definition at line 79 of file listener.cpp.

References mPosition.

Referenced by LLAudioEngine::getListenerPos().

Here is the caller graph for this function:

LLVector3 LLListener::getAt ( void   )  [virtual]

Definition at line 85 of file listener.cpp.

References mListenAt.

LLVector3 LLListener::getUp ( void   )  [virtual]

Definition at line 91 of file listener.cpp.

References mListenUp.

F32 LLListener::getDopplerFactor (  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 126 of file listener.cpp.

Referenced by LLAudioEngine::getDopplerFactor().

Here is the caller graph for this function:

F32 LLListener::getDistanceFactor (  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 137 of file listener.cpp.

Referenced by LLAudioEngine::getDistanceFactor().

Here is the caller graph for this function:

F32 LLListener::getRolloffFactor (  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 148 of file listener.cpp.

Referenced by LLAudioEngine::getRolloffFactor().

Here is the caller graph for this function:

void LLListener::commitDeferredChanges (  )  [virtual]

Reimplemented in LLListener_DS3D, and LLListener_FMOD.

Definition at line 154 of file listener.cpp.

Referenced by LLAudioEngine::commitDeferredChanges().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 41 of file listener.h.

Referenced by getPosition(), init(), set(), setPosition(), LLListener_FMOD::translate(), and translate().

Definition at line 42 of file listener.h.

Referenced by init(), set(), and setVelocity().


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

Generated on Fri May 16 08:51:44 2008 for SecondLife by  doxygen 1.5.5