ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOHIDEventService.h

Includes:

Overview



Classes

IOHIDPointing


Functions

handleStart

Prepare the hardware and driver to support I/O operations.

handleStop

Quiesce the hardware and stop the driver.


handleStart


Prepare the hardware and driver to support I/O operations.

virtual bool handleStart(
    IOService *provider );  
Parameters
provider

The provider argument passed to start().

Return Value

True on success, or false otherwise. Returning false will cause start() to fail and return false.

Discussion

IOHIDEventService will call this method from start() before any I/O operations are issued to the concrete subclass. Methods such as getReportElements() are only called after handleStart() has returned true. A subclass that overrides this method should begin its implementation by calling the version in super, and then check the return value.


handleStop


Quiesce the hardware and stop the driver.

virtual void handleStop(
    IOService *provider );  
Parameters
provider

The provider argument passed to stop().

Discussion

IOHIDEventService will call this method from stop() to signal that the hardware should be quiesced and the driver stopped. A subclass that overrides this method should end its implementation by calling the version in super.

Globals


_reserved


See Also:

reserved

ExpansionData * _reserved;  
Discussion

Reserved for future use. (Internal use only)


reserved


See Also:

_reserved

ExpansionData * _reserved;  
Discussion

Reserved for future use. (Internal use only)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19