Location:
ImageConstruct.h
Link against: imageconversion.lib
class CImageEncodeConstruct : public CBase;
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.
CBase
- Base class for all classes to be instantiated on the heap
CImageEncodeConstruct
- Provides functions related to constructing encoders
Defined in CImageEncodeConstruct
:
CImageEncodeConstruct()
, ConstructL()
, ImplementationUid()
, NewEncoderL()
, NewPluginL()
, RequestThread()
, ~CImageEncodeConstruct()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
protected: IMPORT_C void ConstructL();
Second stage constructor. This should be called during construction of the derived class.
IMPORT_C TUid ImplementationUid() const;
Retrieve the encoder implementation UID.
|
virtual IMPORT_C CImageEncoder *NewEncoderL() const;
Default version creates a basic CImageEncoder
.
|
virtual CImageEncoderPlugin *NewPluginL() const=0;
Creates new concrete CImageEncoderPlugin
object.
This is a virtual function that each derived class must implement.
|
virtual IMPORT_C TBool RequestThread() const;
Requests a threaded encode.
Note: The default version of this virtual function returns EFalse and does not request a threaded encode.
|