resonance 1.0.1
Loading...
Searching...
No Matches
museplayer.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4
5class MsgSink;
6
25public:
34 void *operator new(size_t nSize);
35
43 void operator delete(void *pBlock);
44
54
62 virtual ~MusePlayer() {
63 }
64
73 virtual void Start(MsgSink *pSink) = 0;
74
81 virtual void Stop() = 0;
82
93 virtual int DisplacesSiblings() = 0;
94
95private:
96 // Serial number, taken from sMuseID. Nothing recovered so far reads it.
97 int mId; // +0x00
98};
99
108extern int sMuseID;
Receiver of engine messages.
Definition msgsink.h:37
virtual void Stop()=0
Stop playing.
virtual int DisplacesSiblings()=0
Report whether this player displaces its siblings.
MusePlayer()
Construct a player with the next serial number.
virtual ~MusePlayer()
Inline.
Definition museplayer.h:62
virtual void Start(MsgSink *pSink)=0
Begin playing, sending every message to one sink.
int sMuseID
Serial number of the most recently constructed MusePlayer.