class MMMFHwDeviceObserver |
The observer class interface for a hardware device listener class.
MMMFHwDeviceObserver provides a generic interface which should be implemented by the classes that are interested in receiving events from the CMMFHwDevice implementation class.
Public Member Functions | |
---|---|
TInt | EmptyThisHwBuffer(CMMFBuffer &) |
void | Error(TInt) |
TInt | FillThisHwBuffer(CMMFBuffer &) |
TInt | MsgFromHwDevice(TUid, const TDesC8 &) |
void | Stopped() |
TInt | EmptyThisHwBuffer | ( | CMMFBuffer & | aHwDataBuffer | ) | [pure virtual] |
Handles CMMFHwDevice object s data request event.
This function is called by the CMMFHwDevice implementation class when it fills encoded data into a buffer.
CMMFBuffer & aHwDataBuffer | The buffer with encoded data. |
void | Error | ( | TInt | aError = KErrNone | ) | [pure virtual] |
Called by a CMMFHwDevice derived class when it stops a decoding/encoding task.
TInt | FillThisHwBuffer | ( | CMMFBuffer & | aHwDataBuffer | ) | [pure virtual] |
Handles CMMFHwDevice object s data request event.
This function is called by the CMMFHwDevice implementation class when it needs data for decoding.
CMMFBuffer & aHwDataBuffer | The buffer to fill the data. |
TInt | MsgFromHwDevice | ( | TUid | aMessageType, |
const TDesC8 & | aMsg | |||
) | [pure virtual] |
Handles the CMMFHwDevice object s message event.
This function is called by the CMMFHwDevice implementation class when a message is generated and passed back to the observer.
void | Stopped | ( | ) | [pure virtual] |
Called by a CMMFHwDevice derived class when it stops a decoding/encoding task.
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.