Scheduler command that ends a recording.
More...
#include <endrecordingcmd.h>
|
| static int | sCmdID |
| | Identifier the class streams itself under.
|
|
| Static Public Member Functions inherited from Sch::Command |
| static Command * | NewCommand (int nCmdID) |
| | Produce a command of the identified class through the factory list.
|
| static void | ReleaseIfSet (Attachment *pAttachment) |
| | Give back one reference to an object that may be null.
|
| Public Attributes inherited from Sch::Command |
| int | mQueued |
| | Non-zero while the command sits in the scheduler's queue.
|
| int | mRefs |
Scheduler command that ends a recording.
EndRecordingCmd is one of the five ordinary Sch::Command subclasses. Its table at 0x007cdcb0 has nine entries: it overrides saveGuts() with an empty body of its own, inherits Sch::Command::restoreGuts() at 0x00539f28, and adds one virtual of its own at slot 8, which is empty. GameRecorder::ScheduleEnd() allocates the 0x10-byte object with the untagged allocator and expands the constructor. The static initialiser of the unit registers NewEndRecordingCmd() under identifier 6 with the factory registrar.
The destructor at 0x0010ef30 is implicitly declared.
◆ EndRecordingCmd() [1/2]
| EndRecordingCmd::EndRecordingCmd |
( |
| ) |
|
|
inline |
◆ EndRecordingCmd() [2/2]
| EndRecordingCmd::EndRecordingCmd |
( |
GameRecorder * | pRecorder | ) |
|
|
inlineexplicit |
Prepare the end of one recording.
- Parameters
-
| pRecorder | The recorder to end. |
◆ CmdID()
| virtual int EndRecordingCmd::CmdID |
( |
| ) |
|
|
virtual |
Report sCmdID.
- Returns
- The class's command identifier.
- Ghidra address:
- NTSC-U/C: 0x0010efc8
- Ghidra address:
- PAL: 0x0010f428
Implements Sch::Command.
◆ Execute()
| virtual void EndRecordingCmd::Execute |
( |
| ) |
|
|
virtual |
◆ Print()
| virtual void EndRecordingCmd::Print |
( |
std::ostream & | stream | ) |
|
|
virtual |
Write {EndRecordingCmd}.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0010efe8
- Ghidra address:
- PAL: 0x0010f448
Reimplemented from Sch::Command.
◆ saveGuts()
| virtual void EndRecordingCmd::saveGuts |
( |
OBStream & | stream | ) |
const |
|
virtual |
Write nothing.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0010efd8
- Ghidra address:
- PAL: 0x0010f438
Reimplemented from Sch::Command.
◆ UnusedHook()
| virtual void EndRecordingCmd::UnusedHook |
( |
| ) |
|
|
virtual |
Do nothing.
Slot 8, the one virtual this class adds.
The body is empty and no caller is recovered.
- Ghidra address:
- NTSC-U/C: 0x0010efe0
- Ghidra address:
- PAL: 0x0010f440
◆ sCmdID
| int EndRecordingCmd::sCmdID |
|
static |
Identifier the class streams itself under.
The word at 0x006693e8 starts as 6.
- Ghidra address:
- NTSC-U/C: 0x006693e8
- Ghidra address:
- PAL: 0x006a9f78
The documentation for this class was generated from the following file: