CMMFTransferBuffer Class Reference

class CMMFTransferBuffer : public CMMFDataBuffer

Inherits from

Public Member Functions
~CMMFTransferBuffer()
TUint BufferSize()
TDes8 &Data()
const TDesC8 &Data()
IMPORT_C voidMapOutBuffer()
IMPORT_C CMMFTransferBuffer *NewL(RTransferWindow &, TUint)
voidSetPosition(TUint)
voidSetRequestSizeL(TInt)
IMPORT_C RTransferWindow &TransferWindow()
IMPORT_C TIntUpdateTransferWindow(RTransferWindow &, TUint)
Private Member Functions
CMMFTransferBuffer()
voidConstructL(RTransferWindow &, TUint)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMMFBuffer::CMMFBuffer(TUid)
CMMFBuffer::FrameNumber()const
CMMFBuffer::IsFileServerSafe(TUid)
CMMFBuffer::IsSupportedDataBuffer(TUid)
CMMFBuffer::LastBuffer()const
CMMFBuffer::NextFrame()
CMMFBuffer::Position()const
CMMFBuffer::RequestSize()const
CMMFBuffer::SetFrameNumber(TUint)
CMMFBuffer::SetLastBuffer(TBool)
CMMFBuffer::SetStatus(TBufferStatus)
CMMFBuffer::SetTimeToPlay(TTimeIntervalMicroSeconds)
CMMFBuffer::Status()
CMMFBuffer::TimeToPlay()const
CMMFBuffer::Type()const
CMMFBuffer::~CMMFBuffer()
CMMFDataBuffer::CMMFDataBuffer(TUid)
CMMFDataBuffer::NewL()
CMMFDataBuffer::NewL(TInt)
CMMFDataBuffer::~CMMFDataBuffer()
Private Attributes
TPtr8 iPtr
RTransferWindow iTransferWindow
TBool iTransferWindowMappedInOK
Inherited Attributes
CMMFBuffer::iFrameNumber
CMMFBuffer::iLastBuffer
CMMFBuffer::iPosition
CMMFBuffer::iRequestSize
CMMFBuffer::iStatus
CMMFBuffer::iTimeToPlay
CMMFBuffer::iType

Constructor & Destructor Documentation

CMMFTransferBuffer()

CMMFTransferBuffer()[private, inline]

Private constructor.

~CMMFTransferBuffer()

IMPORT_C~CMMFTransferBuffer()

Member Functions Documentation

BufferSize()

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.

ConstructL(RTransferWindow &, TUint)

voidConstructL(RTransferWindow &aTransferWindow,
TUintaDataLength
)[private]

Parameters

RTransferWindow & aTransferWindow
TUint aDataLength

Data()

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.

Data()

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.

MapOutBuffer()

IMPORT_C voidMapOutBuffer()

NewL(RTransferWindow &, TUint)

IMPORT_C CMMFTransferBuffer *NewL(RTransferWindow &aTransferWindow,
TUintaDataLength = 0
)[static]

Parameters

RTransferWindow & aTransferWindow
TUint aDataLength = 0

SetPosition(TUint)

voidSetPosition(TUintaPosition)[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.

Parameters

TUint aPositionThe buffer's number.

SetRequestSizeL(TInt)

voidSetRequestSizeL(TIntaSize)[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.

Parameters

TInt aSizeThe requested size, in bytes.

TransferWindow()

IMPORT_C RTransferWindow &TransferWindow()

UpdateTransferWindow(RTransferWindow &, TUint)

IMPORT_C TIntUpdateTransferWindow(RTransferWindow &aTransferWindow,
TUintaDataLength = 0
)

Parameters

RTransferWindow & aTransferWindow
TUint aDataLength = 0

Member Data Documentation

TPtr8 iPtr

TPtr8 iPtr[private]

RTransferWindow iTransferWindow

RTransferWindow iTransferWindow[private]

TBool iTransferWindowMappedInOK

TBool iTransferWindowMappedInOK[private]