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

Producer of the gems a guitar or vocal track presents, in its later form. More...

#include <axenewgemmaker.h>

Inheritance diagram for AxeNewGemMaker:
Collaboration diagram for AxeNewGemMaker:

Public Member Functions

 AxeNewGemMaker (const TrackData *pTrackData)
virtual void DispatchPriv (Message *pMsg)
 Act on a message.
Public Member Functions inherited from MsgSink
void * operator new (size_t nSize)
 Allocate a sink from the tagged heap under the tag "MsgSink".
void operator delete (void *pBlock)
 Release a sink to the tagged heap.
virtual ~MsgSink ()
virtual void Dispatch (Message *pMsg)
 Accept a message.
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

Public Attributes inherited from MsgSource
int mGraphBuilt
 A word no member of this class reads.

Detailed Description

Producer of the gems a guitar or vocal track presents, in its later form.

Its RTTI descriptor is at 0x008efc20. It is built over MsgSink at offset 0 and MsgSource at offset 4. Its primary table is at 0x007dee40 with four entries and its MsgSource subobject table at 0x007dee18 with four. The object is 0x2c bytes, which the tagged allocations in AxingSTG and VoxingSTG both measure.

The maker turns the live MIDI of mPlayer into gems as it arrives. A note-on becomes a DurGemMsg 80 ticks long, and the sustain pedal on controller 46 opens and closes a SusGemMsg strip.

The destructor at 0x001a2e48 is implicitly declared. It destroys MsgSource's vector and releases the object under MsgSink's tag.

Constructor & Destructor Documentation

◆ AxeNewGemMaker()

AxeNewGemMaker::AxeNewGemMaker ( const TrackData * pTrackData)
explicit
Parameters
pTrackDataThe track description. The constructor copies its track and retains it.
Ghidra address:
NTSC-U/C: 0x001a2da0
Ghidra address:
PAL: 0x001a8b08

Member Function Documentation

◆ DispatchPriv()

virtual void AxeNewGemMaker::DispatchPriv ( Message * pMsg)
virtual

Act on a message.

A TrackSelectMsg for this track with a zero second word installs its player. An AxisRegisterMsg from mPlayer stores its value, whatever its track. An AxisFXMsg is ignored, and a StdMidiMsg goes to PostGemMessages().

Parameters
pMsgThe message.
Ghidra address:
NTSC-U/C: 0x001a46e0
Ghidra address:
PAL: 0x001aa448

Implements MsgSink.


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