34 : mResult(nResult), mName(pszName), mNote(pszNote) {
43 void *
operator new(
size_t nSize) {
44 return PoolMemAlloc(
static_cast<int>(nSize),
"RemixDownloadMsg", 0);
52 void operator delete(
void *pBlock) {
86 return "RemixDownloadMsg";
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Message * Clone() override
Produce a heap copy of this message, which points at the same texts.
Definition remixdownloadmsg.h:63
~RemixDownloadMsg() override=default
Destroy the object.
const char * GetName() const override
Report this message's class name.
Definition remixdownloadmsg.h:85
int Type() override
Report this message's registered identity.
Definition remixdownloadmsg.h:74
int GetResult() const
Definition remixdownloadmsg.h:95
RemixDownloadMsg(int nResult, const char *pszName, const char *pszNote)
Construct a message.
Definition remixdownloadmsg.h:33
const char * GetNote() const
Definition remixdownloadmsg.h:90
int g_nRemixDownloadMsgType
Identity that RemixDownloadMsg::Type() reports.
void * PoolMemAlloc(int nSize, const char *pszTag, int nAlign)
Allocate a block from the pool heaps and bill it to a tag.
void PoolMemFree(void *pBlock)
Return a block PoolMemAlloc() handed out to the pool heap that owns it.