|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access I/O Kit Framework Reference
|
IOFireWireIsochChannelInterface |
| Declared In: |
FireWire user client isochronous channel object.
IOFireWireIsochChannelInterface is an abstract representataion of a FireWire bus isochronous channel. This interface coordinates starting and stopping traffic on a FireWire bus isochronous channel and can optionally communicate with the IRM to automatically allocate bandwidth and channel numbers. When using automatic IRM allocation, the channel interface reallocates its bandwidth and channel reservation after each bus reset.
Isochronous port interfaces representing FireWire isochronous talkers and listeners must be added to the channel using SetTalker() and AddListener()
Modify the transfer size of a transfer packet DCL (send or receive)
Prepare all hardware to begin sending or receiving isochronous data.
Set reference value associated with this channel.
Release all hardware after stopping the isochronous channel.
Set the channel force stop handler.
Set reference value associated with this channel.
Set the talker port for this channel.
Start the channel.
Stop the channel.
AddListener |
Modify the transfer size of a transfer packet DCL (send or receive)
IOReturn ( *AddListener) ( IOFireWireLibIsochChannelRef self, IOFireWireLibIsochPortRef listener );
selfThe isoch channel interface to use.
listenerThe listener to add.
Returns an IOReturn error code.
Allows you to modify transfer packet DCLs after they have been compiled and while the DCL program is still running. The transfer size can be set to any size less than or equal to the size set when the DCL program was compiled (including 0).
Availability: IOFireWireLocalIsochPortInterface_v3 and newer.
AllocateChannel |
Prepare all hardware to begin sending or receiving isochronous data.
IOReturn ( *AllocateChannel) ( IOFireWireLibIsochChannelRef self );
selfThe isoch channel interface to use.
Returns an IOReturn error code.
Calling this function will result in all listener and talker ports on this isochronous channel having their AllocatePort method called.
ClientCommandIsComplete |
void ( *ClientCommandIsComplete) ( IOFireWireLibIsochChannelRef self, FWClientCommandID commandID, IOReturn status);
Description forthcoming
GetRefCon |
Set reference value associated with this channel.
void* ( *GetRefCon) ( IOFireWireLibIsochChannelRef self);
selfThe isoch channel interface to use.
Retrieve the reference value with SetRefCon()
NotificationIsOn |
Boolean ( *NotificationIsOn) ( IOFireWireLibIsochChannelRef self);
Description forthcoming
ReleaseChannel |
Release all hardware after stopping the isochronous channel.
IOReturn ( *ReleaseChannel) ( IOFireWireLibIsochChannelRef self );
selfThe isoch channel interface to use.
Returns an IOReturn error code.
Calling this function will result in all listener and talker ports on this isochronous channel having their ReleasePort method called.
SetChannelForceStopHandler |
Set the channel force stop handler.
IOFireWireIsochChannelForceStopHandler ( *SetChannelForceStopHandler) ( IOFireWireLibIsochChannelRef self, IOFireWireIsochChannelForceStopHandler stopProc);
selfThe isoch channel interface to use.
stopProcThe handler to set.
Returns the previously set handler or NULL is no handler was set.
The specified callback is called when the channel is stopped and cannot be restarted automatically.
SetRefCon |
Set reference value associated with this channel.
selfThe isoch channel interface to use.
stopProcRefConThe new reference value.
Retrieve the reference value with GetRefCon()
SetTalker |
Set the talker port for this channel.
IOReturn ( *SetTalker) ( IOFireWireLibIsochChannelRef self, IOFireWireLibIsochPortRef talker );
selfThe isoch channel interface to use.
talkerThe new talker.
Returns an IOReturn error code.
Start |
Start the channel.
IOReturn ( *Start) ( IOFireWireLibIsochChannelRef self );
selfThe isoch channel interface to use.
Returns an IOReturn error code.
Calling this function will result in all listener and talker ports on this isochronous channel having their Start method called.
Stop |
Stop the channel.
IOReturn ( *Stop) ( IOFireWireLibIsochChannelRef self );
selfThe isoch channel interface to use.
Returns an IOReturn error code.
Calling this function will result in all listener and talker ports on this isochronous channel having their Stop method called.
TurnOffNotification |
void ( *TurnOffNotification) ( IOFireWireLibIsochChannelRef self);
Description forthcoming
TurnOnNotification |
Boolean ( *TurnOnNotification) ( IOFireWireLibIsochChannelRef self);
Description forthcoming
revision |
UInt32 revision;
Interface revision.
version |
UInt32 version;
Interface version.
Last Updated: 2009-10-15