CImageDecodeConstruct Class Reference

#include <icl/imageconstruct.h>

Link against: imageconversion.lib

class CImageDecodeConstruct : public CBase

Inherits from

  • CImageDecodeConstruct

Detailed 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 responsible for defining its own factory function to create instances of itself.

Constructor & Destructor Documentation

CImageDecodeConstruct ( )

IMPORT_CCImageDecodeConstruct()[protected]

Default constructor

~CImageDecodeConstruct ( )

IMPORT_C~CImageDecodeConstruct()

Destructor

Member Function Documentation

ConstructL ( )

IMPORT_C voidConstructL()[protected]

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

ImplementationUid ( )

IMPORT_C TUidImplementationUid()const

Returns the decoder implementation UID.

Return Value
The implementation UID.

NewDecoderL ( )

IMPORT_C CImageDecoder *NewDecoderL()const [virtual]

Default version creates a basic CImageDecoder

Return Value
A pointer to a fully constructed CImageDecoder

NewPluginL ( )

CImageDecoderPlugin *NewPluginL()const [pure virtual]

Creates a new concrete CImageDecoderPlugin object.

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

Return Value
A pointer to a fully constructed CImageDecoderPlugin.

RequestThread ( )

IMPORT_C TBoolRequestThread()const [virtual]

Requests a threaded decode.

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

Return Value
ETrue a threaded decode is requested, otherwise, EFalse.