wavelength 1.0.0
Loading...
Searching...
No Matches
TrackCapturer::SetCaptureStartCmd Class Reference

Command that looks for the next run from a bar. More...

#include <trackcapturer.h>

Inheritance diagram for TrackCapturer::SetCaptureStartCmd:
Collaboration diagram for TrackCapturer::SetCaptureStartCmd:

Public Member Functions

 ~SetCaptureStartCmd () override=default
 Destroy the object.
 SetCaptureStartCmd (TrackCapturer *pCapturer)
 Construct the command of a capturer.
void Execute () override
 Look for the next run from mBar.
void SetBar (int nBar)
 Set the bar to look from.
Public Member Functions inherited from Command
 ~Command () override
 Release the command.
virtual bool IsSerializable ()
 Report whether a recording saves the command.
virtual int GetSerialId ()
 Report the identifier a recording rebuilds the command by.
virtual void Save (BinStream &stream) const
 Write the command to a recording.
virtual void Load (BinStream &stream)
 Read the command Save() writes.
Public Member Functions inherited from Attachment
 Attachment ()
 Construct an object with no reference.
virtual ~Attachment ()
 Release the object.
void AddRef ()
 Take one reference.
void Release ()
 Give back one reference and delete the object once the last one is gone.

Additional Inherited Members

Static Public Member Functions inherited from Attachment
static void ReleaseIfSet (Attachment *pAttachment)
 Give back one reference to an object that may be null.

Detailed Description

Command that looks for the next run from a bar.

The RTTI includes the nested name and records Command as the base. UpdateRun() schedules it one bar ahead while no run lies near.

Constructor & Destructor Documentation

◆ ~SetCaptureStartCmd()

TrackCapturer::SetCaptureStartCmd::~SetCaptureStartCmd ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0034d070
Ghidra address:
PAL: 0x003ba4a0

◆ SetCaptureStartCmd()

TrackCapturer::SetCaptureStartCmd::SetCaptureStartCmd ( TrackCapturer * pCapturer)
inlineexplicit

Construct the command of a capturer.

Parameters
pCapturerThe capturer.

Member Function Documentation

◆ Execute()

void TrackCapturer::SetCaptureStartCmd::Execute ( )
inlineoverridevirtual

Look for the next run from mBar.

Ghidra address:
NTSC-U/C: 0x0034d0e8
Ghidra address:
PAL: 0x003ba518

Implements Command.

◆ SetBar()

void TrackCapturer::SetCaptureStartCmd::SetBar ( int nBar)
inline

Set the bar to look from.

Parameters
nBarThe bar.

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