CLogViewEvent Class Reference

class CLogViewEvent : public CLogView

A view on the event log.

The events included in the view are defined using a filter that specifies the constraints that all events in the view must satisfy. Filters are specified using one or more CLogFilter objects.

CLogFilter CLogFilterList

Inherits from

Public Member Functions
~CLogViewEvent()
IMPORT_C CLogViewEvent *NewL(CLogClient &, TInt)
IMPORT_C CLogViewEvent *NewL(CLogClient &, MLogViewChangeObserver &, TInt)
IMPORT_C TBoolSetFilterL(const CLogFilterList &, TRequestStatus &)
IMPORT_C TBoolSetFilterL(const CLogFilter &, TRequestStatus &)
IMPORT_C TBoolSetFilterParseFilterByFilterL(const CLogFilterList &, TRequestStatus &)
Private Member Functions
CLogViewEvent(CLogClient &, TInt)
voidConstructL(MLogViewChangeObserver *)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CLogActive::CLogActive(TInt)
CLogActive::Complete(TInt)
CLogActive::Queue(TRequestStatus &)
CLogActive::~CLogActive()
CLogView::CLogView(CLogClient &,TInt)
CLogView::ConstructL(TInt,MLogViewChangeObserver *)
CLogView::CountL()
CLogView::DoCancel()
CLogView::Event()const
CLogView::FirstL(TRequestStatus &)
CLogView::IsValid()const
CLogView::LastL(TRequestStatus &)
CLogView::LogViewRecordCount()const
CLogView::NextL(TRequestStatus &)
CLogView::PreviousL(TRequestStatus &)
CLogView::ReadEventFromWindowL()
CLogView::ReawaitForChanges()
CLogView::SetFlagsL(TLogFlags)
CLogView::~CLogView()
Inherited Enumerations
CActive:TPriority
Inherited Attributes
CActive::iStatus
CLogView::iClient
CLogView::iData
CLogView::iMaintain
CLogView::iPackage
CLogView::iSpare2
CLogView::iValid
CLogView::iViewId
CLogView::iWindow

Constructor & Destructor Documentation

CLogViewEvent(CLogClient &, TInt)

CLogViewEvent(CLogClient &aClient,
TIntaPriority
)[private]

Parameters

CLogClient & aClient
TInt aPriority

~CLogViewEvent()

IMPORT_C~CLogViewEvent()

Frees all resources owned by the object prior to its destruction. In particular, any outstanding asynchronous request is cancelled

Member Functions Documentation

ConstructL(MLogViewChangeObserver *)

voidConstructL(MLogViewChangeObserver *aObserver = NULL)[private]

Parameters

MLogViewChangeObserver * aObserver = NULL

NewL(CLogClient &, TInt)

IMPORT_C CLogViewEvent *NewL(CLogClient &aClient,
TIntaPriority = CActive::EPriorityStandard
)[static]

Parameters

CLogClient & aClient
TInt aPriority = CActive::EPriorityStandard

NewL(CLogClient &, MLogViewChangeObserver &, TInt)

IMPORT_C CLogViewEvent *NewL(CLogClient &aClient,
MLogViewChangeObserver &aObserver,
TIntaPriority = CActive::EPriorityStandard
)[static]

Parameters

CLogClient & aClient
MLogViewChangeObserver & aObserver
TInt aPriority = CActive::EPriorityStandard

SetFilterL(const CLogFilterList &, TRequestStatus &)

IMPORT_C TBoolSetFilterL(const CLogFilterList &aFilterList,
TRequestStatus &aStatus
)

Initialises or refreshes the event view defined by the set of specified filters.

The view can only be used after the request completes successfully.

capability
Note None required.

Parameters

const CLogFilterList & aFilterListThe set of filters.
TRequestStatus & aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully initialised or refreshed;one of the other system wide error codes, otherwise.

SetFilterL(const CLogFilter &, TRequestStatus &)

IMPORT_C TBoolSetFilterL(const CLogFilter &aFilter,
TRequestStatus &aStatus
)

Initialises or refreshes the event view defined by the specified filter.

The view can only be used after the request completes successfully.

capability
Note None required.

Parameters

const CLogFilter & aFilterThe filter.
TRequestStatus & aStatusThe request status. On request completion, contains:KErrNone, if the view has been successfully initialised or refreshed;one of the other system wide error codes, otherwise.

SetFilterParseFilterByFilterL(const CLogFilterList &, TRequestStatus &)

IMPORT_C TBoolSetFilterParseFilterByFilterL(const CLogFilterList &aFilterList,
TRequestStatus &aStatus
)
capability
Note None required.

Parameters

const CLogFilterList & aFilterList
TRequestStatus & aStatus