CVoipEventLogEngine Class Reference

class CVoipEventLogEngine : public CBase

Engine class for VoIP event log API. CVoipEventLogEngine do the real work for reading and writing error from/to central repository

voipeventlog.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CVoipEventLogEngine()

CVoipEventLogEngine()[private]

C++ default constructor.

~CVoipEventLogEngine()

~CVoipEventLogEngine()

Destructor.

Member Functions Documentation

BeginTransactionLC()

voidBeginTransactionLC()

Starts transaction in central repository

Since
S60 v3.2

CommitTransactionL()

voidCommitTransactionL()

Commits changes in repository

Since
S60 v3.2

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoReleaseSemaphore()

voidDoReleaseSemaphore()[private]

release semaphore

Since
S60 v3.2

ErrorCountL(TInt &)

voidErrorCountL(TInt &aCount)

Reads error count from the log

Since
S60 v3.2

Parameters

TInt & aCount

GenerateTimeStampL(TDes &)

voidGenerateTimeStampL(TDes &aTimeStamp)const [private]

Generate time stamp with current time

Since
S60 v3.2

Parameters

TDes & aTimeStamp

GetLatestIndexL()

TInt GetLatestIndexL()[private]

Get latest index number

Since
S60 v3.2

GetMaxErrorCountL()

TInt GetMaxErrorCountL()[private]

Get maximum error count

Since
S60 v3.2

GetNewIndexL()

TInt GetNewIndexL()[private]

Get new index number

Since
S60 v3.2

NewL()

CVoipEventLogEngine *NewL()[static]

Two-phased constructor.

NewLC()

CVoipEventLogEngine *NewLC()[static]

ReadErrorL(TInt, CVoipErrorEntry &)

voidReadErrorL(TIntaIndex,
CVoipErrorEntry &aErrorEntry
)

Reads an error informaiton from the log

Since
S60 v3.2

Parameters

TInt aIndexthe index of error to be read
CVoipErrorEntry & aErrorEntryin return, error information corresponding to aIndex

ReleaseSemaphore(TAny *)

voidReleaseSemaphore(TAny *aEngine)[private, static]

release semaphore, this function is used in custom cleanup

Since
S60 v3.2

Parameters

TAny * aEnginepointer to an object which is the target of the cleanup operation

ResetLogHistory()

TInt ResetLogHistory()

Reset all erros from the central repository.

Since
S60 v3.2

WriteErrorL(const CVoipErrorEntry &)

voidWriteErrorL(const CVoipErrorEntry &aErrorEntry)

Writes an error data to event log

Since
S60 v3.2

Parameters

const CVoipErrorEntry & aErrorEntryError information

Member Data Documentation

CRepository * iRepository

CRepository *iRepository[private]

Central Repository object. Own.

RSemaphore iSemaphore

RSemaphore iSemaphore[private]

RSemaphore object. Own.