ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOPowerConnection |
Inherits from: | |
Declared In: |
Return the flag that says whether the child has called requestPowerDomainState.
Returns the awaitingAck variable.
Returns the desiredDomainState variable.
Returns the preventIdleSleepFlag variable.
Returns the preventSystemSleepFlag variable.
Returns the readyFlag variable.
Returns the currentPowerFlags variable.
Returns the stateKnown variable.
Sets the awaitingAck variable.
Sets the flag that says that the child has called requestPowerDomainState.
Sets the desiredDomainState variable.
Sets the currentPowerFlags variable.
Sets the stateKnown variable.
Sets the preventIdleSleepFlag variable.
Sets the preventSystemSleepFlag variable.
Sets the readyFlag variable.
childHasRequestedPower |
Return the flag that says whether the child has called requestPowerDomainState.
public
bool childHasRequestedPower ( void );
Called by the PCI Aux Power Supply Driver to see if a device driver is power managed.
getAwaitingAck |
Returns the awaitingAck variable.
public
bool getAwaitingAck ( void );
Called by the parent.
getDesiredDomainState |
Returns the desiredDomainState variable.
public
unsigned long getDesiredDomainState ( void );
Called by the parent.
getPreventIdleSleepFlag |
Returns the preventIdleSleepFlag variable.
public
bool getPreventIdleSleepFlag ( void );
Called by the parent.
getPreventSystemSleepFlag |
Returns the preventSystemSleepFlag variable.
public
bool getPreventSystemSleepFlag ( void );
Called by the parent.
getReadyFlag |
Returns the readyFlag variable.
public
bool getReadyFlag( void ) const;
Called by the parent.
parentCurrentPowerFlags |
Returns the currentPowerFlags variable.
public
IOPMPowerFlags parentCurrentPowerFlags ( void );
parentKnowsState |
Returns the stateKnown variable.
public
bool parentKnowsState ( void );
setAwaitingAck |
Sets the awaitingAck variable.
public
void setAwaitingAck ( bool );
Called by the parent.
setChildHasRequestedPower |
Sets the flag that says that the child has called requestPowerDomainState.
public
void setChildHasRequestedPower ( void );
Called by the parent.
setDesiredDomainState |
Sets the desiredDomainState variable.
public
void setDesiredDomainState ( unsigned long );
Called by the parent.
setParentCurrentPowerFlags |
Sets the currentPowerFlags variable.
public
void setParentCurrentPowerFlags ( IOPMPowerFlags );
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.
public
void setParentKnowsState ( bool );
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.
public
void setPreventIdleSleepFlag ( unsigned long );
Called by the parent.
setPreventSystemSleepFlag |
Sets the preventSystemSleepFlag variable.
public
void setPreventSystemSleepFlag ( unsigned long );
Called by the parent.
setReadyFlag |
Sets the readyFlag variable.
public
void setReadyFlag( bool flag );
Called by the parent.
awaitingAck |
protected
bool awaitingAck;
True if child has not yet acked our notification; used by parent.
currentPowerFlags |
protected
IOPMPowerFlags currentPowerFlags;
Power flags which describe the current state of the power domain used by child.
desiredDomainState |
protected
unsigned long desiredDomainState;
State number which corresponds to the child's desire; used by parent.
parentKnowsState |
protected
bool stateKnown;
True: parent knows state of its domain used by child.
preventIdleSleepFlag |
protected
unsigned long preventIdleSleepFlag;
True if child has this bit set in its desired state; used by parent.
preventSystemSleepFlag |
protected
unsigned long preventSystemSleepFlag;
True if child has this bit set in its desired state; used by parent.
readyFlag |
protected
bool readyFlag;
readyFlag
true if the child has been added as a power child used by parent
requestFlag |
protected
bool requestFlag;
Set to true when desiredDomainState is set.
stateKnown |
protected
bool stateKnown;
True: parent knows state of its domain used by child.
|
Last Updated: 2008-12-19