Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions
nsTraceRefcnt Class Reference

Note: The implementations for these methods are no-ops in a build where NS_BUILD_REFCNT_LOGGING is disabled. More...

#include <nsTraceRefcnt.h>

List of all members.

Static Public Member Functions

static NS_COM_GLUE void LogAddRef (void *aPtr, nsrefcnt aNewRefCnt, const char *aTypeName, PRUint32 aInstanceSize)
static NS_COM_GLUE void LogRelease (void *aPtr, nsrefcnt aNewRefCnt, const char *aTypeName)
static NS_COM_GLUE void LogCtor (void *aPtr, const char *aTypeName, PRUint32 aInstanceSize)
static NS_COM_GLUE void LogDtor (void *aPtr, const char *aTypeName, PRUint32 aInstanceSize)
static NS_COM_GLUE void LogAddCOMPtr (void *aCOMPtr, nsISupports *aObject)
static NS_COM_GLUE void LogReleaseCOMPtr (void *aCOMPtr, nsISupports *aObject)

Detailed Description

Note: The implementations for these methods are no-ops in a build where NS_BUILD_REFCNT_LOGGING is disabled.

Definition at line 113 of file nsTraceRefcnt.h.


Member Function Documentation

NS_COM_GLUE void nsTraceRefcnt::LogAddCOMPtr ( void aCOMPtr,
nsISupports *  aObject 
) [static]

Definition at line 111 of file nsTraceRefcnt.cpp.

{
  if (!ENSURE_TRACEOBJECT)
    return;
  gTraceRefcntObject->LogAddCOMPtr(aPtr, aObject);
}

Here is the caller graph for this function:

NS_COM_GLUE void nsTraceRefcnt::LogAddRef ( void aPtr,
nsrefcnt  aNewRefCnt,
const char *  aTypeName,
PRUint32  aInstanceSize 
) [static]

Definition at line 79 of file nsTraceRefcnt.cpp.

{
  if (!ENSURE_TRACEOBJECT)
    return;
  gTraceRefcntObject->LogAddRef(aPtr, aNewRefcnt, aTypeName, aInstanceSize);
}
NS_COM_GLUE void nsTraceRefcnt::LogCtor ( void aPtr,
const char *  aTypeName,
PRUint32  aInstanceSize 
) [static]

Definition at line 95 of file nsTraceRefcnt.cpp.

{
  if (!ENSURE_TRACEOBJECT)
    return;
  gTraceRefcntObject->LogCtor(aPtr, aTypeName, aInstanceSize);
}
NS_COM_GLUE void nsTraceRefcnt::LogDtor ( void aPtr,
const char *  aTypeName,
PRUint32  aInstanceSize 
) [static]

Definition at line 103 of file nsTraceRefcnt.cpp.

{
  if (!ENSURE_TRACEOBJECT)
    return;
  gTraceRefcntObject->LogDtor(aPtr, aTypeName, aInstanceSize);
}
NS_COM_GLUE void nsTraceRefcnt::LogRelease ( void aPtr,
nsrefcnt  aNewRefCnt,
const char *  aTypeName 
) [static]

Definition at line 87 of file nsTraceRefcnt.cpp.

{
  if (!ENSURE_TRACEOBJECT)
    return;
  gTraceRefcntObject->LogRelease(aPtr, aNewRefcnt, aTypeName);
}
NS_COM_GLUE void nsTraceRefcnt::LogReleaseCOMPtr ( void aCOMPtr,
nsISupports *  aObject 
) [static]

Definition at line 119 of file nsTraceRefcnt.cpp.

{
  if (!ENSURE_TRACEOBJECT)
    return;
  gTraceRefcntObject->LogReleaseCOMPtr(aPtr, aObject);
}

The documentation for this class was generated from the following files: