wavelength 1.0.0
Loading...
Searching...
No Matches
MuseLooper::RepeatCmd Class Reference

Command that restarts the piece of a looper at the end of each loop. More...

#include <muselooper.h>

Inheritance diagram for MuseLooper::RepeatCmd:
Collaboration diagram for MuseLooper::RepeatCmd:

Public Member Functions

 ~RepeatCmd () override=default
 Destroy the object.
 RepeatCmd (MuseLooper *pLooper)
 Construct the command of a looper.
void Execute () override
 Restart the piece and schedule the end of the new loop.
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 restarts the piece of a looper at the end of each loop.

The RTTI includes the nested name and records Command as the base.

Constructor & Destructor Documentation

◆ ~RepeatCmd()

MuseLooper::RepeatCmd::~RepeatCmd ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0034ee50
Ghidra address:
PAL: 0x003bc278

◆ RepeatCmd()

MuseLooper::RepeatCmd::RepeatCmd ( MuseLooper * pLooper)
inlineexplicit

Construct the command of a looper.

Parameters
pLooperThe looper.

Member Function Documentation

◆ Execute()

void MuseLooper::RepeatCmd::Execute ( )
overridevirtual

Restart the piece and schedule the end of the new loop.

Ghidra address:
NTSC-U/C: 0x0034eec8
Ghidra address:
PAL: 0x003bc2f0

Implements Command.


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