CImageDecodeConstruct Class Reference

class CImageDecodeConstruct : public CBase

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.

Inherits from

  • CImageDecodeConstruct

Constructor & Destructor Documentation

CImageDecodeConstruct()

IMPORT_CCImageDecodeConstruct()[protected]

Default constructor

~CImageDecodeConstruct()

IMPORT_C~CImageDecodeConstruct()

Destructor

Member Functions 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.

NewDecoderL()

IMPORT_C CImageDecoder *NewDecoderL()const [virtual]

Default version creates a basic 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.

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.

ReservedVirtual1()

IMPORT_C voidReservedVirtual1()[private, virtual]
Intended for future proofing - will panic if called
panic
"EReservedCall"

ReservedVirtual2()

IMPORT_C voidReservedVirtual2()[private, virtual]
Intended for future proofing - will panic if called
panic
"EReservedCall"

ReservedVirtual3()

IMPORT_C voidReservedVirtual3()[private, virtual]
Intended for future proofing - will panic if called
panic
"EReservedCall"

ReservedVirtual4()

IMPORT_C voidReservedVirtual4()[private, virtual]
Intended for future proofing - will panic if called
panic
"EReservedCall"

Member Data Documentation

TUid iDtorIDKey

TUid iDtorIDKey[private]

This member is internal and not intended for use.

TAny * iReserved

TAny *iReserved[private]

This member is internal and not intended for use.