IOCommand

Inherits from
OSObject
Availability
Available in OS X v10.6 and later.
Declared in
IOCommand.h

Overview

This class is an abstract class which represents an I/O command.

This class is an abstract class which represents an I/O command passed from a device driver to a controller. All controller commands (e.g. IOATACommand) should inherit from this class.

Instance Variables

fCommandChain

queue_chain_t fCommandChain;

This variable is used by the current 'owner' to queue the command. During the life cycle of a command it moves through a series of queues. This is the queue pointer for it. Only valid while 'ownership' is clear. For instance a IOCommandPool uses this pointer to maintain its list of free commands. May be manipulated using the kern/queue.h macros