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

Constructor & Destructor Documentation

CImageDecodeConstruct()

IMPORT_C CImageDecodeConstruct ( ) [protected]

Default constructor

~CImageDecodeConstruct()

IMPORT_C ~CImageDecodeConstruct ( )

Destructor

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

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

ImplementationUid()

IMPORT_C TUid ImplementationUid ( ) 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 TBool RequestThread ( ) 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 void ReservedVirtual1 ( ) [private, virtual]
Intended for future proofing - will panic if called
panic
"EReservedCall"

ReservedVirtual2()

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

ReservedVirtual3()

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

ReservedVirtual4()

IMPORT_C void ReservedVirtual4 ( ) [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.