MWsClientClass Class Reference

class MWsClientClass

Base class for all classes whose objects are clients of the window server.

Public Member Functions
MWsClientClass()
MWsClientClass(RWsBuffer *)
TInt WsHandle()
Protected Member Functions
voidAddToBitmapArray(const TInt)
voidAsyncRequest(TRequestStatus &, TUint)
TInt CachedWindowSize(TSize &)
voidDestroyWindowSizeCacheEntry()
voidMarkWindowSizeCacheDirty()
voidRefreshWindowSizeCache(const TSize &)
TBool WindowSizeCacheEnabled()
voidWrite(const TAny *, TInt, const TAny *, TInt, TUint)
voidWrite(const TAny *, TInt, TUint)
voidWrite(TUint)
voidWriteInt(TInt, TUint)
voidWritePoint(const TPoint &, TUint)
voidWriteRect(const TRect &, TUint)
TInt WriteReply(TUint, const TIpcArgs *)
TInt WriteReply(const TAny *, TInt, TUint, const TIpcArgs *)
TInt WriteReply(const TAny *, TInt, const TAny *, TInt, TUint, const TIpcArgs *)
TInt WriteReplyByProvidingRemoteReadAccess(const TAny *, TInt, const TReadDescriptorType &, TUint)
TInt WriteReplyInt(TInt, TUint, const TIpcArgs *)
TInt WriteReplyIntP(TInt, const TWriteDescriptorType &, TUint)
TInt WriteReplyP(const TWriteDescriptorType &, TUint)
TInt WriteReplyP(const TAny *, TInt, const TWriteDescriptorType &, TUint)
TInt WriteReplyP(const TAny *, TInt, const TAny *, TInt, const TWriteDescriptorType &, TUint)
voidWriteSize(const TSize &, TUint)
Protected Attributes
RWsBuffer *iBuffer
TInt32 iWsHandle

Constructor & Destructor Documentation

MWsClientClass()

MWsClientClass()

MWsClientClass(RWsBuffer *)

MWsClientClass(RWsBuffer *aBuffer)

Parameters

RWsBuffer * aBuffer

Member Functions Documentation

AddToBitmapArray(const TInt)

voidAddToBitmapArray(const TIntaBitmapHandle)const [protected]

Parameters

const TInt aBitmapHandle

AsyncRequest(TRequestStatus &, TUint)

voidAsyncRequest(TRequestStatus &aStatus,
TUintaOpcode
)const [protected]

Parameters

TRequestStatus & aStatus
TUint aOpcode

CachedWindowSize(TSize &)

TInt CachedWindowSize(TSize &aSize)const [protected]

Parameters

TSize & aSize

DestroyWindowSizeCacheEntry()

voidDestroyWindowSizeCacheEntry()[protected]

MarkWindowSizeCacheDirty()

voidMarkWindowSizeCacheDirty()[protected]

RefreshWindowSizeCache(const TSize &)

voidRefreshWindowSizeCache(const TSize &aNewSize)const [protected]

Parameters

const TSize & aNewSize

WindowSizeCacheEnabled()

TBool WindowSizeCacheEnabled()const [protected]

Write(const TAny *, TInt, const TAny *, TInt, TUint)

voidWrite(const TAny *aData,
TIntaLength,
const TAny *aData2,
TIntaLength2,
TUintaOpcode
)const [protected]

Parameters

const TAny * aData
TInt aLength
const TAny * aData2
TInt aLength2
TUint aOpcode

Write(const TAny *, TInt, TUint)

voidWrite(const TAny *aBuf,
TIntaBufLen,
TUintaOpcode
)const [protected]

Parameters

const TAny * aBuf
TInt aBufLen
TUint aOpcode

Write(TUint)

voidWrite(TUintaOpcode)const [protected]

Parameters

TUint aOpcode

WriteInt(TInt, TUint)

voidWriteInt(TIntaInt,
TUintaOpcode
)const [protected]

Parameters

TInt aInt
TUint aOpcode

WritePoint(const TPoint &, TUint)

voidWritePoint(const TPoint &aPoint,
TUintaOpcode
)const [protected]

Parameters

const TPoint & aPoint
TUint aOpcode

