From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../doxygen/nel/classNLSOUND_1_1CListenerUser.html | 612 +++++++++++++++++++++ 1 file changed, 612 insertions(+) create mode 100644 docs/doxygen/nel/classNLSOUND_1_1CListenerUser.html (limited to 'docs/doxygen/nel/classNLSOUND_1_1CListenerUser.html') diff --git a/docs/doxygen/nel/classNLSOUND_1_1CListenerUser.html b/docs/doxygen/nel/classNLSOUND_1_1CListenerUser.html new file mode 100644 index 00000000..9283f6cb --- /dev/null +++ b/docs/doxygen/nel/classNLSOUND_1_1CListenerUser.html @@ -0,0 +1,612 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLSOUND::CListenerUser Class Reference

Implementation of UListener. +More... +

+#include <listener_user.h> +

+

Inheritance diagram for NLSOUND::CListenerUser: +

+ +NLSOUND::UListener + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CListenerUser ()
 Constructor. More...

void init (ISoundDriver *sd)
 Init. More...

virtual ~CListenerUser ()
 Destructor. More...

IListenergetListener ()
 Direct access granted to the audio mixer. More...

Listener properties
virtual void setPos (const NLMISC::CVector &pos)
 Set the position vector (default: (0,0,0)) (3D mode only). More...

virtual const NLMISC::CVectorgetPos () const
 Get the position vector. More...

virtual void setVelocity (const NLMISC::CVector &vel)
 Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)). More...

virtual void getVelocity (NLMISC::CVector &vel) const
 Get the velocity vector. More...

virtual void setOrientation (const NLMISC::CVector &front, const NLMISC::CVector &up)
 Set the orientation vectors (3D mode only, ignored in stereo mode) (default: (0,1,0), (0,0,1) ). More...

virtual void getOrientation (NLMISC::CVector &front, NLMISC::CVector &up) const
 Get the orientation vectors. More...

virtual void setGain (float gain)
 Set the gain (volume value inside [0 , 1]). More...

virtual float getGain () const
 Get the gain. More...


Private Attributes

IListener_DrvListener
 Listener property. More...

+

Detailed Description

+Implementation of UListener. +

+This implementation does not check if the properties have changed or not. Therefore it is suggested to test them and not to call the set methods if there is no change. +

+

+Author:
+Olivier Cado , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 49 of file listener_user.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLSOUND::CListenerUser::CListenerUser   [inline]
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 54 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + +
virtual NLSOUND::CListenerUser::~CListenerUser   [inline, virtual]
+
+ + + + + +
+   + + +

+Destructor. +

+ +

+Definition at line 58 of file listener_user.h. +

+References _DrvListener.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
virtual float NLSOUND::CListenerUser::getGain void   const [inline, virtual]
+
+ + + + + +
+   + + +

+Get the gain. +

+ +

+Implements NLSOUND::UListener. +

+Definition at line 87 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + +
IListener* NLSOUND::CListenerUser::getListener   [inline]
+
+ + + + + +
+   + + +

+Direct access granted to the audio mixer. +

+ +

+Definition at line 92 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NLSOUND::CListenerUser::getOrientation NLMISC::CVector  front,
NLMISC::CVector  up
const [inline, virtual]
+
+ + + + + +
+   + + +

+Get the orientation vectors. +

+ +

+Implements NLSOUND::UListener. +

+Definition at line 77 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + +
virtual const NLMISC::CVector& NLSOUND::CListenerUser::getPos void   const [inline, virtual]
+
+ + + + + +
+   + + +

+Get the position vector. +

+See setPos() for details. +

+Implements NLSOUND::UListener. +

+Definition at line 68 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLSOUND::CListenerUser::getVelocity NLMISC::CVector  vel const [inline, virtual]
+
+ + + + + +
+   + + +

+Get the velocity vector. +

+ +

+Implements NLSOUND::UListener. +

+Definition at line 72 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + +
void NLSOUND::CListenerUser::init ISoundDriver  sd [inline]
+
+ + + + + +
+   + + +

+Init. +

+ +

+Definition at line 56 of file listener_user.h. +

+References _DrvListener, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLSOUND::CListenerUser::setGain float   gain [inline, virtual]
+
+ + + + + +
+   + + +

+Set the gain (volume value inside [0 , 1]). +

+(default: 1) 0.0 -> silence 0.5 -> -6dB 1.0 -> no attenuation values > 1 (amplification) not supported by most drivers +

+Implements NLSOUND::UListener. +

+Definition at line 85 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NLSOUND::CListenerUser::setOrientation const NLMISC::CVector  front,
const NLMISC::CVector  up
[inline, virtual]
+
+ + + + + +
+   + + +

+Set the orientation vectors (3D mode only, ignored in stereo mode) (default: (0,1,0), (0,0,1) ). +

+ +

+Implements NLSOUND::UListener. +

+Definition at line 74 of file listener_user.h. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + +
void NLSOUND::CListenerUser::setPos const NLMISC::CVector  pos [virtual]
+
+ + + + + +
+   + + +

+Set the position vector (default: (0,0,0)) (3D mode only). +

+ +

+Implements NLSOUND::UListener. +

+Definition at line 37 of file listener_user.cpp. +

+References _DrvListener.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLSOUND::CListenerUser::setVelocity const NLMISC::CVector  vel [inline, virtual]
+
+ + + + + +
+   + + +

+Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)). +

+ +

+Implements NLSOUND::UListener. +

+Definition at line 70 of file listener_user.h. +

+References _DrvListener.

+


Member Data Documentation

+

+ + + + +
+ + +
IListener* NLSOUND::CListenerUser::_DrvListener [private] +
+
+ + + + + +
+   + + +

+Listener property. +

+ +

+Definition at line 97 of file listener_user.h. +

+Referenced by CListenerUser, getGain, getListener, getOrientation, getPos, getVelocity, init, setGain, setOrientation, setPos, setVelocity, and ~CListenerUser.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1