Public Member Functions | Static Public Member Functions

FBLogger Class Reference

Search for all occurrences

Detailed Description

FBLogger.

Central place to query profiling results and change profiling options. Internal Debug only. Users shouldn't use this code.

Definition at line 67 of file fblogger.h.

#include <fblogger.h>

Inheritance diagram for FBLogger:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FBLogger (HIObject pObject=NULL)
 Constructor.
int GetCount () const
 Get the size of the log.
FBUnion GetAt (int pIndex) const
 GetAt - return a log entry.
bool Enable (int pTypeInfo, bool pEnable)
 Enable - enable logging for a specific type.
bool Enable (const char *pClassName, bool pEnable)
 Enable logging for a specific class ID.
void DisableClear ()
 DisableClear - disable and clear the log.

Static Public Member Functions

static FBLoggerTheOne ()
 Get the global object for this class.

Constructor & Destructor Documentation

FBLogger ( HIObject  pObject = NULL)

Constructor.

Parameters:
pObjectFor internal use only.

Member Function Documentation

int GetCount ( ) const

Get the size of the log.

Returns:
size of the log
FBUnion GetAt ( int  pIndex) const

GetAt - return a log entry.

Parameters:
pIndex- the index (< LogSize) into the log
Returns:
FBUnion value from the log
bool Enable ( int  pTypeInfo,
bool  pEnable 
)

Enable - enable logging for a specific type.

Parameters:
pTypeInfo- the static TypeInfo value for the FB class we're interested in
pEnable
Returns:
True if the class could be found.
bool Enable ( const char *  pClassName,
bool  pEnable 
)

Enable logging for a specific class ID.

Parameters:
pClassNameThe internal ID of class to be traced.
pEnable
Returns:
True if the class could be found.
void DisableClear ( )

DisableClear - disable and clear the log.

static FBLogger& TheOne ( ) [static]

Get the global object for this class.

Returns:
the global object.

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

FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger
FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger FBLogger