|
resonance 1.0.1
|
Enquire about one card slot and report what it holds. More...
#include <getconnectstatemct.h>


Public Member Functions | |
| GetConnectStateMCT (MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie) | |
| Construct an idle enquiry with an unknown state. | |
| virtual | ~GetConnectStateMCT () |
| virtual void | OnCheckInfo (CheckInfoOp *pOp) |
| Fill mConnectState from the finished enquiry and report it. | |
| virtual void | Finish () |
| virtual void | Execute () |
| Public Member Functions inherited from MemcardTask | |
| MemcardTask (MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie) | |
| Construct an idle task against one card slot. | |
| MemcardTask (MemcardUser *pUser, Memcard *pCard, int nCookie) | |
| Construct an idle task that does not address a single card slot. | |
| virtual void | UnusedHook () |
| Do nothing. | |
| Public Member Functions inherited from MemcardCBHandler | |
| virtual | ~MemcardCBHandler () |
| Release the receiver. | |
| virtual void | OnEntSpace (EntSpaceOp *pOp) |
| Report a finished free-entry enquiry. | |
| virtual void | OnFormat (FormatOp *pOp) |
| Report a finished format. | |
| virtual void | OnUnformat (UnformatOp *pOp) |
| Report a finished unformat. | |
| virtual void | OnCreateDir (CreateDirOp *pOp) |
| Report a finished directory creation. | |
| virtual void | OnListDir (ListDirOp *pOp) |
| Report a finished directory listing. | |
| virtual void | OnRead (ReadOp *pOp) |
| Report a finished read. | |
| virtual void | OnWrite (WriteOp *pOp) |
| Report a finished write. | |
| virtual void | OnOpenWrite (OpenWriteOp *pOp) |
| Report a finished open for writing. | |
| virtual void | OnOpenRead (OpenReadOp *pOp) |
| Report a finished open for reading. | |
| virtual void | OnClose (CloseOp *pOp) |
| Report a finished close. | |
| virtual void | OnSeek (SeekOp *pOp) |
| Report a finished seek. | |
| virtual void | OnDeleteFile (DeleteFileOp *pOp) |
| Report a finished file deletion. | |
| virtual void | OnRenameFile (RenameFileOp *pOp) |
| Report a finished rename. | |
Additional Inherited Members | |
| Protected Member Functions inherited from MemcardTask | |
| void | HandleError () |
| Abandon the task when the last operation reported a failure. | |
| Protected Attributes inherited from MemcardTask | |
| MemcardUser * | mUser |
| Memcard * | mCard |
| int | mCookie |
| int | mPortSlot |
| int | mState |
| int | mStatus |
Enquire about one card slot and report what it holds.
Its RTTI descriptor is at 0x008ef6a0. It has single inheritance from MemcardTask at offset 0. An instance is 0x34 bytes and the vtable is at 0x007dad98.
The task is the thinnest of the family. It queues one CheckInfo, translates the result into mConnectState, and reports that record by value. The slot's display text comes from g_apszMemcardSlotNames, chosen by matching mPortSlot against g_anMemcardSlotPortSlot, and the search falls back on sceMtapGetConnection() to decide whether a port has a multi-tap.
| GetConnectStateMCT::GetConnectStateMCT | ( | MemcardUser * | pUser, |
| Memcard * | pCard, | ||
| int | nPortSlot, | ||
| int | nCookie ) |
Construct an idle enquiry with an unknown state.
The record starts with its port and slot, its free count and its type all -1 and its formatted flag zero, and its display text an empty string rather than a null one.
| pUser | The receiver Finish() reports to. |
| pCard | The queue the task submits operations to. |
| nPortSlot | The packed port and slot. |
| nCookie | The tag that abandons exactly this task's operations. |
|
virtual |
|
virtual |
Fill mConnectState from the finished enquiry and report it.
The formatted flag is recorded as the result of comparing the operation's own flag against exactly 1, so any other non-zero value arrives as zero.
Reimplemented from MemcardCBHandler.
|
virtual |
|
virtual |