CSuplTrace Class Reference

class CSuplTrace : public CBase

Provides functionality to write trace output to debug output (serial port in ARMI case) or predefined file.

Inherits from

Constructor & Destructor Documentation

CSuplTrace()

CSuplTrace()[private]

C++ default constructor.

CSuplTrace(const CSuplTrace &)

CSuplTrace(const CSuplTrace &)[private]

Parameters

const CSuplTrace &

~CSuplTrace()

IMPORT_C~CSuplTrace()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default EPOC constructor is private.

ConstructL(const TDesC &, const TDesC &)

voidConstructL(const TDesC &aTraceLogDir,
const TDesC &aTraceLogFile
)[private]

By default EPOC constructor is private.

Parameters

const TDesC & aTraceLogDir
const TDesC & aTraceLogFile

Log(const TDesC &, const TDesC &, TRefByValue< const TDesC >, ...)

IMPORT_C voidLog(const TDesC &aTraceLogDir,
const TDesC &aTraceLogFile,
TRefByValue< const TDesC >aFmt,
...
)[static]

Static trace

Parameters

const TDesC & aTraceLogDirTrace log folder under c:
const TDesC & aTraceLogFileTrace log file under aTraceLogDir
TRefByValue< const TDesC > aFmtFormat of the trace string followed by the list of parameters.
...

NewL()

IMPORT_C CSuplTrace *NewL()[static]

Two-phased constructor.

NewL(const TDesC &, const TDesC &)

IMPORT_C CSuplTrace *NewL(const TDesC &aTraceLogDir,
const TDesC &aTraceLogFile
)[static]

Two-phased constructor. Takes parameters for Log directory and file. The Log directory is relative to C:

Parameters

const TDesC & aTraceLogDir
const TDesC & aTraceLogFile

TraceL(const TDesC &, const TDesC &, const TInt)

IMPORT_C voidTraceL(const TDesC &aDescription,
const TDesC &aFilename =  KPosTraceDefaultTracedFile ,
const TIntaLineNumber = 0
)

Specify a trace

Parameters

const TDesC & aDescriptionDescription of the trace
const TDesC & aFilename =  KPosTraceDefaultTracedFile may NOT specify __FILE__
const TInt aLineNumber = 0may specify __LINE__

operator=(const CSuplTrace &)

CSuplTrace &operator=(const CSuplTrace &)[private]

Parameters

const CSuplTrace &