Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: ImageConstruct.h
Link against: imageconversion.lib

Class CImageDecodeConstruct

class CImageDecodeConstruct : public CBase;

Description

Provides functions related to constructing decoders.

Objects of this class are loaded by ECOM, and it is this class which is responsible for instantiating the decoder plugins. Plugin writers must derive their own plugin specific variants. The derived class is resposible for defining its own factory function to create instances of itself.

Derivation

Members

Defined in CImageDecodeConstruct:
CImageDecodeConstruct(), ConstructL(), ImplementationUid(), NewDecoderL(), NewPluginL(), RequestThread(), ~CImageDecodeConstruct()

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


Construction and destruction


~CImageDecodeConstruct()

IMPORT_C ~CImageDecodeConstruct();

Description

Destructor


CImageDecodeConstruct()

protected: IMPORT_C CImageDecodeConstruct();

Description

Default constructor


ConstructL()

protected: IMPORT_C void ConstructL();

Description

Second stage constructor. This should be called during construction of the derived class.

[Top]


Member functions


ImplementationUid()

IMPORT_C TUid ImplementationUid() const;

Description

Returns the encoder implementation UID.

Return value

TUid

The implementation UID.


NewDecoderL()

virtual IMPORT_C CImageDecoder *NewDecoderL() const;

Description

Default version creates a basic CImageDecoder

Return value

CImageDecoder *

A pointer to a fully constructed CImageDecoder


NewPluginL()

virtual CImageDecoderPlugin *NewPluginL() const=0;

Description

Creates a new concrete CImageDecoderPlugin object.

This is a pure virtual function that each derived class must implement.

Return value

CImageDecoderPlugin *

A pointer to a fully constructed CImageDecoderPlugin.


RequestThread()

virtual IMPORT_C TBool RequestThread() const;

Description

Requests a threaded decode.

The default version of the virtual function returns EFalse, that is, it does not request a threaded decode.

Return value

TBool

ETrue a threaded decode is requested, otherwise, EFalse.