RMsgQueueBase Class Reference

class RMsgQueueBase : public RHandleBase

Provides implementation for managing an asynchronous message queue, and is a base class for the RMsgQueue templated class.

RMsgQueue

Inherits from

Member Functions Documentation

CancelDataAvailable()

IMPORT_C voidCancelDataAvailable()

CancelSpaceAvailable()

IMPORT_C voidCancelSpaceAvailable()

CreateGlobal(const TDesC &, TInt, TInt, TOwnerType)

IMPORT_C TIntCreateGlobal(const TDesC &aName,
TIntaSize,
TIntaMsgLength,
TOwnerTypeaType = EOwnerProcess
)

Parameters

const TDesC & aName
TInt aSize
TInt aMsgLength
TOwnerType aType = EOwnerProcess

CreateLocal(TInt, TInt, TOwnerType)

IMPORT_C TIntCreateLocal(TIntaSize,
TIntaMsgLength,
TOwnerTypeaType = EOwnerProcess
)

Parameters

TInt aSize
TInt aMsgLength
TOwnerType aType = EOwnerProcess

MessageSize()

IMPORT_C TIntMessageSize()

NotifyDataAvailable(TRequestStatus &)

IMPORT_C voidNotifyDataAvailable(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

NotifySpaceAvailable(TRequestStatus &)

IMPORT_C voidNotifySpaceAvailable(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

Open(RMessagePtr2, TInt, TOwnerType)

IMPORT_C TIntOpen(RMessagePtr2aMessage,
TIntaParam,
TOwnerTypeaType = EOwnerProcess
)

Parameters

RMessagePtr2 aMessage
TInt aParam
TOwnerType aType = EOwnerProcess

Open(TInt, TOwnerType)

IMPORT_C TIntOpen(TIntaArgumentIndex,
TOwnerTypeaType = EOwnerProcess
)

Parameters

TInt aArgumentIndex
TOwnerType aType = EOwnerProcess

OpenGlobal(const TDesC &, TOwnerType)

IMPORT_C TIntOpenGlobal(const TDesC &aName,
TOwnerTypeaType = EOwnerProcess
)

Parameters

const TDesC & aName
TOwnerType aType = EOwnerProcess

Receive(TAny *, TInt)

IMPORT_C TIntReceive(TAny *aPtr,
TIntaLength
)

Parameters

TAny * aPtr
TInt aLength

ReceiveBlocking(TAny *, TInt)

IMPORT_C voidReceiveBlocking(TAny *aPtr,
TIntaLength
)

Parameters

TAny * aPtr
TInt aLength

Send(const TAny *, TInt)

IMPORT_C TIntSend(const TAny *aPtr,
TIntaLength
)

Parameters

const TAny * aPtr
TInt aLength

SendBlocking(const TAny *, TInt)

IMPORT_C voidSendBlocking(const TAny *aPtr,
TIntaLength
)

Parameters

const TAny * aPtr
TInt aLength