Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::sound::acoustics::contexts::AcousticPair Class Reference

A class that specifies a source and listener pair. More...

#include <omAcousticPair.h>

Public Member Functions

 AcousticPair ()
 Create a new acoustic pair with no listener or source. More...
 
 AcousticPair (SoundListener *newListener, SoundSource *newSource)
 Create a new acoustic pair for the specified sound source and listener. More...
 

Public Attributes

SoundListenerlistener
 A pointer to the listener that recieves sound from the source. More...
 
SoundSourcesource
 A pointer to the source that emits sound. More...
 

Detailed Description

A class that specifies a source and listener pair.

Constructor & Destructor Documentation

om::sound::acoustics::contexts::AcousticPair::AcousticPair ( )
inline

Create a new acoustic pair with no listener or source.

om::sound::acoustics::contexts::AcousticPair::AcousticPair ( SoundListener newListener,
SoundSource newSource 
)
inline

Create a new acoustic pair for the specified sound source and listener.

Member Data Documentation

SoundListener* om::sound::acoustics::contexts::AcousticPair::listener

A pointer to the listener that recieves sound from the source.

SoundSource* om::sound::acoustics::contexts::AcousticPair::source

A pointer to the source that emits sound.


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