Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: damainc.h
Link against: damodl.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CDaIncremental

class CDaIncremental : public CBase, public MDaIncremental;

Description

CBase-based class for classes that implement data model incremental operations.

Derivation

Members

Defined in CDaIncremental:
CDaIncremental(), DoCancel(), HandleCancel(), HandleLeave(), Initialize(), SetActiveIncremental(), SetObserver(), TerminationState(), iActiveIncremental, iObserver, iRemainingSteps, iTerminationState

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from MDaIncremental:
CloseL(), Next()


Construction and destruction


CDaIncremental()

inline CDaIncremental();

Description

Constructor.

[Top]


Member functions


SetObserver()

IMPORT_C void SetObserver(MDaIncrementalObserver *aObserver);

Description

Sets the operation observer.

Parameters

MDaIncrementalObserver *aObserver

Operation observer


SetActiveIncremental()

virtual inline void SetActiveIncremental(CDaActiveIncremental *aActiveIncremental);

Description

Sets the active object using this interface.

Parameters

CDaActiveIncremental *aActiveIncremental

Incremental active object


TerminationState()

inline TInt TerminationState() const;

Description

Gets the operation's terminal state.

Return value

TInt

Terminal state identifier


Initialize()

inline void Initialize(TInt aRemainingSteps);

Description

Initialises the object with the number of remaining steps in the operation.

Parameters

TInt aRemainingSteps

Number of remaining steps in the operation


HandleCancel()

virtual IMPORT_C void HandleCancel();

Description

Handles the operation being cancelled.


HandleLeave()

virtual IMPORT_C void HandleLeave(TInt aError);

Description

Handles leave conditions in operation steps.

Parameters

TInt aError

Leave code


DoCancel()

protected: IMPORT_C void DoCancel();

Description

[Top]


Member data


iObserver

protected: MDaIncrementalObserver * iObserver;

Description

Operation observer.


iActiveIncremental

protected: CDaActiveIncremental * iActiveIncremental;

Description

Incremental active object.


iTerminationState

protected: TInt iTerminationState;

Description

Operation's terminal state.


iRemainingSteps

protected: TInt iRemainingSteps;

Description

Number of remaining steps.