CFrameImageData Class Reference
class CFrameImageData : public CBase |
Class to manage lists of frame and image block data.
Constructor & Destructor Documentation
CFrameImageData(CImageDataArray &, TBool)
~CFrameImageData()
IMPORT_C | ~CFrameImageData | ( | ) | |
Destructor for this class.
If ownership of the image data was transfered, it is now destroyed.
Member Functions Documentation
AllocL()
Creates a full copy of the objects data. Ownership is transferred to the caller.
AppendFrameData(const TFrameDataBlock *)
Adds a pointer to a frame data block to the end of the internally held list.
AppendImageBuffer(const HBufC8 *)
IMPORT_C TInt | AppendImageBuffer | ( | const HBufC8 * | aImageBuffer | ) | |
Stores the supplied image data in a newly allocated entry in the image buffer array.
Parameters
const HBufC8 * aImageBuffer | The HBufC8 pointer to take ownership of. |
AppendImageData(const TImageDataBlock *)
Adds a pointer to an image data block to the end of the internally held list.
FrameDataCount()
IMPORT_C TInt | FrameDataCount | ( | ) | const |
Returns the number of frame data blocks in the internally held list.
GetFrameData(TInt)
Const version.
Returns the frame data block at the given position from the internally held list.
Parameters
TInt aIndex | The position of the frame data block to retrieve. Must be in the range 0 to FrameDataCount(). |
GetFrameData(TInt)
Non const version.
Returns the frame data block at the given position from the internally held list.
Parameters
TInt aIndex | The position of the frame data block to retrieve. Must be in the range 0 to FrameDataCount(). |
GetImageData(TInt)
Returns the image data block at the given position from the internally held list.
Parameters
TInt aIndex | The position of the image data block to retrieve. Must be in the range 0 to ImageDataCount(). |
GetImageData(TInt)
Returns the image data block at the given position from the internally held list.
Parameters
TInt aIndex | The position of the image data block to retrieve. Must be in the range 0 to ImageDataCount(). |
ImageDataCount()
IMPORT_C TInt | ImageDataCount | ( | ) | const |
Returns the number of image data blocks in the internally held list.
InsertFrameData(const TFrameDataBlock *, TInt)
Parameters
const TFrameDataBlock * aEntry | The frame data block pointer to be inserted. |
TInt aPos | The position at which to insert the pointer into the internal list. Must not be less than 0 or greater than the value returned by CFrameImageData::FrameDataCount(). |
InsertImageData(const TImageDataBlock *, TInt)
Parameters
const TImageDataBlock * aEntry | The image data block pointer to be inserted. |
TInt aPos | The position at which to insert the pointer into the internal list. Must not be less than 0 or greater than the value returned by CFrameImageData::ImageDataCount(). |
NewL()
Static factory function for creating instances of CFrameImageData. The managed list of image data is created/destroyed internally.
NewL(CImageDataArray &, TBool)
Static factory function for creating instances of CFrameImageData.
The managed list of image data is created internally. If a data owner is specified then the responsibility for destroying the managed list is that of the owner. If no owner is specified the managed list is destroyed internally.
Parameters
CImageDataArray & aImageData | A reference to an externally created CImageDataArray. |
TBool aImageDataOwner = EFalse | If set to true, responsibility for deleting CImageDataArray is passed to the CFrameImageData object. |
RemoveFrameData(TInt)
IMPORT_C void | RemoveFrameData | ( | TInt | aIndex | ) | |
Parameters
TInt aIndex | Position of the pointer to delete. Must not be less than 0 or greater than the value returned by CFrameImageData::ImageDataCount(). |
RemoveImageData(TInt)
IMPORT_C void | RemoveImageData | ( | TInt | aIndex | ) | |
Parameters
TInt aIndex | The index into the list. Must not be less than 0 or greater than the value returned by CFrameImageData::ImageDataCount(). |
Reserved_1()
IMPORT_C void | Reserved_1 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called.
Reserved_2()
IMPORT_C void | Reserved_2 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called.
Reserved_3()
IMPORT_C void | Reserved_3 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called.
Reserved_4()
IMPORT_C void | Reserved_4 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called.
Member Data Documentation
RPointerArray< TFrameDataBlock > iFrameData
CImageDataArray & iImageData
TBool
iImageDataOwner
TBool
| iImageDataOwner | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.