Mac Developer Library

Developer

IOPowerConnection Class Reference

Options
Deployment Target:

On This Page

IOPowerConnection

Do not use IOPowerConnection. This class is an implementation detail defined for IOPM's management of the IORegistry IOPower plane.

Only Kernel IOKit power management should reference the IOPowerConnection class.

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

    Declaration

    bool childHasRequestedPower ( void );

    Discussion

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

  • Returns the awaitingAck variable.

    Declaration

    bool getAwaitingAck ( void );

    Discussion

    Called by the parent.

  • Returns the desiredDomainState variable.

    Declaration

    unsigned long getDesiredDomainState ( void );

    Discussion

    Called by the parent.

  • Returns the preventIdleSleepFlag variable.

    Declaration

    bool getPreventIdleSleepFlag ( void );

    Discussion

    Called by the parent.

  • Returns the preventSystemSleepFlag variable.

    Declaration

    bool getPreventSystemSleepFlag ( void );

    Discussion

    Called by the parent.

  • Returns the readyFlag variable.

    Declaration

    bool getReadyFlag( void ) const;

    Discussion

    Called by the parent.

  • Returns the currentPowerFlags variable.

    Declaration

    IOPMPowerFlags parentCurrentPowerFlags ( void );

  • Returns the stateKnown variable.

    Declaration

    bool parentKnowsState ( void );

  • Sets the awaitingAck variable.

    Declaration

    void setAwaitingAck ( bool );

    Discussion

    Called by the parent.

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

    Declaration

    void setChildHasRequestedPower ( void );

    Discussion

    Called by the parent.

  • Sets the desiredDomainState variable.

    Declaration

    void setDesiredDomainState ( unsigned long );

    Discussion

    Called by the parent.

  • Sets the currentPowerFlags variable.

    Declaration

    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.

  • Sets the stateKnown variable.

    Declaration

    void setParentKnowsState ( bool );

    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.

  • Sets the preventIdleSleepFlag variable.

    Declaration

    void setPreventIdleSleepFlag ( unsigned long );

    Discussion

    Called by the parent.

  • Sets the preventSystemSleepFlag variable.

    Declaration

    void setPreventSystemSleepFlag ( unsigned long );

    Discussion

    Called by the parent.

  • Sets the readyFlag variable.

    Declaration

    void setReadyFlag( bool flag );

    Discussion

    Called by the parent.

Instance Variables