#include <icl/imageconstruct.h>
Link against: imageconversion.lib
class CImageEncodeConstruct : public CBase |
Public Member Functions | |
---|---|
~CImageEncodeConstruct() | |
IMPORT_C TUid | ImplementationUid() |
virtual IMPORT_C CImageEncoder * | NewEncoderL() |
pure virtual CImageEncoderPlugin * | NewPluginL() |
virtual IMPORT_C TBool | RequestThread() |
Protected Member Functions | |
---|---|
CImageEncodeConstruct() | |
IMPORT_C void | ConstructL() |
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.
IMPORT_C void | ConstructL | ( | ) | [protected] |
Second stage constructor. This should be called during construction of the derived class.
IMPORT_C TUid | ImplementationUid | ( | ) | const |
Retrieve the encoder implementation UID.
IMPORT_C CImageEncoder * | NewEncoderL | ( | ) | const [virtual] |
Default version creates a basic CImageEncoder.
CImageEncoderPlugin * | NewPluginL | ( | ) | const [pure virtual] |
Creates new concrete CImageEncoderPlugin object.
This is a virtual function that each derived class must implement.
IMPORT_C TBool | RequestThread | ( | ) | const [virtual] |
Requests a threaded encode.
Note: The default version of this virtual function returns EFalse and does not request a threaded encode.