Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
PlaybackModeMsg()
Construct a message with the position at kTickInfinity and the player unset.
Definition playbackmodemsg.h:39
static int sID
Identity that Type() reports, 105.
Definition playbackmodemsg.h:31
virtual const char * GetName() const
Report this message's class name.
virtual Message * Clone()
Produce a heap copy of this message.
PlaybackModeMsg(Player *pPlayer, Sch::Tick position)
Report a playback-mode press.
Definition playbackmodemsg.h:51
Player * mPlayer
Definition playbackmodemsg.h:92
virtual int Type()
Report this message's registered identity.
static Message * New()
Produce a default-constructed message on the heap.
Sch::Tick mPosition
Definition playbackmodemsg.h:93
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