#include <apm.h>
Inheritance diagram for APM_Interface:
Public Member Functions | |
APM_Interface () | |
default initialisation | |
virtual | ~APM_Interface () |
destructor | |
virtual int | openHWEventFD () |
opens the apm event file | |
virtual int | openAcpidSocket () |
dummy implementation | |
virtual int | handleHWEventRequest (int fd=-1) |
Handles an event on the socket. | |
virtual int | suspend_to_ram () |
triggers suspend_to_ram for apm | |
virtual int | standby () |
triggers standby for apm | |
virtual void | activateSettings () |
activates settings for specific scheme | |
Private Attributes | |
int | _hwEvent_fd |
the event fd |
|
default initialisation
|
|
destructor
|
|
activates settings for specific scheme only calls activateSettings from parent class for now Reimplemented from PM_Interface. |
|
Handles an event on the socket.
Implements PM_Interface. |
|
dummy implementation
Implements PM_Interface. |
|
opens the apm event file
Implements PM_Interface. |
|
triggers standby for apm
Implements PM_Interface. |
|
triggers suspend_to_ram for apm
Implements PM_Interface. |
|
the event fd
|