#include <PowerMonitor.h>
Public Member Functions | |
PowerMonitor () | |
virtual | ~PowerMonitor () |
virtual OStatus | DoInit (const OSystemEvent &event) |
virtual OStatus | DoStart (const OSystemEvent &event) |
virtual OStatus | DoStop (const OSystemEvent &event) |
virtual OStatus | DoDestroy (const OSystemEvent &event) |
void | UpdatePowerStatus (void *msg) |
Public Attributes | |
OSubject * | subject [numOfSubject] |
OObserver * | observer [numOfObserver] |
Private Member Functions | |
void | PrintPowerStatus (const OPowerStatus &ps) |
|
Definition at line 17 of file PowerMonitor.cc. |
|
Definition at line 23 of file PowerMonitor.h. |
|
Definition at line 69 of file PowerMonitor.cc. |
|
Definition at line 22 of file PowerMonitor.cc. |
|
Definition at line 28 of file PowerMonitor.cc. References PrintPowerStatus(). |
|
Definition at line 63 of file PowerMonitor.cc. |
|
Definition at line 116 of file PowerMonitor.cc. Referenced by DoStart(), and UpdatePowerStatus(). |
|
Definition at line 75 of file PowerMonitor.cc. References PrintPowerStatus(). |
|
Definition at line 26 of file PowerMonitor.h. |
|
Definition at line 25 of file PowerMonitor.h. |