Instance Property

SetTarget

Set command target address

Declaration

void (*SetTarget)(IOFireWireLibCommandRef self, const FWAddress *addr);

Parameters

self

The command object interface of interest

addr

A pointer to an FWAddress.

Discussion

Availability: (for interfaces obtained with ID)

kIOFireWireAsyncStreamCommandInterfaceID NO

kIOFireWireCompareSwapCommandInterfaceID YES

kIOFireWireWriteQuadletCommandInterfaceID YES

kIOFireWireReadQuadletCommandInterfaceID YES

kIOFireWireWriteCommandInterfaceID_v2 YES

kIOFireWireWriteCommandInterfaceID YES

kIOFireWireReadCommandInterfaceID_v2 YES

kIOFireWireReadCommandInterfaceID YES

See Also

Miscellaneous

Cancel

Cancel command execution

DidLock

Was the last lock operation successful?

GetStatus

Return command completion status.

GetTargetAddress

Get command target address.

GetTransferredBytes

Return number of bytes transferred by this command object when it last completed execution.

IsExecuting

Is this command object currently executing?

Locked

Get the 32-bit value returned on the last compare swap operation.

Locked64

Get the 64-bit value returned on the last compare swap operation.

SetCallback

Set the completion handler to be called once the command completes asynchronous execution .

SetFlags

Set flags governing this command's execution.

SetGeneration

Set FireWire bus generation for which the command object shall be valid. If the failOnReset attribute has been set, the command will only be considered for execution during the bus generation specified by this function.

SetRefCon

Set the user refCon value. This is the user defined value that will be passed in the refCon argument to the completion function.

SetValues

Set values for 32-bit compare swap operation. Calling this function will make the command object perform 32-bit compare swap transactions on the bus. To perform 64-bit compare swap operations, use the SetValues64() call, below.

SetValues64

Set values for 64-bit compare swap operation. Calling this function will make the command object perform 64-bit compare swap transactions on the bus. To perform 32-bit compare swap operations, use the SetValues() call, above.

SubmitWithRefconAndCallback

Set the command refCon value and callback handler, and submit the command to FireWire for execution.