Mac OS X Reference Library Apple Developer Connection spyglass button

IORegistry

Technology area
Installer
Availability
Available in Mac OS X v10.4 and later.

Overview

The IORegistry object provides access to the IOKit registry. This object is accessed using the system.ioregistry property.

See I/O Kit Fundamentals for details about the IOKit registry.

Tasks

Accessing the IOKit Registry

Methods

childrenOf

Provides the children of the given IOKit object.

childrenOf(objectName)

Parameters
objectName

String with the path of the desired IOKit object or an item of an IOKit object array.

Return Value

Array of IOKit object dictionaries.

Availability
See Also

fromPath

Provides a dictionary of the properties of a given IOKit object.

fromPath(filePath)

Parameters
filePath

String with the path of the desired IOKit object.

Return Value

Dictionary of the properties of the IOKit object.

Availability

matchingClass

Provides the IOKit objects of a given class.

matchingClass(className, [servicePlane])

Parameters
className

String with an IOKit class name.

servicePlane

Optional. String with the service plane to search. When unspecified, 'IOServicePlane' is used.

Return Value

Array of IOKit object dictionaries.

Availability

matchingName

Provides the IOKit objects of the specified name.

matchingName(objectName, [servicePlane])

Parameters
objectName

String with an IOKit object name.

servicePlane

Optional. String with the service plane to search. When unspecified, 'IOServicePlane' is used.

Return Value

Array of IOKit object dictionaries.

Availability

parentsOf

Provides the parents of the given IOKit object.

childrenOf(objectName)

Parameters
objectName

String with the path of the desired IOKit object or an item of an IOKit object array.

Return Value

Array of IOKit object dictionaries.

Availability
See Also


Last updated: 2008-12-16

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