Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Sch::Tick mPosition
Definition pitchriffmsg.h:116
static Message * New()
Produce a default-constructed message on the heap.
Player * mPlayer
Definition pitchriffmsg.h:115
int mTrack
Definition pitchriffmsg.h:117
virtual int Type()
Report this message's registered identity.
static int sID
Identity that Type() reports.
Definition pitchriffmsg.h:34
PitchRiffMsg()
Construct a message with the position at kTickInfinity and the rest unset.
Definition pitchriffmsg.h:42
int mButton
Definition pitchriffmsg.h:114
virtual Message * Clone()
Produce a heap copy of this message.
virtual const char * GetName() const
Report this message's class name.
PitchRiffMsg(int nButton, Player *pPlayer, Sch::Tick position, int nTrack)
Report the start of a riff.
Definition pitchriffmsg.h:58
virtual void PrintExtra(std::ostream &stream) const
Write the position, a space, the player's colour name, b#, and the word at +0x04 to a diagnostic str...
One participant in a session, local or remote.
Definition player.h:39
Song position in MIDI ticks, printed as measure, beat, and tick.
Definition tick.h:70