CXIMPOperationBase Class Reference

class CXIMPOperationBase : public CBase

Base C-class for operations

ximpoperation.lib
Since
S60 v4.0

Inherits from

Constructor & Destructor Documentation

CXIMPOperationBase()

IMPORT_CCXIMPOperationBase()

Call this, then BaseConstructL in derived class.

~CXIMPOperationBase()

IMPORT_C~CXIMPOperationBase()[virtual]

Member Functions Documentation

BaseConstructL(TXIMPRequestId, CXIMPPscContext *)

IMPORT_C voidBaseConstructL(TXIMPRequestIdaRequestId,
CXIMPPscContext *aContext
)

Parameters

TXIMPRequestId aRequestIdThe request id
CXIMPPscContext * aContext

BeginOperation()

IMPORT_C voidBeginOperation()[virtual]

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aParamPck)[pure virtual]

Parameters

const TDesC8 & aParamPck

Context()

IMPORT_C CXIMPPscContext *Context()[virtual]

CreateRequestCompleteEventL()

IMPORT_C voidCreateRequestCompleteEventL()[protected, virtual]

Create request complete event

EndOperation()

IMPORT_C voidEndOperation()[virtual]

GetContext()

IMPORT_C MXIMPPscContext *GetContext()

GetObjCollection()

IMPORT_C MXIMPRestrictedObjectCollection *GetObjCollection()

GetReqCompleteEvent()

IMPORT_C CXIMPRequestCompleteEventImp *GetReqCompleteEvent()[virtual]

IsServerOperation()

IMPORT_C TBoolIsServerOperation()const

ProcessL()

IMPORT_C voidProcessL()[virtual]

Process this operation.

RequestCompletedL()

IMPORT_C voidRequestCompletedL()[virtual]

Request made by the operation has been completed.

RequestId()

IMPORT_C TXIMPRequestIdRequestId()const [virtual]

SetHost(MXIMPHost &)

IMPORT_C voidSetHost(MXIMPHost &aMyHost)[virtual]

Set host for operation. ProcessL cannot be called before host is set.

Parameters

MXIMPHost & aMyHost

SetObjectCollection(MXIMPBase *)

IMPORT_C voidSetObjectCollection(MXIMPBase *aCollection)[virtual]

Set new object collection for operator.

Parameters

MXIMPBase * aCollection

SetOpL(CXIMPPscContext *)

IMPORT_C voidSetOpL(CXIMPPscContext *aContext)[virtual]

Parameters

CXIMPPscContext * aContextThe context of operation

SetReqId(TXIMPRequestId)

IMPORT_C voidSetReqId(TXIMPRequestIdaRequestId)[virtual]

Parameters

TXIMPRequestId aRequestIdThe request id

SetResultCode(TInt)

IMPORT_C voidSetResultCode(TIntaResultCode)[virtual]

Set result code for operation

Parameters

TInt aResultCode

SetServerOperation()

IMPORT_C voidSetServerOperation()

SetStatus(MXIMPStatus *)

IMPORT_C voidSetStatus(MXIMPStatus *aStatus)[virtual]

Set status for operation

Parameters

MXIMPStatus * aStatus

Status()

IMPORT_C MXIMPStatus &Status()const [virtual]

Type()

IMPORT_C TIntType()const [virtual]

Member Data Documentation

CXIMPPscContext * iContext

CXIMPPscContext *iContext[protected]

Context of operation

MXIMPHost * iMyHost

MXIMPHost *iMyHost[protected]

Host of this operation. Shared owning. Use close to destroy

TBool iNotActive

TBool iNotActive[protected]

If ETrue, operation is not active

CXIMPRestrictedObjectCollectionImp * iObjCollection

CXIMPRestrictedObjectCollectionImp *iObjCollection[protected]

Holder for parameters. Owned

CXIMPRequestCompleteEventImp * iReqCompleteEvent

CXIMPRequestCompleteEventImp *iReqCompleteEvent[protected]

Request complete event Owned.

TXIMPRequestId iReqId

TXIMPRequestId iReqId[protected]

Req id

TBool iServerOperation

TBool iServerOperation[protected]

True if server initiated operation

CXIMPStatusImp * iStatusObj

CXIMPStatusImp *iStatusObj[protected]

Internal state of the host