CImageEncodeConstruct Class Reference

#include <icl/imageconstruct.h>

Link against: imageconversion.lib

class CImageEncodeConstruct : public CBase

Inherits from

  • CImageEncodeConstruct

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

Constructor & Destructor Documentation

CImageEncodeConstruct ( )

IMPORT_CCImageEncodeConstruct()[protected]

Default constructor

~CImageEncodeConstruct ( )

IMPORT_C~CImageEncodeConstruct()

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

Retrieve the encoder implementation UID.

Return Value
The implementation UID.

NewEncoderL ( )

IMPORT_C CImageEncoder *NewEncoderL()const [virtual]

Default version creates a basic CImageEncoder.

Return Value
Pointer to a fully constructed CImageEncoder object.

NewPluginL ( )

CImageEncoderPlugin *NewPluginL()const [pure virtual]

Creates new concrete CImageEncoderPlugin object.

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

Return Value
A pointer to fully constructed CImageEncoderPlugin.

RequestThread ( )

IMPORT_C TBoolRequestThread()const [virtual]

Requests a threaded encode.

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