Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: mdaimageconverter.h
Link against: mediaclientimage.lib

Class CMdaImageDataWriteUtility

class CMdaImageDataWriteUtility : public CMdaImageUtility;

Description

Base class used in the derivation of CMdaImageBitmapToDescUtility and CMdaImageBitmapToFileUtility.

It has no user accessible functions.

Derivation

Members

Defined in CMdaImageDataWriteUtility:
CancelConvertL(), ConvertL(), ConvertL(), DoCancel(), DoClose(), Encoder(), ImageWriteUtil_Reserved1(), ImageWriteUtil_Reserved2(), ImageWriteUtil_Reserved3(), RunL(), ~CMdaImageDataWriteUtility()

Inherited from CActive:
Cancel(), Deque(), EPriorityHigh, EPriorityIdle, EPriorityLow, EPriorityStandard, EPriorityUserInput, Extension_(), IsActive(), IsAdded(), Priority(), RunError(), SetActive(), SetPriority(), TPriority, iStatus

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

Inherited from CMdaImageUtility:
Close(), FrameCount(), FrameInfo(), ImageUtil_Reserved1(), ImageUtil_Reserved2(), ImageUtil_Reserved3(), ImageUtil_Reserved4(), MoscoStateChangeEvent()

See also:


Construction and destruction


~CMdaImageDataWriteUtility()

virtual ~CMdaImageDataWriteUtility();

Description

[Top]


Member functions


ConvertL()

virtual IMPORT_C void ConvertL(CFbsBitmap &aBitmap, const TRect &aSourceRect, TInt aFrameNumber=0);

Description

Parameters

CFbsBitmap &aBitmap

Not used.

const TRect &aSourceRect

Not used.

TInt aFrameNumber

Not used.


ConvertL()

virtual IMPORT_C void ConvertL(CFbsBitmap &aBitmap, CFbsBitmap &aMaskBitmap, TInt aFrameNumber=0);

Description

Parameters

CFbsBitmap &aBitmap

Not used.

CFbsBitmap &aMaskBitmap

Not used.

TInt aFrameNumber

Not used.


CancelConvertL()

virtual IMPORT_C void CancelConvertL();

Description

Cancels the conversion operation.

The callback function MMdaImageUtilObserver::MiuoConvertComplete() is not called.


RunL()

protected: virtual void RunL();

Description

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.


DoCancel()

protected: virtual void DoCancel();

Description

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel().

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel().


Encoder()

protected: virtual CImageEncoder *Encoder() const;

Description

Return value

CImageEncoder *


ImageWriteUtil_Reserved1()

virtual void ImageWriteUtil_Reserved1();

Description


ImageWriteUtil_Reserved2()

virtual void ImageWriteUtil_Reserved2();

Description


ImageWriteUtil_Reserved3()

virtual void ImageWriteUtil_Reserved3();

Description


DoClose()

protected: virtual void DoClose();

Description