Om
1.0.0
A universal framework for multimedia simulation
|
A class that stores different boolean parameters for multimedia playback. More...
#include <omEnginePlaybackFlags.h>
Public Types | |
enum | Flag { UNDEFINED = 0, PLAYING = (1 << 0), LOOP = (1 << 1), DEFAULT = UNDEFINED } |
An enum that specifies the different media playback flags. More... | |
Public Member Functions | |
PlaybackFlags () | |
Create a new playback flags object with no flags set. More... | |
PlaybackFlags (Flag flag) | |
Create a new playback flags object with the specified flag value initially set. More... | |
PlaybackFlags (UInt32 newFlags) | |
Create a new playback flags object with the specified initial combined flags value. More... | |
operator UInt32 () const | |
Convert this playback flags object to an integer value. More... | |
Bool | isSet (Flag flag) const |
Return whether or not the specified flag value is set for this flags object. More... | |
void | set (Flag flag, Bool newIsSet) |
Set whether or not the specified flag value is set for this flags object. More... | |
A class that stores different boolean parameters for multimedia playback.
An enum that specifies the different media playback flags.
|
inline |
Create a new playback flags object with no flags set.
|
inline |
Create a new playback flags object with the specified flag value initially set.
|
inline |
Create a new playback flags object with the specified initial combined flags value.
|
inline |
Convert this playback flags object to an integer value.
This operator is provided so that the PlaybackFlags object can be used as an integer value for bitwise logical operations.
Return whether or not the specified flag value is set for this flags object.
Set whether or not the specified flag value is set for this flags object.