Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies boolean flags for how two connected objects interact. More...
#include <omEngineConnectionFlags.h>
Public Types | |
enum | Flag { UNDEFINED = 0, ENABLED = (1 << 0), OFFLINE = (1 << 1), LOAD = (1 << 2), START = (1 << 2), END = (1 << 3), REAL_TIME = (1 << 4), DEFAULT = ENABLED | OFFLINE | START | END | REAL_TIME } |
An enum that specifies the different connection flags. More... | |
Public Member Functions | |
ConnectionFlags () | |
Create a new connection flags object with no flags set. More... | |
ConnectionFlags (Flag flag) | |
Create a new connection flags object with the specified flag value initially set. More... | |
ConnectionFlags (UInt32 newFlags) | |
Create a new connection flags object with the specified initial combined flags value. More... | |
operator UInt32 () const | |
Convert this connection 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 specifies boolean flags for how two connected objects interact.
An enum that specifies the different connection flags.
|
inline |
Create a new connection flags object with no flags set.
|
inline |
Create a new connection flags object with the specified flag value initially set.
|
inline |
Create a new connection flags object with the specified initial combined flags value.
|
inline |
Convert this connection flags object to an integer value.
This operator is provided so that the ConnectionFlags 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.