CommsFW::CWorkerThreadRegister Class Reference

class CommsFW::CWorkerThreadRegister : public CBase

Inherits from

  • CommsFW::CWorkerThreadRegister

Constructor & Destructor Documentation

CWorkerThreadRegister(TWorkerId, CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *)

CWorkerThreadRegister(TWorkerIdaSelfId,
CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *aGlobalThreadRegister
)[private, inline]

Parameters

TWorkerId aSelfId
CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > * aGlobalThreadRegister

Member Functions Documentation

GetSelfWorkerGlobals()

TWTD *GetSelfWorkerGlobals()const [inline]

GetWorkerGlobals(TWorkerId)

TWTD *GetWorkerGlobals(TWorkerIdaWorker)const [inline]

Parameters

TWorkerId aWorker

NewL(TWorkerId, CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *)

CWorkerThreadRegister< TWTD, TUpperThreadIdBound > *NewL(TWorkerIdaSelfId,
CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *aGlobalThreadRegister
)[static, inline]

Parameters

TWorkerId aSelfId
CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > * aGlobalThreadRegister

PanicWorker(TWorkerId, const TDesC &, TInt)

voidPanicWorker(TWorkerIdaWorkerId,
const TDesC &aCategory,
TIntaReason
)const [inline]

Parameters

TWorkerId aWorkerId
const TDesC & aCategory
TInt aReason

SelfWorkerId()

TWorkerId SelfWorkerId()const [inline]

SetGlobalThreadRegister(CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *)

voidSetGlobalThreadRegister(CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *aGlobalThreadRegister)[inline]

Parameters

CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > * aGlobalThreadRegister

UpperBoundWorkerId()

TWorkerId UpperBoundWorkerId()const [inline]

WorkerHeap(TWorkerId)

RAllocator &WorkerHeap(TWorkerIdaWorkerId)const [inline]

Parameters

TWorkerId aWorkerId

WorkerPresent(TWorkerId)

TBool WorkerPresent(TWorkerIdaWorkerId)const [inline]

Parameters

TWorkerId aWorkerId

Member Data Documentation

CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > * iGlobals

CWorkerThreadDataGlobals< TWTD, TUpperThreadIdBound > *iGlobals[private]

TWorkerId iSelfId

TWorkerId iSelfId[private]