#include <mmf/server/mmfdes.h>
| class CMMFDescriptor : public CMMFClip |
| Protected Member Functions | |
|---|---|
| CMMFDescriptor() | |
| void | ConstructL(const TDesC8 &) |
| virtual void | ConstructSinkL(const TDesC8 &) |
| virtual void | ConstructSourceL(const TDesC8 &) |
MultiMedia framework class. Represents a client side descriptor. May be source descriptor from which data is read or destination to which data is written
| TInt64 | BytesFree | ( | ) | [virtual] |
Reimplemented from CMMFClip::BytesFree()
Returns the amount of space available for the clip.
This is a virtual function that each derived class must implement.
Returns: The amount of space available.
| void | ConstructSourceL | ( | const TDesC8 & | aInitData | ) | [protected, virtual] |
| CMMFBuffer * | CreateSinkBufferL | ( | TMediaId | aMediaId, |
| TBool & | aReference | |||
| ) | [virtual] | |||
| CMMFBuffer * | CreateSourceBufferL | ( | TMediaId | aMediaId, |
| TBool & | aReference | |||
| ) | [virtual] | |||
| void | EmptyBufferL | ( | CMMFBuffer * | aBuffer, |
| MDataSource * | aSupplier, | |||
| TMediaId | aMediaId | |||
| ) | [virtual] | |||
| void | FillBufferL | ( | CMMFBuffer * | aBuffer, |
| MDataSink * | aConsumer, | |||
| TMediaId | aMediaId | |||
| ) | [virtual] | |||
| void | ReadBufferL | ( | TInt | aLength, |
| CMMFBuffer * | aBuffer, | |||
| TInt | aPosition, | |||
| MDataSink * | aConsumer | |||
| ) | [virtual] | |||
Reimplemented from CMMFClip::ReadBufferL(TInt,CMMFBuffer *,TInt,MDataSink *)
Reads aLength number of bytes of data from the offset, aPosition into the buffer, aBuffer. Intended for asynchronous usage.
This is a virtual function that each derived class must implement.
| Parameter | Description |
|---|---|
| aLength | The number of bytes to read. |
| aBuffer | The buffer to read the data into. |
| aPosition | The offset from which to start reading. |
| aConsumer | The sink of tha data read from the clip. Will be informed of read if not NULL. |
| void | ReadBufferL | ( | CMMFBuffer * | aBuffer, |
| TInt | aPosition, | |||
| MDataSink * | aConsumer | |||
| ) | [virtual] | |||
Reimplemented from CMMFClip::ReadBufferL(CMMFBuffer *,TInt,MDataSink *)
Reads the maximum number of bytes of data from the offset, aPosition into the buffer, aBuffer. Intended for asynchronous usage.
This is a virtual function that each derived class must implement.
| Parameter | Description |
|---|---|
| aBuffer | The buffer to read the data into. |
| aPosition | The offset from which to start reading. |
| aConsumer | The sink of tha data read from the clip. Will be informed of read if not NULL. |
| void | ReadBufferL | ( | CMMFBuffer * | aBuffer, |
| TInt | aPosition | |||
| ) | [virtual] | |||
Reimplemented from CMMFClip::ReadBufferL(CMMFBuffer *,TInt)
Reads the maximum number of bytes of data from the offset, aPosition into the buffer, aBuffer. Intended for synchronous usage.
This is a virtual function that each derived class must implement.
| Parameter | Description |
|---|---|
| aBuffer | The buffer to read the data into. |
| aPosition | The offset from which to start reading. |
Reimplemented from CMMFClip::SetSize(TInt)
Sets the size of the clip. This should be overriden in the derived classes, the default version returns KErrNotSupported.
| Parameter | Description |
|---|---|
| aSize | The size of the clip. |
Returns: An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.
| TInt | Size | ( | ) | [virtual] |
Reimplemented from CMMFClip::Size()
Returns the size of the clip in bytes.
This is a virtual function that each derived class must implement.
Returns: The size of the clip.
| void | WriteBufferL | ( | TInt | aLength, |
| CMMFBuffer * | aBuffer, | |||
| TInt | aPosition, | |||
| MDataSource * | aSupplier | |||
| ) | [virtual] | |||
Reimplemented from CMMFClip::WriteBufferL(TInt,CMMFBuffer *,TInt,MDataSource *)
Writes aLength number of bytes of data from the offset, aPosition from the buffer, aBuffer. Intended for asynchronous usage.
This is a virtual function that each derived class must implement.
| Parameter | Description |
|---|---|
| aLength | The number of bytes to write. |
| aBuffer | The buffer to write the data into. |
| aPosition | The offset from which to start writing. |
| aSupplier | The source of the data writen to the clip. Will be informed of write if not NULL. |
| void | WriteBufferL | ( | CMMFBuffer * | aBuffer, |
| TInt | aPosition, | |||
| MDataSource * | aSupplier | |||
| ) | [virtual] | |||
Reimplemented from CMMFClip::WriteBufferL(CMMFBuffer *,TInt,MDataSource *)
Writes the maximum number of bytes of data from the offset, aPosition from the buffer, aBuffer. Intended for asynchronous usage.
This is a virtual function that each derived class must implement.
| Parameter | Description |
|---|---|
| aBuffer | The buffer to write the data into. |
| aPosition | The offset from which to start writing. |
| aSupplier | The source of the data writen to the clip. Will be informed of write if not NULL. |
| void | WriteBufferL | ( | CMMFBuffer * | aBuffer, |
| TInt | aPosition | |||
| ) | [virtual] | |||
Reimplemented from CMMFClip::WriteBufferL(CMMFBuffer *,TInt)
Writes the maximum number of bytes of data from the offset, aPosition from the buffer, aBuffer. Intended for synchronous usage.
This is a virtual function that each derived class must implement.
| Parameter | Description |
|---|---|
| aBuffer | The buffer to write the data into. |
| aPosition | The offset from which to start writing. |