|
resonance 1.0.1
|
Open of one memory-card file for writing, creating it when it is absent. More...
#include <openwriteop.h>


Public Member Functions | |
| OpenWriteOp (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) | |
| Construct an open for writing. | |
| virtual | ~OpenWriteOp () |
| virtual void | Execute () |
| virtual void | NotifyDone () |
| virtual void | InterpretResult () |
| Record the descriptor, or map the failure through a jump table. | |
| 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 | |
| HxStr | mPath |
| The file to open. | |
| int | mFile |
| The descriptor, valid once mStatus is kMemcardStatusOk. | |
| 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 |
Open of one memory-card file for writing, creating it when it is absent.
Its RTTI descriptor is at 0x008efb30. It has single inheritance from MemcardOp at offset 0. An instance is 0x28 bytes and the vtable is at 0x0082bcd0.
Execute() passes sceMcFileCreateFile | sceMcFileAttrWriteable as the open mode, which is the one difference from OpenReadOp.
| OpenWriteOp::OpenWriteOp | ( | MemcardCBHandler * | pHandler, |
| int | nPortSlot, | ||
| const HxStr & | path, | ||
| int | nCookie ) |
Construct an open for writing.
| pHandler | The receiver NotifyDone() reports to. |
| nPortSlot | The packed port and slot. |
| path | The file to open. |
| nCookie | The tag Memcard::Cancel() matches on. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Record the descriptor, or map the failure through a jump table.
The table at 0x0082bff0 covers the six libmc codes from sceMcResUpLimitHandle up to sceMcResNoFormat, indexed by the result plus seven.
Reimplemented from MemcardOp.
| HxStr OpenWriteOp::mPath |
The file to open.
+0x1c
| int OpenWriteOp::mFile |
The descriptor, valid once mStatus is kMemcardStatusOk.
+0x24