|
resonance 1.0.1
|
Event the game passes between a MsgSource and a MsgSink. More...
#include <allnotesoffmsg.h>


Public Member Functions | |
| AllNotesOffMsg () | |
| Construct a message with the song position at kTickInfinity. | |
| AllNotesOffMsg (int nTick) | |
| Construct a message at a song position. | |
| virtual Message * | Clone () |
| Produce a heap copy of this message. | |
| virtual int | Type () |
| Report this message's registered identity. | |
| virtual const char * | GetName () const |
| Report this message's class name. | |
| virtual int | IsAllNotesOff () |
| Report that this message is an all-notes-off message. | |
| Public Member Functions inherited from MuseMsg | |
| MuseMsg () | |
| Start the song position at kTickInfinity. | |
| MuseMsg (int nTick) | |
| Start the song position at a tick. | |
| MuseMsg * | CloneAndShift (int nTick) |
| Copy this message and move the copy to a song position. | |
| Public Member Functions inherited from Message | |
| void * | operator new (size_t nSize) |
| Allocate a message from the tagged heap under the tag MSG. | |
| void | operator delete (void *pBlock) |
| Release a message to the tagged heap under the tag MSG. | |
| virtual | ~Message () |
| Vtable slot 1. | |
| virtual void | PrintExtra (std::ostream &stream) const |
| Write this message's payload to a stream. | |
| virtual void | saveGuts (OBStream &stream) const |
| Write this message's payload to an output stream. | |
| virtual void | restoreGuts (IBStream &stream) |
| Read this message's payload from an input stream. | |
| std::ostream & | Print (std::ostream &stream) const |
| Write this message to a diagnostic stream as {GetName() PrintExtra()}. | |
Static Public Member Functions | |
| static Message * | New () |
| Produce a default-constructed message on the heap. | |
| Static Public Member Functions inherited from Message | |
| static Message * | NewMessage (int nType) |
| Produce a message of the identified class through the factory list. | |
Additional Inherited Members | |
| Public Attributes inherited from MuseMsg | |
| int | mTick |
| The song position, in MIDI ticks. | |
Event the game passes between a MsgSource and a MsgSink.
Its RTTI descriptor is at 0x008effe0. It has MuseMsg as its one base. The object is 0x8 bytes and its vtable is at 0x007dd438. The allocation in New() and the allocation in Clone() report the same size.
The fields through +0x07 belong to MuseMsg and are declared there.
This class adds no field of its own, and the size is exactly the size of the base, which is what fixes the size of the base.
The table has nine entries and a zero terminator at index 9, one more than MuseMsg's. The class introduces one virtual at slot 8. A second emission of the same table at 0x00812e40 agrees entry for entry.
The destructor at 0x0019a538 is compiler-generated and has no declaration here.
|
inline |
Construct a message with the song position at kTickInfinity.
Inline. New() expands it. A declaration is required because the class declares a second constructor.
|
inlineexplicit |
Construct a message at a song position.
Inline, with no address of its own. AutoRiffer::OnStopRiff() at 0x001993c4 expands it on its stack, storing only the position.
| nTick | The song position, in MIDI ticks. |
|
static |
Produce a default-constructed message on the heap.
The translation unit at 0x003d9818 registers this factory against identity 203.
|
virtual |
Produce a heap copy of this message.
Implements Message.
|
virtual |
Report this message's registered identity.
Implements Message.
|
virtual |
Report this message's class name.
Implements Message.
|
virtual |
Report that this message is an all-notes-off message.
Slot 8, the one virtual this class introduces.
The body returns 1. The image records no direct caller. The title is inferred from a constant result on a virtual only this class declares.