|
resonance 1.0.1
|
Enquiry about the free directory entries under one path. More...
#include <entspaceop.h>


Public Member Functions | |
| EntSpaceOp (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) | |
| Construct an enquiry against one directory. | |
| virtual | ~EntSpaceOp () |
| virtual void | Execute () |
| virtual void | NotifyDone () |
| virtual void | InterpretResult () |
| Report kMemcardStatusOk for any result that is not negative, and kMemcardStatusNotFormatted for sceMcResNoFormat. | |
| 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 directory the enquiry measures. | |
| int | mReserved24 |
| Reserved. | |
| 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 |
Enquiry about the free directory entries under one path.
Its RTTI descriptor is at 0x008ef048. It has single inheritance from MemcardOp at offset 0. An instance is 0x28 bytes and the vtable is at 0x0082be50.
Execute() calls sceMcGetEntSpace(), whose result is the free entry count rather than a status, so InterpretResult() treats every value that is not negative as success. The count survives only in MemcardOp::mResult, because InterpretResult() copies it nowhere.
| EntSpaceOp::EntSpaceOp | ( | MemcardCBHandler * | pHandler, |
| int | nPortSlot, | ||
| const HxStr & | path, | ||
| int | nCookie ) |
Construct an enquiry against one directory.
| pHandler | The receiver NotifyDone() reports to. |
| nPortSlot | The packed port and slot. |
| path | The directory to measure. |
| nCookie | The tag Memcard::Cancel() matches on. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Report kMemcardStatusOk for any result that is not negative, and kMemcardStatusNotFormatted for sceMcResNoFormat.
Reimplemented from MemcardOp.
| HxStr EntSpaceOp::mPath |
The directory the enquiry measures.
+0x1c
| int EntSpaceOp::mReserved24 |
Reserved.
The operation is 0x28 bytes where its recovered members end at 0x24, and the word is neither written by the constructor nor read anywhere in the image. Memcard::EntSpace() is itself never called. The class is never exercised.
+0x24