|
resonance 1.0.1
|
Close of an open memory-card file. More...
#include <closeop.h>


Public Member Functions | |
| CloseOp (MemcardCBHandler *pHandler, int nFile, int nCookie) | |
| Construct a close against an open descriptor. | |
| virtual | ~CloseOp () |
| virtual void | Execute () |
| virtual void | NotifyDone () |
| virtual void | InterpretResult () |
| Map sceMcResNoFormat to kMemcardStatusNotFormatted and sceMcResNoEntry to kMemcardStatusBadFile, and report kMemcardStatusOk for zero alone. | |
| Public Member Functions inherited from MemcardOp | |
| MemcardOp (MemcardCBHandler *pHandler, int nPortSlot, int nCookie) | |
| Construct an operation against one card slot, with no libmc call issued yet. | |
| MemcardOp (MemcardCBHandler *pHandler, int nCookie) | |
| Construct an operation against an open descriptor alone. | |
| virtual | ~MemcardOp () |
| Release the operation. | |
Public Attributes | |
| int | mFile |
| The descriptor to close. | |
| Public Attributes inherited from MemcardOp | |
| int | mCookie |
| Ticket number Memcard::Cancel() matches on. | |
| int | mIssued |
| Zero until Execute() has run, then 1 while libmc is servicing the call. | |
| int | mResult |
| The libmc result, as sceMcSync() delivered it. | |
| int | mStatus |
| One of MemcardStatus, written by InterpretResult(). | |
Additional Inherited Members | |
| Protected Attributes inherited from MemcardOp | |
| int | mPortSlot |
| MemcardCBHandler * | mHandler |
Close of an open memory-card file.
Its RTTI descriptor is at 0x008ee460. It has single inheritance from MemcardOp at offset 0. An instance is 0x20 bytes and the vtable is at 0x0082bc70.
The constructor never writes MemcardOp::mPortSlot, which makes this class and SeekOp the two operations that address a descriptor alone.
| CloseOp::CloseOp | ( | MemcardCBHandler * | pHandler, |
| int | nFile, | ||
| int | nCookie ) |
Construct a close against an open descriptor.
| pHandler | The receiver NotifyDone() reports to. |
| nFile | The descriptor to close. |
| nCookie | The tag Memcard::Cancel() matches on. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Map sceMcResNoFormat to kMemcardStatusNotFormatted and sceMcResNoEntry to kMemcardStatusBadFile, and report kMemcardStatusOk for zero alone.
Reimplemented from MemcardOp.
| int CloseOp::mFile |
The descriptor to close.
+0x1c