|
resonance 1.0.1
|
PlayStation 2 implementation of the memory-card queue. More...
#include <memcardps2.h>


Public Member Functions | |
| MemcardPS2 () | |
| Construct an empty queue. | |
| virtual | ~MemcardPS2 () |
| virtual void | Update () |
| Advance the head of the queue by one step. | |
| Public Member Functions inherited from Memcard | |
| Memcard () | |
| Construct an empty queue. | |
| virtual | ~Memcard () |
| Release the queue. | |
| void | CheckInfo (MemcardCBHandler *pHandler, int nPortSlot, int nCookie) |
| Queue an enquiry about the card in one slot. | |
| void | EntSpace (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) |
| Queue an enquiry about the free directory entries under one path. | |
| void | Format (MemcardCBHandler *pHandler, int nPortSlot, int nCookie) |
| Queue a format of the card in one slot. | |
| void | Unformat (MemcardCBHandler *pHandler, int nPortSlot, int nCookie) |
| Queue an unformat of the card in one slot. | |
| void | CreateDir (MemcardCBHandler *pHandler, int nPortSlot, HxStr path, int nCookie) |
| Queue the creation of one directory. | |
| void | ListDir (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie, unsigned nMode) |
| Queue a listing of one directory. | |
| void | Read (MemcardCBHandler *pHandler, int nPortSlot, int nFile, void *pBuffer, int nLength, int nCookie) |
| Queue a read from an open descriptor. | |
| void | Write (MemcardCBHandler *pHandler, int nPortSlot, int nFile, const void *pBuffer, int nLength, int nCookie) |
| Queue a write to an open descriptor. | |
| void | Seek (MemcardCBHandler *pHandler, int nFile, int nOffset, int nOrigin, int nCookie) |
| Queue a move of the position of an open descriptor. | |
| void | OpenWrite (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) |
| Queue an open for writing. | |
| void | OpenRead (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) |
| Queue an open for reading. | |
| void | Close (MemcardCBHandler *pHandler, int nFile, int nCookie) |
| Queue a close of an open descriptor. | |
| void | DeleteFile (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) |
| Queue the deletion of one file or directory. | |
| void | RenameFile (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &oldPath, const HxStr &newPath, int nCookie) |
| Queue a rename. | |
| void | Cancel (int nCookie) |
| Discard every queued operation that was queued with one tag. | |
Additional Inherited Members | |
| Protected Attributes inherited from Memcard | |
| std::list< MemcardOp * > | mOps |
PlayStation 2 implementation of the memory-card queue.
Its RTTI descriptor is at 0x0090aa70. It has single inheritance from Memcard at offset 0. An instance is eight bytes, the size of the base alone, and the vtable is at 0x0082bbf0.
The class adds no data. Its whole contribution is Update(), which is where libmc is polled.
| MemcardPS2::MemcardPS2 | ( | ) |
Construct an empty queue.
|
virtual |
|
virtual |
Advance the head of the queue by one step.
An unissued head is issued and the call returns, which spends at most one libmc command per step. An issued head is polled with sceMcSync() in its non-blocking mode. A finished call has its result recorded on the operation, is reported through MemcardOp::NotifyDone(), and is then destroyed and removed. A head with any other value in MemcardOp::mIssued is ignored.
Reimplemented from Memcard.