virtual int Type()
Report this message's registered identity.
EraseMsg()
Construct a message with the position at kTickInfinity and the rest unset.
Definition erasemsg.h:44
virtual Message * Clone()
Produce a heap copy of this message.
static int sID
Identity that Type() reports.
Definition erasemsg.h:36
EraseMsg(Player *pPlayer, Sch::Tick position, int nTrack, int nDoubleTap)
Report an erase press.
Definition erasemsg.h:58
Sch::Tick mPosition
Definition erasemsg.h:116
Player * mPlayer
Definition erasemsg.h:115
int mDoubleTap
Definition erasemsg.h:118
virtual void PrintExtra(std::ostream &stream) const
Write the position and the player's colour name, separated by a space, to a diagnostic stream.
static Message * New()
Produce a default-constructed message on the heap.
virtual const char * GetName() const
Report this message's class name.
int mTrack
Definition erasemsg.h:117
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
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