Data Members



Action

public:typedef IOReturn (*Action)(OSObject *owner, void *arg0, void *arg1, void *arg2, void *arg3);

Type and arguments of callout C function that is used when a runCommand is executed by a client. Cast to this type when you want a C++ member function to be used. Note the arg1 - arg3 parameters are straight pass through from the runCommand to the action callout.

Parameters

NameDescription
ownerTarget of the function, can be used as a refcon. The owner is set during initialisation of the IOCommandGate instance. Note if a C++ function was specified this parameter is implicitly the first paramter in the target member function's parameter list.
arg0Argument to action from run operation.
arg1Argument to action from run operation.
arg2Argument to action from run operation.
arg3Argument to action from run operation.

© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)