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.

ParameterDescription
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.

Returns: The pointer to the newly created object cast as class TFrameFormatBase.

Type ( )

IMPORT_C TUidType()const

The type of the TFrameFormatBase subclass.

Returns: The UID used to identify a specific subclass.