Public Types | |
enum | { Error = -1, NotBlocked = 0, Blocked = 1 } |
enum | PauseState { UNPAUSED = 0, PAUSING, PAUSED } |
Public Member Functions | |
int | blockOnSuspend () |
bool | beginCriticalSection () |
void | endCriticalSection () |
bool | registerForSuspend (Suspendable *item) |
bool | unregisterForSuspend (Suspendable *item) |
void | suspend () |
void | resume () |
void | pollPauseEngine () |
int | getPMStatus () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Common::Singleton< PowerManager > | |
static bool | hasInstance () |
static PowerManager & | instance () |
static void | destroy () |
Protected Types inherited from Common::Singleton< PowerManager > | |
typedef PowerManager | SingletonBaseType |
Static Protected Attributes inherited from Common::Singleton< PowerManager > | |
static PowerManager * | _singleton |