Interface nsILoadGroupChildType

nsILoadGroupChild provides a hierarchy of load groups so that the root load group can be used to conceptually tie a series of loading operations into a logical whole while still leaving them separate for the purposes of cancellation and status events.

Hierarchy

Properties

childLoadGroup: nsILoadGroup

The nsILoadGroup associated with this nsILoadGroupChild

parentLoadGroup: nsILoadGroup

The parent of this load group. It is stored with a nsIWeakReference/nsWeakPtr so there is no requirement for the parentLoadGroup to out live the child, nor will the child keep a reference count on the parent.

rootLoadGroup: nsILoadGroup

The rootLoadGroup is the recursive parent of this load group where parent is defined as parentlLoadGroup if set or childLoadGroup.loadGroup as a backup. (i.e. parentLoadGroup takes precedence.) The nsILoadGroup child is the root if neither parent nor loadgroup attribute is specified.

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

Generated using TypeDoc