resonance 1.0.1
Loading...
Searching...
No Matches
invalidatetrackmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
23public:
32
43 InvalidateTrackMsg(int nFirstBar, int nEndBar, int nTrack)
44 : mFirstBar(nFirstBar), mEndBar(nEndBar), mTrack(nTrack) {
45 }
46
56 static Message *New();
57
65 virtual Message *Clone();
66
74 virtual int Type();
75
83 virtual const char *GetName() const;
84
93 virtual void PrintExtra(std::ostream &stream) const;
94
96 int mEndBar;
97 int mTrack;
98};
99
int mEndBar
Definition invalidatetrackmsg.h:96
static Message * New()
Produce a default-constructed message on the heap.
virtual Message * Clone()
Produce a heap copy of this message.
virtual void PrintExtra(std::ostream &stream) const
Write tr#, the word at +0x0c, song-bars , and the two words at +0x04 and +0x08 joined by - to a diag...
int mFirstBar
Definition invalidatetrackmsg.h:95
virtual int Type()
Report this message's registered identity.
InvalidateTrackMsg()
Construct a message with the payload unset.
Definition invalidatetrackmsg.h:30
int mTrack
Definition invalidatetrackmsg.h:97
InvalidateTrackMsg(int nFirstBar, int nEndBar, int nTrack)
Invalidate a range of song bars on a track.
Definition invalidatetrackmsg.h:43
virtual const char * GetName() const
Report this message's class name.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
int g_nInvalidateTrackMsgType
Identity that InvalidateTrackMsg::Type() reports.