class CMMFTransferBuffer : public CMMFDataBuffer |
Public Member Functions | |
---|---|
~CMMFTransferBuffer() | |
TUint | BufferSize() |
TDes8 & | Data() |
const TDesC8 & | Data() |
IMPORT_C void | MapOutBuffer() |
IMPORT_C CMMFTransferBuffer * | NewL(RTransferWindow &, TUint) |
void | SetPosition(TUint) |
void | SetRequestSizeL(TInt) |
IMPORT_C RTransferWindow & | TransferWindow() |
IMPORT_C TInt | UpdateTransferWindow(RTransferWindow &, TUint) |
Private Member Functions | |
---|---|
CMMFTransferBuffer() | |
void | ConstructL(RTransferWindow &, TUint) |
Private Attributes | |
---|---|
TPtr8 | iPtr |
RTransferWindow | iTransferWindow |
TBool | iTransferWindowMappedInOK |
Inherited Attributes | |
---|---|
CMMFBuffer::iFrameNumber | |
CMMFBuffer::iLastBuffer | |
CMMFBuffer::iPosition | |
CMMFBuffer::iRequestSize | |
CMMFBuffer::iStatus | |
CMMFBuffer::iTimeToPlay | |
CMMFBuffer::iType |
TUint | BufferSize | ( | ) | const [virtual] |
Returns the buffer size, in bytes.
This is a virtual function that each derived class must implement.
The buffer size in bytes.
void | ConstructL | ( | RTransferWindow & | aTransferWindow, |
TUint | aDataLength | |||
) | [private] |
RTransferWindow & aTransferWindow | |
TUint aDataLength |
TDes8 & | Data | ( | ) | [virtual] |
Returns a reference to the data contained in the buffer (non const version).
This is a virtual function that each derived class must implement.
A reference to the buffer.
const TDesC8 & | Data | ( | ) | const [virtual] |
Returns a reference to the data contained in the buffer (const version).
This is a virtual function that each derived class must implement.
A reference to the buffer.
IMPORT_C CMMFTransferBuffer * | NewL | ( | RTransferWindow & | aTransferWindow, |
TUint | aDataLength = 0 | |||
) | [static] |
RTransferWindow & aTransferWindow | |
TUint aDataLength = 0 |
void | SetPosition | ( | TUint | aPosition | ) | [virtual] |
Sets the current buffer read/write position. Used as read/write position on a buffer where a codec may need several passes on the same buffer.
TUint aPosition | The buffer's number. |
void | SetRequestSizeL | ( | TInt | aSize | ) | [virtual] |
Sets the request size.
Used where a component, such as a data source, may not be able to write to the entire maximum length of the buffer (variable bit rate codecs for example).
This is a virtual function that each derived class must implement.
TInt aSize | The requested size, in bytes. |
IMPORT_C TInt | UpdateTransferWindow | ( | RTransferWindow & | aTransferWindow, |
TUint | aDataLength = 0 | |||
) |
RTransferWindow & aTransferWindow | |
TUint aDataLength = 0 |