UTF::TTraceContext Class Reference

class UTF::TTraceContext

Class used to encapsulate the context of a trace point. For more information about the attributes please e32utrace_basic_types.h.

Public Member Functions
TTraceContext (const TClassification )
TTraceContext (const TClassification , const THasThreadIdentification , const THasProgramCounter )
TTraceContext (const TModuleUid , const TClassification )
TTraceContext (const TModuleUid , const TClassification , const THasThreadIdentification , const THasProgramCounter )
IMPORT_C TClassification Classification ()
IMPORT_C TModuleUid DefaultModuleUid ()
IMPORT_C THasProgramCounter HasProgramCounter ()
IMPORT_C THasThreadIdentification HasThreadIdentification ()
IMPORT_C TModuleUid ModuleUid ()
Private Member Functions
TTraceContext ()
Private Attributes
TClassification iClassification
THasProgramCounter iHasProgramCounter
THasThreadIdentification iHasThreadIdentification
TModuleUid iModuleUid
TUint32 iReserved1
TUint32 iReserved2

Constructor & Destructor Documentation

TTraceContext(const TClassification)

TTraceContext ( const TClassification aClassification ) [inline]

Parameters

const TClassification aClassification

TTraceContext(const TClassification, const THasThreadIdentification, const THasProgramCounter)

TTraceContext ( const TClassification aClassification,
const THasThreadIdentification aHasThreadIdentification,
const THasProgramCounter aHasProgramCounter
) [inline]

Define the context of a trace packet by setting its attributes.

The module UID is defaulted according to the FW_DEFAULT_MODULEUID definition.

TClassification

Parameters

const TClassification aClassification
const THasThreadIdentification aHasThreadIdentification Set whether to add thread identification automatically in the trace packet.
const THasProgramCounter aHasProgramCounter Set whether to add PC (program counter) automatically in the trace packet.

TTraceContext(const TModuleUid, const TClassification)

TTraceContext ( const TModuleUid aModuleUid,
const TClassification aClassification
) [inline]

Define the context of a trace packet by setting its attributes.

The HasThreadIdentification is defaulted to the FW_DEFAULT_HAS_THREAD_IDENTIFICATION definition. The HasProgramCounter is defaulted to the FW_DEFAULT_HAS_PC definition.

TModuleUid TClassification

Parameters

const TModuleUid aModuleUid
const TClassification aClassification

TTraceContext(const TModuleUid, const TClassification, const THasThreadIdentification, const THasProgramCounter)

TTraceContext ( const TModuleUid aModuleUid,
const TClassification aClassification,
const THasThreadIdentification aHasThreadIdentification,
const THasProgramCounter aHasProgramCounter
) [inline]

Define the context of a trace packet by setting its attributes.

TModuleUid TClassification

Parameters

const TModuleUid aModuleUid
const TClassification aClassification
const THasThreadIdentification aHasThreadIdentification Set whether to add thread identification automatically in the trace packet.
const THasProgramCounter aHasProgramCounter Set whether to add PC (program counter) automatically in the trace packet.

TTraceContext()

TTraceContext ( ) [private, inline]

Member Functions Documentation

Classification()

IMPORT_C TClassification Classification ( ) const

Get the current classification

DefaultModuleUid()

IMPORT_C TModuleUid DefaultModuleUid ( ) [static]

This method currently returns 0 until a fix is provided for: DPDEF110067 [Trace STP][ADP37] No Way for The Secondary Category to Be Set To Default DEF119891 [TraceSTP] 1.4.1 Default the ModuleUid This will in the future return the UID3 of the executable.

HasProgramCounter()

IMPORT_C THasProgramCounter HasProgramCounter ( ) const

Check if PC will be added by default.

HasThreadIdentification()

IMPORT_C THasThreadIdentification HasThreadIdentification ( ) const

Check if thread identification will be added by default.

ModuleUid()

IMPORT_C TModuleUid ModuleUid ( ) const

Get the current module Uid

Member Data Documentation

TClassification iClassification

TClassification iClassification [private]

THasProgramCounter iHasProgramCounter

THasProgramCounter iHasProgramCounter [private]

THasThreadIdentification iHasThreadIdentification

THasThreadIdentification iHasThreadIdentification [private]

TModuleUid iModuleUid

TModuleUid iModuleUid [private]

TUint32 iReserved1

TUint32 iReserved1 [private]

TUint32 iReserved2

TUint32 iReserved2 [private]