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()

void BeginTransactionLC ( )

Starts transaction in central repository

Since
S60 v3.2

CommitTransactionL()

void CommitTransactionL ( )

Commits changes in repository

Since
S60 v3.2

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoReleaseSemaphore()

void DoReleaseSemaphore ( ) [private]

release semaphore

Since
S60 v3.2

ErrorCountL(TInt &)

void ErrorCountL ( TInt & aCount )

Reads error count from the log

Since
S60 v3.2

Parameters

TInt & aCount

GenerateTimeStampL(TDes &)

void GenerateTimeStampL ( 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 &)

void ReadErrorL ( TInt aIndex,
CVoipErrorEntry & aErrorEntry
)

Reads an error informaiton from the log

Since
S60 v3.2

Parameters

TInt aIndex the index of error to be read
CVoipErrorEntry & aErrorEntry in return, error information corresponding to aIndex

ReleaseSemaphore(TAny *)

void ReleaseSemaphore ( TAny * aEngine ) [private, static]

release semaphore, this function is used in custom cleanup

Since
S60 v3.2

Parameters

TAny * aEngine pointer 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 &)

void WriteErrorL ( const CVoipErrorEntry & aErrorEntry )

Writes an error data to event log

Since
S60 v3.2

Parameters

const CVoipErrorEntry & aErrorEntry Error information

Member Data Documentation

CRepository * iRepository

CRepository * iRepository [private]

Central Repository object. Own.

RSemaphore iSemaphore

RSemaphore iSemaphore [private]

RSemaphore object. Own.