|
||
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.
CBase
-
Base class for all classes to be instantiated on the heap.
CImageDecodeConstruct
-
Provides functions related to constructing decoders.
Defined in CImageDecodeConstruct
:
CImageDecodeConstruct()
Default constructor ConstructL()
Second stage constructor. This should be called during construction of the deriv...ImplementationUid()const
Returns the decoder implementation UID.NewDecoderL()const
Default version creates a basic CImageDecoder
NewPluginL()const
Creates a new concrete CImageDecoderPlugin object.RequestThread()const
Requests a threaded decode.~CImageDecodeConstruct()
Destructor Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...protected: IMPORT_C void ConstructL();
Second stage constructor. This should be called during construction of the derived class.
IMPORT_C TUid ImplementationUid() const;
Returns the decoder implementation UID.
|
IMPORT_C virtual CImageDecoder* NewDecoderL() const;
Default version creates a basic CImageDecoder
|
virtual CImageDecoderPlugin* NewPluginL() const=0;
Creates a new concrete CImageDecoderPlugin
object.
This is a pure virtual function that each derived class must implement.
|
IMPORT_C virtual TBool RequestThread() const;
Requests a threaded decode.
The default version of the virtual function returns EFalse, that is, it does not request a threaded decode.
|