TFrameFormatBase Class Reference

#include <imageframe.h>

class TFrameFormatBase
Public Member Functions
pure virtual TFrameFormatBase *DuplicateL()
IMPORT_C TUidType()
Protected Member Functions
TFrameFormatBase(TUid)

Detailed Description

The base class for TFrameFormat. Users implement specific frame formats by deriving from this class. Symbian provides a particular implementation in the TFrameFormat class. Each class derived from this class should be identified by a unique UID value, denoting its type. All subclasses should provide implementations of DuplicateL().

See also: TFrameFormat

Constructor & Destructor Documentation

TFrameFormatBase ( TUid )

IMPORT_CTFrameFormatBase(TUidaType)[protected, explicit]

Constructor for the TFrameFormatBase class.

Parameters
aTypeThe UID used to identify a specific format class. It is used as a runtime identification of the particular subclass.

Member Function Documentation

DuplicateL ( )

TFrameFormatBase *DuplicateL()const [pure virtual]

Creates a duplicate instance of the frame format object on the heap.

Return Value
The pointer to the newly created object cast as class TFrameFormatBase.

Type ( )

IMPORT_C TUidType()const

The type of the TFrameFormatBase subclass.

Return Value
The UID used to identify a specific subclass.