|
resonance 1.0.1
|
Receiver of the first read of every movie stream. More...
#include <movieasynccallback.h>


Public Member Functions | |
| virtual void | Done (int nHandle, int nFile, void *pBuffer, int nLength, int nStatus) |
| Hand the completed read to the stream that queued it. | |
| Public Member Functions inherited from AsyncCallback | |
| virtual | ~AsyncCallback () |
| Release the receiver. | |
Receiver of the first read of every movie stream.
It derives publicly from AsyncCallback at offset 0. One instance at 0x00767940 serves every Rnd::AMovieSet. Its destructor at 0x00580708 and its type accessor at 0x00580738 are compiler-generated.
|
virtual |
Hand the completed read to the stream that queued it.
The pending list is searched for the stream whose request nHandle is. A failed read, or a header Rnd::AMovieSet::ParseHeader() rejects, is fatal. Otherwise the stream is marked loaded. The stream then leaves the list. A handle no stream owns is fatal.
| nHandle | The request identifier. |
| nFile | The file the read was issued against. |
| pBuffer | The buffer the read filled. |
| nLength | The bytes read. |
| nStatus | Zero on success, or a positive failure code. |
Implements AsyncCallback.