CCamera::CCameraPreImageCaptureControl::TDriveModeDependentAttributes Class Reference

class CCamera::CCameraPreImageCaptureControl::TDriveModeDependentAttributes

Provides any extra drive mode dependent parameters to be used for image capture.

Constructor & Destructor Documentation

TDriveModeDependentAttributes()

IMPORT_C TDriveModeDependentAttributes ( )

Constructor for the TDriveModeDependentAttributes class. Sets the size and version of this class.

Member Functions Documentation

Size()

IMPORT_C TUint Size ( ) const

Returns the size of the class. Used for extensibility by deriving from this base class and adding new member variables. Intended to be used for implementation of methods where this class reference is passed as function arguments. Implementation of such methods can find out the whether the actual class passed is base or the derived one. So, if a new application is made to run on an old implementation, an error may occur in such cases after the old implementation detects this by getting the size information of the T class passed. Also, if old application is made to run on a new implementation, this could be properly handled if the derived class variables handling is done in a proper 'if-else' statement.

Note:

The size will be modified when the T-class gets updated.

Version()

IMPORT_C TUint Version ( ) const

Returns the version of the class. Used for extensibility specially when the class members are not added but the Reserved members get used at a later stage.

Note:

The version will be modified when the T-class gets updated.

Member Data Documentation

TInt iParam1

TInt iParam1

If drive mode is EDriveModeTimeNudgeCapture this represents the number of images to be captured (pre-capture images) before client initiates actual image capture operation.

TInt iParam2

TInt iParam2

If drive mode is EDriveModeTimeNudgeCapture this represents the number of images to be captured (post-capture images) after client initiates actual image capture operation.

TInt iReserved1

TInt iReserved1 [private]

TInt iReserved2

TInt iReserved2 [private]

TInt iReserved3

TInt iReserved3 [private]

TUint iSize

TUint iSize [private]

TUint iVersion

TUint iVersion [private]