Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
IOPrintSuperClasses
Last Revision: | Version 1.1, 2005-08-17 Updated to produce a universal binary. No code changes were required. Separately, updated to use IOObjectCopySuperclassForClass, which was introduced in Mac OS X 10.4. |
Build Requirements: | Xcode 2.1 |
Runtime Requirements: | Mac OS X 10.2 or later |
The sample is a trivial example of using the I/O Kit registry, but it also represents a useful tool for exploring the I/O Kit class hierarchy. Given the name of a class, this tool will print all of the super-classes of that class. For example, if you ask it for the super-classes of IOUSBInterface, the tool will print IOUSBNub, IORegistryEntry, IOService, and OSObject.
Copyright © 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-08-17