All Classes Functions Typedefs
Public Member Functions | List of all members
EnjoLib::MFDGoodies::SoundMap Class Reference

Sound map. More...

#include <SoundMap.hpp>

Inheritance diagram for EnjoLib::MFDGoodies::SoundMap:
SoundMapMyMFD

Public Member Functions

 SoundMap ()
 Default constructor.

Detailed Description

Sound map.

Maps a sample id (an enum) onto a filename of sound sample.

You need to derive from this class and put your mapping in constructor. Then you need to store the derived map and pass it to Sound.

Constructor & Destructor Documentation

SoundMap::SoundMap ( )

Default constructor.

The actual mapping is performed here like in the following example:

this->operator[]( HALF_ORBITAL_VEL ) = "Sound/LaunchMFDEnjo/HalfOV.wav";
this->operator[]( TARGET_MANUAL ) = "Sound/LaunchMFDEnjo/ManualTarget.wav";


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