Mac OS X Reference Library Apple Developer
Search

IOPowerConnection.h

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

childHasRequestedPower

Return the flag that says whether the child has called requestPowerDomainState.

getAwaitingAck

Returns the awaitingAck variable.

getDesiredDomainState

Returns the desiredDomainState variable.

getPreventIdleSleepFlag

Returns the preventIdleSleepFlag variable.

getPreventSystemSleepFlag

Returns the preventSystemSleepFlag variable.

getReadyFlag

Returns the readyFlag variable.

parentCurrentPowerFlags

Returns the currentPowerFlags variable.

parentKnowsState

Returns the stateKnown variable.

setAwaitingAck

Sets the awaitingAck variable.

setChildHasRequestedPower

Set the flag that says that the child has called requestPowerDomainState.

setDesiredDomainState

Sets the desiredDomainState variable.

setParentCurrentPowerFlags

Sets the currentPowerFlags variable.

setParentKnowsState

Sets the stateKnown variable.

setPreventIdleSleepFlag

Sets the preventIdleSleepFlag variable.

setPreventSystemSleepFlag

Sets the preventSystemSleepFlag variable.

setReadyFlag

Sets the readyFlag variable.


childHasRequestedPower


Return the flag that says whether the child has called requestPowerDomainState.


bool childHasRequestedPower (
    void );  
Discussion

Called by the PCI Aux Power Supply Driver to see if a device driver is power managed.


getAwaitingAck


Returns the awaitingAck variable.


bool getAwaitingAck (
    void );  
Discussion

Called by the parent.


getDesiredDomainState


Returns the desiredDomainState variable.


unsigned long getDesiredDomainState (
    void );  
Discussion

Called by the parent.


getPreventIdleSleepFlag


Returns the preventIdleSleepFlag variable.


bool getPreventIdleSleepFlag (
    void );  
Discussion

Called by the parent.


getPreventSystemSleepFlag


Returns the preventSystemSleepFlag variable.


bool getPreventSystemSleepFlag (
    void );  
Discussion

Called by the parent.


getReadyFlag


Returns the readyFlag variable.


bool getReadyFlag(
    void ) const;  
Discussion

Called by the parent.


parentCurrentPowerFlags


Returns the currentPowerFlags variable.


parentKnowsState


Returns the stateKnown variable.


bool parentKnowsState (
    void );  

setAwaitingAck


Sets the awaitingAck variable.


void setAwaitingAck (
    bool );  
Discussion

Called by the parent.


setChildHasRequestedPower


Set the flag that says that the child has called requestPowerDomainState.

Discussion

Called by the parent.


setDesiredDomainState


Sets the desiredDomainState variable.


void setDesiredDomainState (
    unsigned long );  
Discussion

Called by the parent.


setParentCurrentPowerFlags


Sets the currentPowerFlags variable.


void setParentCurrentPowerFlags (
    IOPMPowerFlags );  
Discussion

Called by the parent when the object is created and called by the child when it discovers that the parent state is changing.


setParentKnowsState


Sets the stateKnown variable.

Discussion

Called by the parent when the object is created and called by the child when it discovers that the parent now knows its state.


setPreventIdleSleepFlag


Sets the preventIdleSleepFlag variable.


void setPreventIdleSleepFlag (
    unsigned long );  
Discussion

Called by the parent.


setPreventSystemSleepFlag


Sets the preventSystemSleepFlag variable.


void setPreventSystemSleepFlag (
    unsigned long );  
Discussion

Called by the parent.


setReadyFlag


Sets the readyFlag variable.


void setReadyFlag(
    bool flag );  
Discussion

Called by the parent.

Globals

awaitingAck
currentPowerFlags
desiredDomainState
preventIdleSleepFlag
preventSystemSleepFlag
readyFlag
requestFlag
stateKnown

awaitingAck



bool awaitingAck;  
Fields
awaitingAck

true if child has not yet acked our notification used by parent


currentPowerFlags


Fields
currentPowerFlags

power flags which describe the current state of the power domain used by child


desiredDomainState



unsigned long desiredDomainState;  
Fields
desiredDomainState

state number which corresponds to the child's desire used by parent


preventIdleSleepFlag



unsigned long preventIdleSleepFlag;  
Fields
preventIdleSleepFlag

true if child has this bit set in its desired state used by parent


preventSystemSleepFlag



unsigned long preventSystemSleepFlag;  
Fields
preventSystemSleepFlag

true if child has this bit set in its desired state used by parent


readyFlag



bool readyFlag;  
Fields
readyFlag

true if the child has been added as a power child used by parent


requestFlag



bool requestFlag;  
Fields
requestFlag

set to true when desiredDomainState is set


stateKnown



bool stateKnown;  
Fields
parentKnowsState

true: parent knows state of its domain used by child

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-07-29