RMemSpyEngineClientInterface Class Reference

class RMemSpyEngineClientInterface : public RSessionBase

Inherits from

Public Member Functions
RMemSpyEngineClientInterface()
TInt BringToForeground()
voidClose()
TInt Connect()
TInt DisableAknIconCache()
TInt EnumerateKernelContainer(TObjectType)
TInt EnumerateKernelContainerAll()
TInt Exit()
TInt PerformOperation(TMemSpyClientServerOp)
TInt PerformOperation(TMemSpyClientServerOp, TThreadId)
TInt PerformOperation(TMemSpyClientServerOp, const TDesC &)
TInt SaveAllBitmaps()
TInt SendToBackground()
TInt SwitchOutputModeFile()
TInt SwitchOutputModeTrace()
TInt SystemWideMemoryTrackerCategoriesSet(TInt)
TInt SystemWideMemoryTrackerHeapDumpSet(TBool)
TInt SystemWideMemoryTrackerThreadFilterSet(const TDesC &)
TInt SystemWideMemoryTrackerTimerIntervalSet(TInt)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RMemSpyEngineClientInterface()

RMemSpyEngineClientInterface()[inline]

Member Functions Documentation

BringToForeground()

TInt BringToForeground()[inline]

Close()

voidClose()[inline]

Connect()

TInt Connect()[inline]

DisableAknIconCache()

TInt DisableAknIconCache()[inline]

Disable AknIcon caching

EnumerateKernelContainer(TObjectType)

TInt EnumerateKernelContainer(TObjectTypeaType)[inline]

List the contents of a specific kernel container. See TObjectType for types.

Parameters

TObjectType aType

EnumerateKernelContainerAll()

TInt EnumerateKernelContainerAll()[inline]

List the contents of all kernel containers

Exit()

TInt Exit()[inline]

Exit MemSpy

PerformOperation(TMemSpyClientServerOp)

TInt PerformOperation(TMemSpyClientServerOpaOperation)[inline]

Thread-agnostic request function. Performs the operation in the context of the entire device.

I.e. can only be used for [NT] or [ED] requests.

Parameters

TMemSpyClientServerOp aOperation

PerformOperation(TMemSpyClientServerOp, TThreadId)

TInt PerformOperation(TMemSpyClientServerOpaOperation,
TThreadIdaId
)[inline]

Thread-specific request functions. Perform the requested operation in the context of the specified thread id, or (possibly partial) thread name.

To perform the operation in the context of the current thread, invoke the function as follows:

PerformOperation( <...>, RThread().Id() );

I.e. can only be used for [TS] requests.

Parameters

TMemSpyClientServerOp aOperation
TThreadId aId

PerformOperation(TMemSpyClientServerOp, const TDesC &)

TInt PerformOperation(TMemSpyClientServerOpaOperation,
const TDesC &aThreadName
)[inline]

Parameters

TMemSpyClientServerOp aOperation
const TDesC & aThreadName

SaveAllBitmaps()

TInt SaveAllBitmaps()[inline]

Save bitmaps to memory card

SendToBackground()

TInt SendToBackground()[inline]

Send MemSpy to the background/bring to foreground

SwitchOutputModeFile()

TInt SwitchOutputModeFile()[inline]

General functions to switch MemSpy's output mode.

SwitchOutputModeTrace()

TInt SwitchOutputModeTrace()[inline]

SystemWideMemoryTrackerCategoriesSet(TInt)

TInt SystemWideMemoryTrackerCategoriesSet(TIntaCategories)[inline]

Configure the system wide memory tracker categories. Change will take effect next time SWMT is started.

Parameters

TInt aCategories

SystemWideMemoryTrackerHeapDumpSet(TBool)

TInt SystemWideMemoryTrackerHeapDumpSet(TBoolaDumpEnabled)[inline]

Configure the system wide memory tracker for enabling/disabling Heap dumps during SWMT. Change will take effect next time SWMT is started.

Parameters

TBool aDumpEnabled

SystemWideMemoryTrackerThreadFilterSet(const TDesC &)

TInt SystemWideMemoryTrackerThreadFilterSet(const TDesC &aFilter)[inline]

Configure the system wide memory tracker for filtering user heaps by thread name. Change will take effect next time SWMT is started.

Parameters

const TDesC & aFilter

SystemWideMemoryTrackerTimerIntervalSet(TInt)

TInt SystemWideMemoryTrackerTimerIntervalSet(TIntaInterval)[inline]

Configure the system wide memory tracker timer interval (for automatic timer-based polling). Change will take effect next time SWMT is started.

Parameters

TInt aInterval