Mac Developer Library

Developer

IOFireWirePCRSpace Class Reference

Options
Deployment Target:

On This Page
Language:

IOFireWirePCRSpace

object to multiplex users of the PCR plug registers

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Availability


Available in OS X v10.2 and later.
  • allocates an input plug.

    Declaration

    C++

    virtual IOReturn allocateInputPlug( void *refcon, IOFireWirePCRCallbackfunc, UInt32 &plug);

    Parameters

    refcon

    arbitrary value passed back as first argument of callback.

    func

    callback function when a successful lock transaction to the plug has been performed

    plug

    set to the plug number if a plug is successfully allocated

  • allocates an output plug.

    Declaration

    C++

    virtual IOReturn allocateOutputPlug( void *refcon, IOFireWirePCRCallbackfunc, UInt32 &plug);

    Parameters

    refcon

    arbitrary value passed back as first argument of callback.

    func

    callback function when a successful lock transaction to the plug has been performed

    plug

    set to the plug number if a plug is successfully allocated

  • Declaration

    C++

    virtual void clearAllP2PConnections( void);

  • deallocates an input plug.

    Declaration

    C++

    virtual void freeInputPlug( UInt32plug);

    Parameters

    plug

    value returned by allocateInputPlug.

  • deallocates an output plug.

    Declaration

    C++

    virtual void freeOutputPlug( UInt32plug);

    Parameters

    plug

    value returned by allocateOutputPlug.

  • returns the IOFireWirePCRSpace object for the given FireWire bus

    Declaration

    C++

    static IOFireWirePCRSpace *getPCRAddressSpace( IOFireWireBus *bus);

    Parameters

    bus

    The FireWire bus

  • initializes the IOFireWirePCRSpace object

    Declaration

    C++

    virtual bool init( IOFireWireBus *bus);

  • returns the current value of the input master plug.

    Declaration

    C++

    virtual UInt32 readInputMasterPlug();

  • returns the current value of an input plug.

    Declaration

    C++

    virtual UInt32 readInputPlug( UInt32plug);

    Parameters

    plug

    value returned by allocateInputPlug.

  • returns the current value of the output master plug.

    Declaration

    C++

    virtual UInt32 readOutputMasterPlug();

  • returns the current value of an output plug.

    Declaration

    C++

    virtual UInt32 readOutputPlug( UInt32plug);

    Parameters

    plug

    value returned by allocateOutputPlug.

  • Declaration

    C++

    virtual void setAVCTargetSpacePointer( IOFireWireAVCTargetSpace *pAVCTargetSpace);

  • updates the value of the master input plug (simulating a lock transaction).

    Declaration

    C++

    virtual IOReturn updateInputMasterPlug( UInt32oldVal, UInt32newVal);

    Parameters

    oldVal

    value returned by readInputMasterPlug.

    newVal

    new value to store in plug if it's current value is oldVal.

  • updates the value of an input plug (simulating a lock transaction).

    Declaration

    C++

    virtual IOReturn updateInputPlug( UInt32plug, UInt32oldVal, UInt32newVal);

    Parameters

    plug

    value returned by allocateInputPlug.

    oldVal

    value returned by readInputPlug.

    newVal

    new value to store in plug if it's current value is oldVal.

  • updates the value of the master output plug (simulating a lock transaction).

    Declaration

    C++

    virtual IOReturn updateOutputMasterPlug( UInt32oldVal, UInt32newVal);

    Parameters

    oldVal

    value returned by readOutputMasterPlug.

    newVal

    new value to store in plug if it's current value is oldVal.

  • updates the value of an output plug (simulating a lock transaction).

    Declaration

    C++

    virtual IOReturn updateOutputPlug( UInt32plug, UInt32oldVal, UInt32newVal);

    Parameters

    plug

    value returned by allocateOutputPlug.

    oldVal

    value returned by readOutputPlug.

    newVal

    new value to store in plug if it's current value is oldVal.

Data Types

  • Declaration

    C++

    struct ExpansionData { };

    Discussion

    This structure will be used to expand the capablilties of the class in the future.

Instance Variables

  • Reserved for future use. (Internal use only)

    Declaration

    C++

    ExpansionData *reserved;