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.

Constructor & Destructor Documentation

TTraceContext(const TClassification)

TTraceContext(const TClassificationaClassification)[inline]

Parameters

const TClassification aClassification

TTraceContext(const TClassification, const THasThreadIdentification, const THasProgramCounter)

TTraceContext(const TClassificationaClassification,
const THasThreadIdentificationaHasThreadIdentification,
const THasProgramCounteraHasProgramCounter
)[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 aHasThreadIdentificationSet whether to add thread identification automatically in the trace packet.
const THasProgramCounter aHasProgramCounterSet whether to add PC (program counter) automatically in the trace packet.

TTraceContext(const TModuleUid, const TClassification)

TTraceContext(const TModuleUidaModuleUid,
const TClassificationaClassification
)[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 TModuleUidaModuleUid,
const TClassificationaClassification,
const THasThreadIdentificationaHasThreadIdentification,
const THasProgramCounteraHasProgramCounter
)[inline]

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

TModuleUid TClassification

Parameters

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

TTraceContext()

TTraceContext()[private, inline]

Member Functions Documentation

Classification()

IMPORT_C TClassificationClassification()const

Get the current classification

DefaultModuleUid()

IMPORT_C TModuleUidDefaultModuleUid()[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 THasProgramCounterHasProgramCounter()const

Check if PC will be added by default.

HasThreadIdentification()

IMPORT_C THasThreadIdentificationHasThreadIdentification()const

Check if thread identification will be added by default.

ModuleUid()

IMPORT_C TModuleUidModuleUid()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]