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

Effect that reports its identity and does no work of its own. More...

#include <ghostnoteseffector.h>

Inheritance diagram for GhostNotesEffector:
Collaboration diagram for GhostNotesEffector:

Public Member Functions

virtual ~GhostNotesEffector ()
virtual int Type ()
 Report which effect this object applies.
virtual void SetEnabled (int bEnabled)
 Do nothing.
Public Member Functions inherited from Effector
 Effector ()
virtual ~Effector ()
Public Member Functions inherited from MsgSource
virtual ~MsgSource ()
virtual void AddSink (MsgSink *pSink)
 Register a sink, ignoring a sink that is already registered.
virtual void RemoveSink (MsgSink *pSink)
 Unregister the first occurrence of a sink.
void Send (Message *pMsg) const
 Deliver a message to every registered sink, in registration order.
void ClearSinks ()
 Unregister every sink.

Additional Inherited Members

Static Public Member Functions inherited from Effector
static Effector * CreateForType (int nType, unsigned char nChannel, int nTrack)
 Build the effect one type selects.
Public Attributes inherited from MsgSource
int mGraphBuilt
 A word no member of this class reads.

Detailed Description

Effect that reports its identity and does no work of its own.

Its RTTI descriptor is at 0x008f0110. It has Effector as its one base. The class declares no data member, and the factory at 0x001a0df0 allocates 0x14 bytes for it. That allocation is the size of the base alone, and it therefore fixes the size of the base as well.

The table at 0x007de7a0 runs GetTypeInfo, the destructor, the two inherited MsgSource registration routines, then Type() and SetEnabled().

SetEnabled() has an empty body. The ghost-notes powerup therefore does not act through this object, and the object exists only for Type() to report. An effect the synthesiser does not implement as a control change still needs an Effector for the powerup that selects it.

Constructor & Destructor Documentation

◆ ~GhostNotesEffector()

virtual GhostNotesEffector::~GhostNotesEffector ( )
virtual
Ghidra address:
NTSC-U/C: 0x001a1cf8
Ghidra address:
PAL: 0x001a7a60

Member Function Documentation

◆ Type()

virtual int GhostNotesEffector::Type ( )
virtual

Report which effect this object applies.

Returns
kEffectorTypeGhostNotes.
Ghidra address:
NTSC-U/C: 0x001a1e30
Ghidra address:
PAL: 0x001a7b98

Implements Effector.

◆ SetEnabled()

virtual void GhostNotesEffector::SetEnabled ( int bEnabled)
virtual

Do nothing.

Parameters
bEnabledIgnored.
Ghidra address:
NTSC-U/C: 0x001a1e38
Ghidra address:
PAL: 0x001a7ba0

Reimplemented from Effector.


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