|
resonance 1.0.1
|
Enquiry about the card in one slot. More...
#include <checkinfoop.h>


Public Member Functions | |
| CheckInfoOp (MemcardCBHandler *pHandler, int nPortSlot, int nCookie) | |
| Construct an enquiry against one slot. | |
| virtual | ~CheckInfoOp () |
| virtual void | Execute () |
| virtual void | NotifyDone () |
| virtual void | InterpretResult () |
| Report kMemcardStatusNotFormatted for sceMcResNoFormat, and kMemcardStatusOk for both zero and sceMcResChangedCard. | |
| 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 | mType |
| One of sceMcTypeNoCard, sceMcTypePS1, sceMcTypePS2 or sceMcTypePDA. | |
| int | mFormatted |
| Non-zero once the card is formatted. | |
| int | mFree |
| Free clusters on the card. | |
| 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 card in one slot.
Its RTTI descriptor is at 0x008efba0. It has single inheritance from MemcardOp at offset 0. An instance is 0x28 bytes and the vtable is at 0x0082be80.
Execute() calls sceMcGetInfo(), which fills all three result members at once.
| CheckInfoOp::CheckInfoOp | ( | MemcardCBHandler * | pHandler, |
| int | nPortSlot, | ||
| int | nCookie ) |
Construct an enquiry against one slot.
| pHandler | The receiver NotifyDone() reports to. |
| nPortSlot | The packed port and slot. |
| nCookie | The tag Memcard::Cancel() matches on. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Report kMemcardStatusNotFormatted for sceMcResNoFormat, and kMemcardStatusOk for both zero and sceMcResChangedCard.
A changed card is therefore not an error here, and a positive result is.
Reimplemented from MemcardOp.
| int CheckInfoOp::mType |
One of sceMcTypeNoCard, sceMcTypePS1, sceMcTypePS2 or sceMcTypePDA.
+0x1c
| int CheckInfoOp::mFormatted |
Non-zero once the card is formatted.
+0x20
| int CheckInfoOp::mFree |
Free clusters on the card.
+0x24