#include <engine.h>
Public Member Functions | |
PauseToken (const PauseToken &) | |
void | operator= (const PauseToken &) |
void | clear () |
bool | isActive () const |
Class for managing pausing by Engine::pauseEngine that hands out pause tokens.
Each token represents one requested level of pause.
PauseToken::PauseToken | ( | const PauseToken & | ) |
Construct a pause token.
void PauseToken::operator= | ( | const PauseToken & | ) |
Assign the pause token.
void PauseToken::clear | ( | ) |
Manually release the PauseToken.
Only allowed if the token currently represents a pause request.
|
inline |
Return true if the PauseToken represents a pause level, false if it is empty.