Location:
logwrap.h
Link against: logwrap.lib
CLogBase
Supported from 6.0
Base class for the log engine implementation.
This class defines the interface that client code uses to perform simple actions on the log database.
The class provides default implementations for the event handling
functions. The Log Engine, i.e. an instance of CLogClient
, is
derived from this class and provides implementations for the event handling
functions.
The class also deals with some aspects of resource file handling.
An instance of this class is constructed by the log wrapper,
CLogWrapper
, if the underlying DFRD does not implement
logging.
An instance of this class is never constructed by clients.
|
Defined in CLogBase
:
AddEvent()
, CLogBase()
, ChangeEvent()
, DeleteEvent()
, GetEvent()
, GetString()
, ~CLogBase()
Inherited from CActive
:
Cancel()
,
Deque()
,
DoCancel()
,
EPriorityHigh
,
EPriorityIdle
,
EPriorityLow
,
EPriorityStandard
,
EPriorityUserInput
,
IsActive()
,
IsAdded()
,
Priority()
,
RunError()
,
RunL()
,
SetActive()
,
SetPriority()
,
TPriority
,
iStatus
Inherited from CBase
:
operator new()
CLogBase(TInt aPriority);
Sets the priority of this active object.
|
~CLogBase();
Fees all resources owned by the object prior to its destruction. In particular it closes the resource file reader.
virtual void GetEvent(CLogEvent& aEvent, TRequestStatus& aStatus);
Gets the details of an existing event. This is an asynchronous request.
This function is overridden by log engine implementations.
|
virtual void AddEvent(CLogEvent& aEvent, TRequestStatus& aStatus);
Adds an event to the log database. This is an asynchronous request.
This function is overridden by log engine implementations.
|
virtual void ChangeEvent(const CLogEvent& aEvent, TRequestStatus& aStatus);
Changes the details of an existing event. This is an asynchronous request.
This function is overridden by log engine implementations.
|
virtual void DeleteEvent(TLogId aId, TRequestStatus& aStatus);
Deletes an event from the log. This is an asynchronous request.
This function is overridden by log engine implementations.
|
virtual TInt GetString(TDes& aString, TInt aId) const;
Gets a standard string from the logwrap.dll
resource
file.
This function is overridden by log engine implementations.
|
|