Command that sends the note on and, the second time it runs, the note off.
More...
#include <notemusebase.h>
|
| static void * | operator new (size_t nSize) |
| | Allocate a command from the pool.
|
| static void | operator delete (void *pBlock) |
| | Return a command to the pool.
|
| static void | ReleaseIfSet (Attachment *pAttachment) |
| | Give back one reference to an object that may be null.
|
Command that sends the note on and, the second time it runs, the note off.
The RTTI includes the nested name and records Command as the base. The allocations come from the pool of fixed-size blocks, billed to the tag "NoteMuse cmd".
◆ NoteCommand()
| NoteMuseBase::NoteCommand::NoteCommand |
( |
NoteMuseBase * | pMuse | ) |
|
|
inlineexplicit |
Construct the command of a note.
- Parameters
-
◆ ~NoteCommand()
| NoteMuseBase::NoteCommand::~NoteCommand |
( |
| ) |
|
|
overridedefault |
Release the command.
- Ghidra address:
- NTSC-U/C: 0x0034ebc8
- Ghidra address:
- PAL: 0x003bbff0
◆ operator new()
| void * NoteMuseBase::NoteCommand::operator new |
( |
size_t | nSize | ) |
|
|
inlinestatic |
Allocate a command from the pool.
- Parameters
-
- Returns
- The block.
◆ operator delete()
| void NoteMuseBase::NoteCommand::operator delete |
( |
void * | pBlock | ) |
|
|
inlinestatic |
Return a command to the pool.
- Parameters
-
◆ Execute()
| void NoteMuseBase::NoteCommand::Execute |
( |
| ) |
|
|
overridevirtual |
Send the note on, or the note off when the note sounds.
- Ghidra address:
- NTSC-U/C: 0x0034ec20
- Ghidra address:
- PAL: 0x003bc048
Implements Command.
◆ Cancel()
| void NoteMuseBase::NoteCommand::Cancel |
( |
| ) |
|
Silence the note when it sounds and withdraw the command.
- Ghidra address:
- NTSC-U/C: 0x0034ec70
- Ghidra address:
- PAL: 0x003bc098
◆ NoteOff()
| void NoteMuseBase::NoteCommand::NoteOff |
( |
| ) |
|
Send the note off.
- Ghidra address:
- NTSC-U/C: 0x0034ecc0
- Ghidra address:
- PAL: 0x003bc0e8
◆ NoteOn()
| void NoteMuseBase::NoteCommand::NoteOn |
( |
| ) |
|
Send the note on and report it to the receiver of the note.
- Ghidra address:
- NTSC-U/C: 0x0034ed40
- Ghidra address:
- PAL: 0x003bc168
◆ GetMuse()
◆ GetScheduler()
| Scheduler * NoteMuseBase::NoteCommand::GetScheduler |
( |
| ) |
const |
|
inline |
- Returns
- The scheduler that queued the command, or null.
◆ SetScheduler()
| void NoteMuseBase::NoteCommand::SetScheduler |
( |
Scheduler * | pScheduler | ) |
|
|
inline |
- Parameters
-
| pScheduler | The scheduler that queued the command, or null. |
The documentation for this class was generated from the following file: