Location:
LOGWRAP.H
Link against: logstub.lib
Link against: logwrap.lib
class CLogBase : public CLogActive;
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 phone does not implement logging.
An instance of this class is never constructed by clients.
CBase
- Base class for all classes to be instantiated on the heap
CActive
- The core class of the active object abstraction
CLogActive
- Common active object behaviour
CLogBase
- Base class for the log engine implementation
Defined in CLogBase
:
AddEvent()
, CLogBase()
, CLogBase_Reserved1()
, ChangeEvent()
, DeleteEvent()
, DoRunL()
, GetEvent()
, GetString()
, LoadResourcesL()
, ResourceFile()
, ~CLogBase()
Inherited from CActive
:
Cancel()
,
Deque()
,
EPriorityHigh
,
EPriorityIdle
,
EPriorityLow
,
EPriorityStandard
,
EPriorityUserInput
,
Extension_()
,
IsActive()
,
IsAdded()
,
Priority()
,
RunError()
,
SetActive()
,
SetPriority()
,
TPriority
,
iStatus
Inherited from CBase
:
Delete()
,
operator new()
Inherited from CLogActive
:
Complete()
,
DoCancel()
,
DoComplete()
,
Queue()
,
RunL()
IMPORT_C CLogBase(TInt aPriority);
Sets the priority of this active object.
|
IMPORT_C ~CLogBase();
Fees all resources owned by the object prior to its destruction. In particular it closes the resource file reader.
Capability: | Security policy note: | For built-in event types, the required capability level is defined in the event type's read access policy. |
virtual IMPORT_C 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.
|
Capability: | Security policy note: | For built-in event types, the required capability level is defined in the event type's write access policy. |
virtual IMPORT_C 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.
|
Capability: | Security policy note: | For built-in event types, the required capability level is defined in the event type's write access policy. |
virtual IMPORT_C 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.
|
Capability: | Security policy note: | For built-in event types, the required capability level is defined in the event type's write access policy. |
virtual IMPORT_C 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 IMPORT_C 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.
|
|
protected: inline const CResourceFile *ResourceFile() const;
|
private: virtual IMPORT_C void CLogBase_Reserved1();