WriteRect(const TRect &, TUint)

voidWriteRect(const TRect &aRect,
TUintaOpcode
)const [protected]

Parameters

const TRect & aRect
TUint aOpcode

WriteReply(TUint, const TIpcArgs *)

TInt WriteReply(TUintaOpcode,
const TIpcArgs *aIpcArgs = NULL
)const [protected]

Parameters

TUint aOpcode
const TIpcArgs * aIpcArgs = NULL

WriteReply(const TAny *, TInt, TUint, const TIpcArgs *)

TInt WriteReply(const TAny *aBuf,
TIntaBufLen,
TUintaOpcode,
const TIpcArgs *aIpcArgs = NULL
)const [protected]

Parameters

const TAny * aBuf
TInt aBufLen
TUint aOpcode
const TIpcArgs * aIpcArgs = NULL

WriteReply(const TAny *, TInt, const TAny *, TInt, TUint, const TIpcArgs *)

TInt WriteReply(const TAny *aBuf,
TIntaBufLen,
const TAny *aBuf2,
TIntaBuflen2,
TUintaOpcode,
const TIpcArgs *aIpcArgs = NULL
)const [protected]

Parameters

const TAny * aBuf
TInt aBufLen
const TAny * aBuf2
TInt aBuflen2
TUint aOpcode
const TIpcArgs * aIpcArgs = NULL

WriteReplyByProvidingRemoteReadAccess(const TAny *, TInt, const TReadDescriptorType &, TUint)

TInt WriteReplyByProvidingRemoteReadAccess(const TAny *aBuf,
TIntaBufLen,
const TReadDescriptorType &aRemoteReadBuffer,
TUintaOpcode
)const [protected]

Parameters

const TAny * aBuf
TInt aBufLen
const TReadDescriptorType & aRemoteReadBuffer
TUint aOpcode

WriteReplyInt(TInt, TUint, const TIpcArgs *)

TInt WriteReplyInt(TIntaInt,
TUintaOpcode,
const TIpcArgs *aIpcArgs = NULL
)const [protected]

Parameters

TInt aInt
TUint aOpcode
const TIpcArgs * aIpcArgs = NULL

WriteReplyIntP(TInt, const TWriteDescriptorType &, TUint)

TInt WriteReplyIntP(TIntaInt,
const TWriteDescriptorType &aReplyPackage,
TUintaOpcode
)const [protected]

Parameters

TInt aInt
const TWriteDescriptorType & aReplyPackage
TUint aOpcode

WriteReplyP(const TWriteDescriptorType &, TUint)

TInt WriteReplyP(const TWriteDescriptorType &aReplyPackage,
TUintaOpcode
)const [protected]

Parameters

const TWriteDescriptorType & aReplyPackage
TUint aOpcode

WriteReplyP(const TAny *, TInt, const TWriteDescriptorType &, TUint)

TInt WriteReplyP(const TAny *aBuf,
TIntaBufLen,
const TWriteDescriptorType &aReplyPackage,
TUintaOpcode
)const [protected]

Parameters

const TAny * aBuf
TInt aBufLen
const TWriteDescriptorType & aReplyPackage
TUint aOpcode

WriteReplyP(const TAny *, TInt, const TAny *, TInt, const TWriteDescriptorType &, TUint)

TInt WriteReplyP(const TAny *aBuf,
TIntaBufLen,
const TAny *aBuf2,
TIntaBuflen2,
const TWriteDescriptorType &aReplyPackage,
TUintaOpcode
)const [protected]

Parameters

const TAny * aBuf
TInt aBufLen
const TAny * aBuf2
TInt aBuflen2
const TWriteDescriptorType & aReplyPackage
TUint aOpcode

WriteSize(const TSize &, TUint)

voidWriteSize(const TSize &aSize,
TUintaOpcode
)const [protected]

Parameters

const TSize & aSize
TUint aOpcode

WsHandle()

TInt WsHandle()const [inline]

Gets the server side handle for the object.

The server-side handle for the object.

Member Data Documentation

RWsBuffer * iBuffer

RWsBuffer *iBuffer[protected]

WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.

TInt32 iWsHandle

TInt32 iWsHandle[protected]

WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.