wavelength 1.0.0
Loading...
Searching...
No Matches
NoteCondition Class Reference

The note condition, which holds when the last beat was a note. More...

#include <notecondition.h>

Inheritance diagram for NoteCondition:
Collaboration diagram for NoteCondition:

Public Member Functions

 ~NoteCondition () override=default
 Destroy the object.
 NoteCondition (DataArray *pCondition)
 Read the condition.
bool Test () override
 Test the condition.
Public Member Functions inherited from TriggerCondition
virtual ~TriggerCondition ()
 Release the condition.
int GetNegate () const
void SetNegate (int nNegate)
 Set whether the trigger needs the condition to be false.

Additional Inherited Members

Static Public Member Functions inherited from TriggerCondition
static TriggerCondition * New (DataArray *pCondition)
 Build the condition a node describes.

Detailed Description

The note condition, which holds when the last beat was a note.

The RTTI records the class as deriving from TriggerCondition. The object is 0xc bytes. Node 1 is the note, a letter from A through G.

Constructor & Destructor Documentation

◆ ~NoteCondition()

NoteCondition::~NoteCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00375b48
Ghidra address:
PAL: 0x003e4278

◆ NoteCondition()

NoteCondition::NoteCondition ( DataArray * pCondition)
explicit

Read the condition.

A note outside A through G produces a warning.

Parameters
pConditionThe node.
Ghidra address:
NTSC-U/C: 0x00203a80
Ghidra address:
PAL: 0x0020c838

Member Function Documentation

◆ Test()

bool NoteCondition::Test ( )
inlineoverridevirtual

Test the condition.

Returns
Whether the condition holds.
Ghidra address:
NTSC-U/C: 0x00375bc8
Ghidra address:
PAL: 0x003e42f8

Implements TriggerCondition.


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