Om
1.0.0
A universal framework for multimedia simulation
|
A class that encapsulates the different flags that a sound filter parameter can have. More...
#include <omSoundFilterParameterFlags.h>
Public Types | |
enum | Enum { READ_ACCESS = 1 << 0, WRITE_ACCESS = 1 << 1, NAMED_VALUES = 1 << 2, UNDEFINED = 0 } |
An enum that specifies the different filter parameter flags. More... | |
Public Member Functions | |
FilterParameterFlags () | |
Create a new filter parameter flags object with no flags set. More... | |
FilterParameterFlags (UInt32 newFlags) | |
Create a new filter parameter flags object with the specified flags value. More... | |
operator UInt32 () const | |
Convert this filter parameter flags object to an integer value. More... | |
Bool | getIsReadable () const |
Return whether or not these parameter flags indicate that read access is enabled. More... | |
void | setIsReadable (Bool newIsReadable) |
Set whether or not these parameter flags indicate that read access is enabled. More... | |
Bool | getIsWriteable () const |
Return whether or not these parameter flags indicate that write access is enabled. More... | |
void | setIsWriteable (Bool newIsWritable) |
Set whether or not these parameter flags indicate that write access is enabled. More... | |
Bool | getHasNamedValues () const |
Return whether or not these parameter flags indicate the parameter has any specially named values. More... | |
void | setHasNamedValues (Bool newHasNamedValues) |
Set whether or not these parameter flags indicate the parameter has any specially named values. More... | |
A class that encapsulates the different flags that a sound filter parameter can have.
These flags provide boolean information about a certain filter parameter. For example, flags can indicate the read/write status of a parameter. Flags are indicated by setting a single bit of a 32-bit unsigned integer to 1.
Enum values for the different flags are defined as members of the class. Typically, the user would bitwise-OR the flag enum values together to produce a final set of set flags.
An enum that specifies the different filter parameter flags.
|
inline |
Create a new filter parameter flags object with no flags set.
|
inline |
Create a new filter parameter flags object with the specified flags value.
|
inline |
Convert this filter parameter flags object to an integer value.
This operator is provided so that the FilterParameterFlags object can be used as an integer value for bitwise logical operations.
|
inline |
Return whether or not these parameter flags indicate that read access is enabled.
|
inline |
Set whether or not these parameter flags indicate that read access is enabled.
|
inline |
Return whether or not these parameter flags indicate that write access is enabled.
|
inline |
Set whether or not these parameter flags indicate that write access is enabled.
|
inline |
Return whether or not these parameter flags indicate the parameter has any specially named values.
|
inline |
Set whether or not these parameter flags indicate the parameter has any specially named values.