resonance 1.0.1
Loading...
Searching...
No Matches
SequencerCmd Class Reference

Scheduler command that runs a sequencer's next dispatch. More...

#include <sequencercmd.h>

Inheritance diagram for SequencerCmd:
Collaboration diagram for SequencerCmd:

Public Member Functions

 SequencerCmd (GenericSequencer *pOwner)
 Point the command at its sequencer.
virtual int CmdID ()
 Report sCmdID.
virtual void Execute ()
 Run GenericSequencer::Dispatch() on the owner.
virtual void Print (std::ostream &stream)
 Write {Sequencer}.
Public Member Functions inherited from Sch::Command
 Command ()
 Construct a command that the scheduler has not queued.
virtual ~Command ()
 Release the command.
virtual void saveGuts (OBStream &stream) const
 Write this command's payload.
virtual void restoreGuts (IBStream &stream)
 Read this command's payload back.
Public Member Functions inherited from Attachment
 Attachment ()
virtual ~Attachment ()
int Release ()
 Give back one reference and destroy the object once the last one is gone.
virtual void Destroy ()
 Destroy the object.

Static Public Attributes

static int sCmdID
 The class's command identifier, which the image initialises to zero.

Additional Inherited Members

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 Public Member Functions inherited from Attachment
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.
Public Attributes inherited from Attachment
int mRefs

Detailed Description

Scheduler command that runs a sequencer's next dispatch.

Its RTTI descriptor is at 0x008ef260. It derives publicly from Sch::Command at offset 0. Its type function is at 0x00100b00 and its table at 0x007cc838 retains Sch::Command::saveGuts() and restoreGuts(). Sequencer::ScheduleNext() allocates the 0x10-byte object with the untagged allocator and expands the constructor. The destructor at 0x00100ad8 is implicitly declared.

Constructor & Destructor Documentation

◆ SequencerCmd()

SequencerCmd::SequencerCmd ( GenericSequencer * pOwner)
inlineexplicit

Point the command at its sequencer.

Parameters
pOwnerThe sequencer to run.

Member Function Documentation

◆ CmdID()

virtual int SequencerCmd::CmdID ( )
virtual

Report sCmdID.

Returns
The class's command identifier.
Ghidra address:
NTSC-U/C: 0x00100b50
Ghidra address:
PAL: 0x00100b50

Implements Sch::Command.

◆ Execute()

virtual void SequencerCmd::Execute ( )
virtual

Run GenericSequencer::Dispatch() on the owner.

Ghidra address:
NTSC-U/C: 0x00100b60
Ghidra address:
PAL: 0x00100b60

Implements Sch::Command.

◆ Print()

virtual void SequencerCmd::Print ( std::ostream & stream)
virtual

Write {Sequencer}.

Parameters
streamThe stream to write to.
Ghidra address:
NTSC-U/C: 0x00100b90
Ghidra address:
PAL: 0x00100b90

Reimplemented from Sch::Command.

Member Data Documentation

◆ sCmdID

int SequencerCmd::sCmdID
static

The class's command identifier, which the image initialises to zero.

Ghidra address:
NTSC-U/C: 0x00675e50
Ghidra address:
PAL: 0x006b6a78

The documentation for this class was generated from the following file: