Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: ImageConstruct.h
Link against: imageconversion.lib

Class CImageEncodeConstruct

class CImageEncodeConstruct : public CBase;

Description

Provides functions related to constructing encoders.

Objects of this class are loaded by ECOM, and it is this class which is responsible for instantiating the encoder 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 CImageEncodeConstruct:
CImageEncodeConstruct(), ConstructL(), ImplementationUid(), NewEncoderL(), NewPluginL(), RequestThread(), ~CImageEncodeConstruct()

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


Construction and destruction


~CImageEncodeConstruct()

IMPORT_C ~CImageEncodeConstruct();

Description

Destructor


CImageEncodeConstruct()

protected: IMPORT_C CImageEncodeConstruct();

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

Retrieve the encoder implementation UID.

Return value

TUid

The implementation UID.


NewEncoderL()

virtual IMPORT_C CImageEncoder *NewEncoderL() const;

Description

Default version creates a basic CImageEncoder.

Return value

CImageEncoder *

Pointer to a fully constructed CImageEncoder object.


NewPluginL()

virtual CImageEncoderPlugin *NewPluginL() const=0;

Description

Creates new concrete CImageEncoderPlugin object.

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

Return value

CImageEncoderPlugin *

A pointer to fully constructed CImageEncoderPlugin.


RequestThread()

virtual IMPORT_C TBool RequestThread() const;

Description

Requests a threaded encode.

Note: The default version of this virtual function returns EFalse and does not request a threaded encode.

Return value

TBool