Listener Class Reference
[Framework Module]

#include <listener.h>

Inheritance diagram for Listener:

OpenALListener

List of all members.


Detailed Description

Define listener properties for audio subsystem.

Public Member Functions

 Listener ()
virtual ~Listener ()
void SetTransform (const matrix44 &m)
void SetVelocity (const vector3 &v)
const matrix44GetTransform () const
const vector3GetVelocity () const

Protected Member Functions

void SetDirty (bool dirty)
virtual void Update ()

Protected Attributes

matrix44 transform
vector3 velocity
bool move_dirty

Friends

class AudioServer

Constructor & Destructor Documentation

Listener::Listener (  )  [inline]

Constructor.

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

Destructor.


Member Function Documentation

void Listener::SetTransform ( const matrix44 m  )  [inline]

Sets world space transform.

void Listener::SetVelocity ( const vector3 v  )  [inline]

Set world space velocity.

const matrix44 & Listener::GetTransform (  )  const [inline]

Gets world space transform.

const vector3 & Listener::GetVelocity (  )  const [inline]

Gets world space velocity.

void Listener::SetDirty ( bool  dirty  )  [inline, protected]

Sets all dirty flags. Used in AudioServer when listener is changed.

void Listener::Update (  )  [inline, protected, virtual]

Updates listener.

Reimplemented in OpenALListener.


Friends And Related Function Documentation

friend class AudioServer [friend]


Member Data Documentation

matrix44 Listener::transform [protected]

vector3 Listener::velocity [protected]

bool Listener::move_dirty [protected]


The documentation for this class was generated from the following file:
Generated on Sat Oct 20 14:47:32 2007 for Dark Oberon by  doxygen 1.5.3