Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents the kind of effect that a SoundFilter performs. More...
#include <omSoundFilterCategory.h>
Public Types | |
enum | Enum { OTHER = 0, PLAYBACK = 1, RECORDING = 2, INSTRUMENT = 3, ROUTING = 4, IMAGING = 5, EQUALIZER = 6, DYNAMICS = 7, DISTORTION = 8, DELAY = 9, REVERB = 10, MODULATION = 11, PITCH = 12, MIDI = 13, ANALYSIS = 14, UTILITY = 15 } |
An enum that specifies the different SoundFilter categories. More... | |
Public Member Functions | |
FilterCategory () | |
Create a new filter type object with the OTHER parameter type. More... | |
FilterCategory (Enum newType) | |
Create a new filter type object with the specified type enum value. More... | |
operator Enum () const | |
Convert this filter type to an enum value. More... | |
UTF8String | toString () const |
Return a string representation of the filter type. More... | |
operator UTF8String () const | |
Convert this filter type into a string representation. More... | |
A class that represents the kind of effect that a SoundFilter performs.
This allows filters to report a category of effect which they belong to, and allows filter hosts to sort filters by their type.
An enum that specifies the different SoundFilter categories.
|
inline |
Create a new filter type object with the OTHER parameter type.
|
inline |
Create a new filter type object with the specified type enum value.
|
inline |
Convert this filter type to an enum value.
This operator is provided so that the FilterCategory object can be used directly in a switch statement without the need to explicitly access the underlying enum value.
UTF8String om::sound::filters::FilterCategory::toString | ( | ) | const |
Return a string representation of the filter type.
|
inline |
Convert this filter type into a string representation.